tutorial-platformer
tutorial-platformer copied to clipboard
a platformer step by step tutorial for melonJS
While doing the platformer tutorial I discovered that the collision shape was aligning itself with the left edge of the renderable shape, instead of centered. The tutorial implies that centering...
@see https://github.com/melonjs/melonJS/issues/916
see https://github.com/melonjs/melonJS/issues/755
There are a few areas for improvement with the handling of "platform"s in the tutorial: 1. "down" is never bound game.js in the tutorial, so the fall-through logic doesn't work....
as described in #20
Jumping on the enemy hurts the player, not the enemy. It seems the code assumes that on a collision, `response.a` will be the player and `response.b` will be the enemy....