Skip to content

Latest commit

 

History

History
65 lines (46 loc) · 1.34 KB

README.md

File metadata and controls

65 lines (46 loc) · 1.34 KB

Trading Card Builder

WIP virtual trading card game builder and engine. See notes.md for ideas and ramblings of what I want this to be in the end.

TODO

  • Elixir interface to building databases
  • test for elixir interface
  • Web application using Elixir interface
  • Zig engine to render cards
  • Embed engine in Elixir service
  • Embed engine in Flutter app?
  • Tests for engine
  • Card transfering/trading
  • Card gifting
  • "special" card rendering / gif output
  • CLI applications for both Zig and Elixir interface
  • test for crypto functions

Simple Example

The "main" photo:

input photo

add an icon to overlay with a unique badge:

input photo

The background image to use:

input photo

The code that puts it all together:

local Card = {};
Card.VersionMajor = 0;
Card.VersionMinor = 1;

Card.Photo = loadImg("coneborb.png")
Card.Background = loadImg("bg.png");
Card.Icon = loadImg("icon.png");

Card.PrimaryTitle = "cone";
Card.SubTitle = "@pressy4pie";
Card.Body = [[
        1990
    Crystal White
Konig Hexagram

Continental ECS

        Teins
       150,000
]];

return Card;

And finally the card it outputs:

output.png