This is a playing cards library, spent quite a while on it.
It allows you to both store playing card data and render the data. Read the comments for usage.
This is my Blackjack cart. I don't plan on doing much more with it, as I've moved onto other things for the time being. If anybody wants to finish it up or post fixes, I'll update it with credit :)
This cart shows a chr function, which allows you to enter an ASCII integer code, and spits out a the correct character, in the form of a string. Example:
This code is released into the public domain.
Hey, I've completed my textbox lib. It clocks in at a harsh 1600ish tokens, but you can cut away any escape sequences to lower that substantially. I've included a lite version that clocks in around 950 tokens. Let me know if you have any questions!
*1.0 Good enough for use.
*0.4 Bug fix update. Added a bunch of tests and ironed out lots of bugs. Token use is almost hitting 2k, so next updates will focus on lowering that.
*0.2 Almost a complete rewrite since version 0.1. It now uses a very efficient 2-pass system, but the token consumption is high, I will focus on lowering that once it's bug free.
Hello. I'm working on a game and had to come up with a particle library for it. Hopefully someone else might find it useful. Let me know if you have any questions. I tried to document it as best I can! Press Z for an explosion :)
It's released into the public domain.
in the examples, I define old_position_x and y for the emitters. This is not necessary and will be updated in future versions.