Original Post
Hi all, I'm building an iso tile engine similar to aoe2 and civ3... but am still soooo far away!! :) I'm using c# and xna. Anyway, I got a basic engine which loads tiles and displays them. The problem is that the tiles are not be positioned adjacent to each other. It looks like a chess board with black areas representing that no tile is being place there. This is the current drawing code: for (int x = 0; x < tileMapWidth; x++) { for (int y = 0; y < tileMapHeight; y++) { int textureIndex = map[y, x]; Texture2D texture = tileTextures[textureIndex]; batch.Draw(texture, new Rectangle(x * tileWidth - (int)camera.Position.X, y * tileHeight - (int)camera.Position.Y, tileWidth, tileHeight), Color.White); } } Any ideas, Thanks, cryo