Card Sprite Drawer

Cralant - Custom level - from Windows
PlayEdit8 players liked this.Log in to like this level.

Draws a card sprite of whatever card is specified in the Lua script.

Code has been explained through comments. Take a look to understand the code or to edit the displayed cards.

Two examples one with all cards in the deck, the second uses number values to determine which four cards are set, controlled by the RC. This is the version you would use for a card game.
Based off my Text processor.

zardOz if you want me to make a version of the code that best fits your current (or future) wiring and programming don't be afraid to ask.

Views: 1045 Downloads: 183 Unique objects: 5 Total objects: 11

Discuss this level

Log in to comment on this level.
  • Demon666: this is cool. you gonna make this into a card game? lol
  • Cralant: Hmm that seems like a issue with your device, maybe a dev can help you on that. I attempted editing the code on my phone and it works just as well as the pc version. I have posted a version of the code online here:

    Let me know if you need anything else Z.
  • zardOz2: Well there is a problem I have some limit on the amount of code I can view, the code works but it cuts off somewhere near the bottom of the pattern. I cant recover the code even if I delete the code above.
  • TechZ2124: Amazing !
  • Cralant: Thanks guys, wanted a higher resolution but I was limited by the amount of texels. Maybe in the future I will attempt to render the cards from different pieces within the texels. Which should allow for much higher resolution but a much more complicated code.
  • JOELwindows7: Awesome dude!
  • zardOz2: Great work C, I shall see what I can do wooth it
  • yo man: Just wow.

LEVEL ID: 3410