Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. 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'm working on a tile-based game, and I'd like to have diagonal lines for (32x32) tiles. The problem is, whenever you tile them, they look like this:

enter image description here

How do I make it seamlessly tile?

share|improve this question
This is very similar to this question:… – Johannes Nov 8 '11 at 6:54
Seemingly so, but I have a different question and that, unfortunately, had no usable solution. – mpnk121 Nov 8 '11 at 7:10
"How" depends entirely on what tool(s) you're using. Since you don't say, the question as written doesn't contain enough information for anyone to answer. – Alan Gilbertson Nov 8 '11 at 8:26

If your lines should perfectly align to pixels, then you must choose a spacing that's a divisor of 32.

This leaves you with line-spacings of 2, 4, 8 and 16. And since 1 pixel is occupied by the line itself, your possible "blank" lines between your lines are 1, 3, 7 and 15.

share|improve this answer

Stripe Generator should do the trick for you.

share|improve this answer
This was the answer that I provided on this question:… which mpnk121 stated is not what he's looking for. – Johannes Nov 8 '11 at 18:19
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. – Scott Sep 14 '12 at 23:56

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.