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?

  • This is very similar to this question: graphicdesign.stackexchange.com/questions/637/… – Hanna 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
  • 1
    "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.


Stripe Generator should do the trick for you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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