Sidescroller gravity code without pixel movement in Developer Help
|
|
I used to be able to find a side scroller library or resource that had gravity and movement that executed gravity without pixel movement and without my icon constantly staying in one state.
I don't want pixel movement because it lags, and forum_account's library on it give both pixel movement, and when I try to move my character, it doesn't include the whole animation of the running state, and if I try to change the code, it completely freezes my character.
What I have in my source is a gravity proc that basically is just a situation with it making them move up a few tiles with the step() proc and changing their dir to whatever dir they were before using client/North()
It would really help me if you guys could provide some kind of explanation to how to create the gravity proc and make the movement animation work even when I hold down the left or right buttons.
|