Tuto tiny-ecs 2d platformer Part 11 Systems 3

From GiderosMobile
Revision as of 15:26, 8 November 2025 by MoKaLux (talk | contribs) (wip)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The Systems 3

A couple more systems to add and we are done. We also add the Debug Systems to help us visualize all the boxes (hitbox, hurtbox, collsion box, ...).

sCollision.lua

The cBump physics engine is a Gideros plugin. I cannot explain in details how it works but I will do my best!

Please create a file "sCollision.lua" in the "_S" folder and the code:

Next?

That was a big one but it needed to be done. The last systems we will add are for the collectibles, doors, moving platforms and a couple more 😉. Don't worry they should be pretty short!


Prev.: Tuto tiny-ecs 2d platformer Part 10 Collision System
Next: Tuto tiny-ecs 2d platformer Part 12 XXX


Tutorial - tiny-ecs 2d platformer