Work in Progress

Platformer Engine

6

Benimo12 2022-01-28 21:48 (Edited)

It has been updated and now includes a collision system.
Default gravity on the 2 player sprites has been changed.
Sprite debug has been added (can be removed in source code by removing print commands)
A new sprite has been added (without collision or gravity) showcasing a slower animation than the update time (it looks like fire)

To do:
Create an interactive map
Create interactive enemies

Edit:
I’ve been tinkering around a bit and updated the collision system

Platformer Engine.nx | Open in app
2022-01-29 01:20
Platformer Engine.nx | Open in app
2022-01-28 21:48

Benimo12 2022-01-28 23:43

I used inequalities to design the new animation system. To test it, go under the TWOPTEST subprogram and under DO, type in
PRINT C
PRINT CA


SP4CEBAR 2022-01-29 00:00

Nice animations!


McPepic 2022-01-29 02:19

Movement feels really good and the animation is pretty smooth. I like how you can see the current frame in the corner. Gravity feels a little floaty though. Good job!


Benimo12 2022-01-29 07:44

@SP4CEBAR Thanks


Benimo12 2022-01-29 07:45

@McPepic Thanks as well. The floatiness is due to the default variable and update time. The Gs become faster if I play with any of the mentioned variables


Log in to reply.