Hi!

I have a star ship with 24 images, every image has a rotation degree.

So I need to know:

Starship is located x1,x2.

Player (the starship should 'look' at the player) is x2,y2.

How do I order the images?
Perhaps imageindex 0 is to top, then 1 the next to top right and then clockwise arranging?

How do I get the imageindex so it 'looks' at x2,y2?
Understandable?

Thanks,
Firle