Log In  
Log In  

@innomin

Follow
Follow

Cart [#19406#] | 2016-03-26 | No License | Embed
18

God help anyone who looks at this code...

P#19407 2016-03-25 20:04 ( Edited 2016-07-03 10:42)

 
K5
by innomin
Cart [#19392#] | 2016-03-25 | No License | Embed

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.

P#19393 2016-03-24 21:48 ( Edited 2016-03-26 06:05)

Cart [#17818#] | 2015-12-15 | No License | Embed

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)

  • more puzzle designs
  • music!
  • win condition: grow 100 plants?

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.

P#17820 2015-12-14 20:58 ( Edited 2015-12-15 01:58)

Cart [#15344#] | 2015-10-13 | No License | Embed
5

I was experimenting with compression and created a simple shape drawing library. Even with the flood fills the cpu was barely affected, so this seems like a legitimate drawing tool, and only costs 10 tokens per drawn shape! Here's the documentation if anyone looks into the code:

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!).

drawstring commands:
"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! =)

P#15345 2015-10-13 03:21 ( Edited 2016-09-17 19:32)

X
About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2018-12-14 10:00 | 0.072s | 4194k | Q:47