For the movement - imagine a circle, and in the centre of that circle is the main character standing still. It also needs to be from a diablo style view (God view, and a bit to the right).

Below are the range of values in degrees that if the mouse was clicked between, would goto the corresponding movie clip of the way that the character is walking:

  • Up = 337.5 to 22.5
  • Up-right = 22.5 to 67.5
  • Right = 67.5 to 112.5
  • Down-right = 112.5 to 157.5
  • Down = 157.5 to 202.5
  • Down-left = 202.5 to 247.5
  • Left = 247.5 to 292.5
  • Up-left = 292.5 to 337.5

I hope you understand what I mean here...if not then I have really confused you and I am sorry if I have! See picture attached to give you a clearer view of what I mean...

So if any one know how to go about this problem, then please reply.



P.S. If you say that I should have posted this in the actionscripting forum, or games, etc... then you are wrong 'cos I have posted this there aswell!