|
Its something that always seems to happen in platformers I make. If the character lands on a platform that has a different y position than the platform you jumped or fell from, he stops a pixel or so above the ground, waits there a while, then hits the ground. This makes it hard to move around smoothly and is just plain annoying. Can anyone help?
Code: in the character objects step event it checks if there is floor object below it. If there is, the gravity is set to 0. Otherwise, it is set to 1.
This post has been edited by Dr. Light on Jun 13 2008, 08:01 PM
--------------------
| QUOTE | whenever i feel like clicking "reply" i stop and think to myself, "why" will it be a post to be remembered by? or will i scare off a n00b and tell him to die? |
|