God help anyone who looks at this code...
A quick idea I had for a background effect. Honestly it's taking me longer to post this than it did to write, but maybe someone will get some use out of it. =)
Also apparently "K5" is too short for a title on this forum, and fails posting. Fun times.
For LD#34, a game using the themes "Two button controls" and "Growing", as well as the rain theme I missed here. Because why not have three themes?
The engine and gameplay is done, though the later dance moves don't unlock yet. I'm thinking they'll activate at powerup points or after you grow 20 or so plants, though that's dependent on the still unfinished level designs.
Still to do post-jam: (and hopefully in the next 2-3 days)
I'm a little disappointed that the special behaviors with planting on fires and shining sunlight to grow plants in rain and exorcise piranha plants didn't get into the jam demo, but they are coded and working well. You can debug the extra dance moves with Q for now, if you're interested.
I'm pretty happy with this project, especially how decent the pixel art I did in a couple hours looks. PICO-8 is really a good fit for gamejams.
shape(x, y, rotation, drawstring):
draws a shape on screen, starting the cursor at x,y, with rotation from 0 to 1 at the origin (cursor start pos).
drawstring: a set of commands to draw, as a string (1 token!).
"C" color - set drawing Color (for lines and fills). color is a hex value 0-F.
"T" x y - move cursor relative To current position, drawing nothing. x and y are chars from "0"-"9"-"A"-"G", which represent -8 to 8. So "T00" means "to -8, -8", and "TGG" means "to 8, 8".
"L" x y - draw Line from current position to next position. x and y are 0-9+A-G as described above.
"F" x y stopcolor - flood Fill a region with drawing color until you encounter stopcolor. This fully works with rotation by filling the next (rotated) position defined by x,y. x and y are 0-9+A-G as described above, color is a hex value 0-F.
I will probably improve this library if people are interested, but for now I thought it was a fun little idea that only took a few hours to implement. Triangles and hexagons are easy now! =)