ok, I'll try to be more specific.
The player of the game is seen through a top-down view - the game camera is pointing down to the ground, just like in a RTS (Real Time Strategy).
I want my player (human animations) to "walk" to wherever I click in the gameworld. If I click in a point which lies along the x-axis, some steps to the right of my player, I want it to start moving in that direction (showing the animation for the player moving right), and stop on the point of which I have clicked.
If I click on a point in the landscape which lies above the player - along the y-axis - I want it to move in that direction (showning the animation for the player moving up), and stop on the point of which I have clicked.
I also want to be able to click on a point which lies between the x- and y-axis, making the player move diagonaly across the landscape.
What I'm talking about is to...
- Have the ability to move the player to wherever I want in the landscape, using the click of a mouse.
- Have eight directions of which the player can move, thus giving it eight different animations of movement.
- Have the player adjust its "movement animation" to the direction it is moving.
Hope this makes it easier to understand.