Hey, I'm wondering how I would go about making a movement system that is tile based, but stays smooth. Similar to how the old pokemon games worked - If you held a direction, you would move in that direction at a constant speed, without any acceleration - but always stopped on a tile.
This would also have to remove the whole problem where you hold a button, it moves you for a moment, stops, then realizes you're holding it, and starts moving again.
ID:933979
![]() |
|
![]() Aug 16 2012, 10:45 am
Best response
|
|
You might want to look at glide_size and definitely increase the frame rate (world.fps). If you want to be able to use multiple keys down at a time, you'll need a movement loop that checks when a key is down. For that, you could use Forum_account's Keyboard or maybe even SuperAntx's Simple Move.
|