Hi all,
I have a 2D actor sprite that walks in the normal 8 directions.
Is it possible for the actor to turn correctly in relation to where the player clicked on the screen?
For example: - Actor is facing downwards, player clicks to the right and the actor turns to the right using a smooth turning animation.
Also if Actor facing downwards, player clicks UP the actor smoothly turns on the spot upwards.
Is this just a case of : -
of just adding TURN_UP,TURN_DOWN,TURN_UPRIGHT etc etc??
or am I barking up the wrong tree??