This topic is now archived and is closed to further replies.


Direction selection

Recommended Posts

My game takes place in 2D with 8 directions. The characters select their direction based on either player keypresses or the difference between the current and the destination coordinates. There are no obstacles on the playfield to interfere with the character''s movement. Can anyone give me a few tips as to how I could optimise these selections?

Share this post

Link to post
Share on other sites