Drawing Isometric Tilemaps
问题 I've been working on drawing an isometric map with C# / XNA Game Studio, and while I've gotten pretty far it doesn't look quite right and I was wondering if anybody can help. Here's the code I have for drawing the map: public void Draw(SpriteBatch theBatch, int drawX, int drawY) { if ((drawY % 2 == 0)) theBatch.Draw(tileTexture, new Rectangle((drawX * width), (drawY * length / 2), width, length), Color.White); else theBatch.Draw(tileTexture, new Rectangle(((drawX * width) + (width / 2)),