Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to make a map that is tiled, and I want to start the map with all grass.

I use this tile:

grass tile

When I display this tile and place another next to it I get the following result:

Map overview

How do I get it to be "flat?"

share|improve this question
These tiles are designed to overlap each other while drawing. You are going to need to do calculations to determine their draw orders, since you will want to draw the tiles in the back first. So basically, you are not drawing your sprite at the correct position to make it "Flat". If you want more help you will need to post some code. – Jon Sep 13 '13 at 11:22
@Jon: Good answer. You explained the problem source and solution. That is enough. GDSE is probably not the right place for code review. ;) – Kromster Sep 13 '13 at 11:29

It looks like you're not properly calculating the offset in the height from one tile to the next. The offset needs to be set so that two tiles next to each other form a rectangle, like this:

enter image description here

Just adjust the height offset until there is no stair-stepping like you can see along the edges in your image. For this particular tile it's 25 pixels.

share|improve this answer

It looks like the edges of the green tile are shadowed so that it looks more like a box than a flat diamond. If you can edit the tile just make the entire diamond the same color or at the very minimum make the shaded area the same color as the top.

share|improve this answer
That's not going to help the stairstepping along the edges. The tiles need to actually be drawn in the right place before you consider fudging the art. – Nathan Reed Sep 18 '13 at 23:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.