Iso to Map coordinates

Started by
0 comments, last by Christiaan 23 years, 11 months ago
hiya, does anyone know a function/a way to convert iso-coordinates to map coordinates? any help would be greatly appreciated. chris
Advertisement
use the equation of a line and solve for the Y intercept.

y=mx+b

where b is the y intercept. X and Y are your world offsets. You then divide the intercept by your tile height. Do this for the opposite slopes (2 equations) if your so tile ratio is 2:1 (ie 64x32) wala! you have a map coordinate (x,y)

Trajar

This topic is closed to new replies.

Advertisement