Log In  

Cart #wodebwati-0 | 2023-03-24 | Code ▽ | Embed ▽ | No License

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

P#127546 2023-03-24 15:54 ( Edited 2023-03-24 15:56)

is that bit?

P#127999 2023-04-02 02:11

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 :)

P#128027 2023-04-02 15:49

oh well he's like your mascot

P#128033 2023-04-02 16:45

Seems a bit buggy. You can phase through the ceiling. Also I think maybe the jump power should be a little bit less.

P#128045 2023-04-02 21:20

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

P#128049 2023-04-02 23:56

[Please log in to post a comment]