Archived

This topic is now archived and is closed to further replies.

Hippokrates

Geometry

Recommended Posts

At the moment I am trying to set up the geometry for a isometric tiles. I have got its map coordinates (measured in tiles) and a fix size. So if I have a tile at (10/5) how can I determine where to place it on my isometric map?

Share this post


Link to post
Share on other sites
What do you mean by ''where to place it on the map''? Do you mean where to draw it onscreen, or do you mean how to find where it would be within your map array? Or do you mean something else?

Share this post


Link to post
Share on other sites
I thought of this:

x
xxx
xxxxx
xxxxxxx
xxxxx
xxx
x

(Badly drawn )
When I have a tile with a map coordinate (10|0) where would it be place in the above "drawing" ?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
just rotate it 45 degress to the right and you will see your xy array.

heres a pic.

this:
123
456
789

rotates into this:
3
2 6
1 5 9
4 8
7

hope this helps

Share this post


Link to post
Share on other sites