Please help me with this one. When the player jumps diagonaly, it’s sprite flickers. How can i fix this?
test.swf (104.3 KB)
Here’s the source.
Player.as (2.2 KB)
Please help me with this one. When the player jumps diagonaly, it’s sprite flickers. How can i fix this?
test.swf (104.3 KB)
Here’s the source.
Player.as (2.2 KB)
It’s not flickering, it’s stuttering. Looks like you might be having the same problem as in this thread:
This also happens to me with a single graphic. As i understand, i must round the x, y vars before procceed to movement.
It’s not necessarily about having multiple graphics. When you use variable framerate each movement is really small, so you need to keep track of the leftovers between frames.