Smooth movement (video)
Posted: Tue Dec 28, 2010 10:00 am
I toyed around with the map code somewhat and this effect is actually quite easy to achieve:
http://www.youtube.com/watch?v=7H_Q_aBSBUU
How does it looks ?
This is test stuff obviously but still it works.
The animation does not mean the game is unresponsive, you can press the next direction key while the character is moving it'll update direction correctly to produce a smooth movement.
It's not production ready yet; if people like it I'll need to make some more changes to the map code; like allowing particle effects to be ran from the map code to be associated with mapObjects (so they follow the entity correctly; but it's a change I want to do eventually anyway)
http://www.youtube.com/watch?v=7H_Q_aBSBUU
How does it looks ?
This is test stuff obviously but still it works.
The animation does not mean the game is unresponsive, you can press the next direction key while the character is moving it'll update direction correctly to produce a smooth movement.
It's not production ready yet; if people like it I'll need to make some more changes to the map code; like allowing particle effects to be ran from the map code to be associated with mapObjects (so they follow the entity correctly; but it's a change I want to do eventually anyway)