PDA

Click to See Complete Forum and Search --> : isometric rotation



JanIngels
05-13-2002, 08:38 AM
Hi

I need to do an isometric based game. Can anyone help me with the maths for calculating rotation on an isometric plane, movement in any direction along the plane and calculating the point on a circle in an isometric plane?

Thanks

J.

tonypa
05-16-2002, 10:14 AM
Basically, I think, you can do all the calculations in 2D (top-down view) and then just convert the coordinates into ISO:

isox = x_in2d-y_in2d;
isoy = (x_in2d+y_in2d)/2;

http://www.hot.ee/tonypa/flash/flas/isocoordinates.html
Click in the movie and move blue square with arrow keys.
fla:
http://www.hot.ee/tonypa/flash/flas/isocoordinates.fla



My ISO game example:
http://www.hot.ee/tonypa/flash/iso/iso.html