Micro Platformer - Simple Platforming Engine in 100 Lines of Code

That sound good!
Please show the code now :grin:

1 Like

Here is a video of scrollling two layers.

30 fps, 110x88x16 colors, buffered mode.

5 Likes

Can you share the code, please :wink:

I assume this will be obvious once we see the code, but what is “buffered mode”?

1 Like

I am going to try some more optimizations and I will release the code after that. Btw. I am using a text and font bitmaps as a “tile map” in the foreground layer :wink:

A buffered mode (the other alternative is a direct screen mode) is how majority of the drawing on Pokitto is done. The bitmaps are drawn to the screen buffer first and then the whole buffer is copied to the LCD HW ( on Update()).

2 Likes

I see a Pokitto demo scene happening…

4 Likes

25 posts were split to a new topic: Improving FPS

I decided to split some of the conversation out into another thread because it had started to deviate too much from discussing/helping the platformer engine.

3 Likes