07-21-2010, 10:47 PM
Hey there,
I need some help with Isometric and i hope someone here can help
Here is my Problem:
I want to draw Walls in the Room.
Every tile get Calculated this way:
worldX = (isox * (tileWidth / 2)) - (isoy * (tileWidth / 2));
worldY = (isox * (tileHeight / 2)) + (isoy * (tileHeight / 2));
worldX = worldX + (tileWidth / 2);
worldY = worldY + (tileHeight / 2);
The Walls i calculate this Way:
worldX = (isox * (tileWidth / 2)) - (isoy * (tileWidth / 2));
worldY = (isox * (tileHeight / 2)) + (isoy * (tileHeight / 2));
worldX = worldX + (wallWidth / 2);
worldY = worldY - (wallHeight / 2);
Some more Informations:
tileWidth = 54 - 2;
tileHeight = 33 - 1;
wallWidth = 32 - 1;
wallHeight = Dunno atm, not @ home!
Hope someone can help me!
I need some help with Isometric and i hope someone here can help

Here is my Problem:
I want to draw Walls in the Room.
Every tile get Calculated this way:
worldX = (isox * (tileWidth / 2)) - (isoy * (tileWidth / 2));
worldY = (isox * (tileHeight / 2)) + (isoy * (tileHeight / 2));
worldX = worldX + (tileWidth / 2);
worldY = worldY + (tileHeight / 2);
The Walls i calculate this Way:
worldX = (isox * (tileWidth / 2)) - (isoy * (tileWidth / 2));
worldY = (isox * (tileHeight / 2)) + (isoy * (tileHeight / 2));
worldX = worldX + (wallWidth / 2);
worldY = worldY - (wallHeight / 2);
Some more Informations:
tileWidth = 54 - 2;
tileHeight = 33 - 1;
wallWidth = 32 - 1;
wallHeight = Dunno atm, not @ home!
Hope someone can help me!