Question about Grid Walking.
Posted: Sun Aug 27, 2006 8:44 am
Hi.
How do I make it so that a character walks, say, 32 pixels only (basically, from middle of tile to middle of next tile, even if the key is depressed immediately, or pressed for a long time?
And how do I slow the speed of walking down, but still retain the same distance?
In other words, I want the character walk fairly slowly from only from the middle of one tile to the middle of the next one and only count "key pressed" when arriving in the middle of the next tile.
Much appreciated!
How do I make it so that a character walks, say, 32 pixels only (basically, from middle of tile to middle of next tile, even if the key is depressed immediately, or pressed for a long time?
And how do I slow the speed of walking down, but still retain the same distance?
In other words, I want the character walk fairly slowly from only from the middle of one tile to the middle of the next one and only count "key pressed" when arriving in the middle of the next tile.
Much appreciated!