Here's a simple platformer engine
It's pixel/color based, 32x32 screen dimensions
If you want bigger dimensions, remove poke(0x5f2c,3) in the _draw() function
yea, I just figured that I'd make some platformer code and like to use the 64x64 screen dimensions, which makes it a little bit harder to use sprites for players without them being oversized, so I just used bit :)
Seems a bit buggy. You can phase through the ceiling. Also I think maybe the jump power should be a little bit less.
I didn’t really mean for it to not be buggy. All it really is is jumping and landing code for anyone who needs it
[Please log in to post a comment]