Defold platformer engine
FIX: Ignore high delta-times (for instance when moving the window and the engine doesn't get any updates). Thanks @paweljarosz!
NEW: Added instance.set_collisions(collisions)
. Thanks @jeangit !
FIX: Tweaked the ground collision check somewhat to work better with the diagonal raycasts
FIX: Improved jumps through one-way platforms. No more snapping to the ground when passing through! FIX: Avoid incorrect detection of ground contact when jumping next to a wall and passing above the edge of the wall.
FIX: Better handling of collisions with edges and moving platforms
FIX: Wall slide gravity was not cleared when wall slide was aborted (#22) FIX: Collision detection up and up-left/right was not always detected and handled properly (#23)
FIX: Clearing parent when jumping CHANGE: Improved slope handling. Movement is now set horizontally and vertically based on slope incline and if going up or down slope FIX: Reset vertical velocity when landing and no longer incrementing vertical velocity by gravity while having ground contact
NEW: Added config option reparent
(defaults to true) which can be used to disable reparenting when having ground contact.
BREAKING CHANGE: Platypus now only supports raycast collision detection and resolution. You need to make sure to set up your collision table appropriately.
FIX: Don't stop a jump through a one way platform when coming out of the platform