How to check a player’s bottom was collided a platform?
How to check a player's bottom was collided a platform?
TTL_Anderson
(TaylorAnderson)
#4
Something that kinda messed me up a lot when I first started using Flashpunk was that if you just check for ground collisions with collide(“level”, x, y) the collision doesnt fire all the time, which can mess up other code for jumping and stuff like that, so its always a good idea to use collide(“level”, x, y+1) if you wanna check for whether or not your player is on the ground.