Mobile app version of vmapp.org
Login or Join
Jennifer810

: Tiling seamless diagonal lines 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: How do

@Jennifer810

Posted in: #Effects #Patterns

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:



How do I make it seamlessly tile?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Jennifer810

2 Comments

Sorted by latest first Latest Oldest Best

 

@Cooney243

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.

10% popularity Vote Up Vote Down


 

@Connie430

Stripe Generator should do the trick for you.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme