3D Tiles
#1 Members - Reputation: 335
Posted 09 September 2012 - 11:19 PM
Am I thinking correctly here? Is there a better way?
Lance...
#2 Members - Reputation: 231
Posted 10 September 2012 - 12:09 AM
If you want a 2D isometric game you need to draw your tiles in diamonds and just do the math to tile them and for mouse to tile picking.
http://www.gandraxa....tric_tiling.xml
Edited by menyo, 10 September 2012 - 12:09 AM.
Current Project: TechnoFlux read all about it on my
#4 Members - Reputation: 218
Posted 10 September 2012 - 02:31 AM
I suggest that you need to adopt your system to work with triangles and then build a diamond or any figure that you want.
Sorry if I misunderstood your question. With regards.
#5 Members - Reputation: 335
Posted 10 September 2012 - 02:42 AM
Sorry if I'm not right, but how you want to construct diamond with using squares? Square can give you cube or parallelepiped. In any case of building diamond you need additional triangle(s) for figure to be done.
I suggest that you need to adopt your system to work with triangles and then build a diamond or any figure that you want.
Sorry if I misunderstood your question. With regards.
My square is actually two triangles. See original post. =D
#6 Members - Reputation: 231
Posted 10 September 2012 - 02:44 AM
Since it's a flat diamond you only need 2 triangles. Take a look at the link, for a isometric view you use a rotated and vertically scaled square (a diamond). Then tile those images so they match up at the borders.
For more information you can google on isometric tiles/projection. It's really fun to make games like this though the math is a bit harder then a normal tile engine. It's also pretty hard to hide the flatness of the map. Diablo 2 did a very good job, they made the tiles at the bottom of the screen appear almost twice as large then the tiles on the top of the screen. That creates debt, i tried to mimic this effect with 2D but came to the conclusion that it was much easier to create a 3D engine for the map.
Current Project: TechnoFlux read all about it on my






