Page 1 of 1

Issue with textures showing long lines

Posted: Thu Mar 09, 2017 12:42 am
by Cipheroid
When the scale changes for images duplicated with sprite batches, I sometimes see lines extend through the left side of the textures.
Image
Offsetting the textures on both the X and Y axis by .1 or .01 prevented the lines from showing, but it has the possibility of creating bugs.
Would there be a different way to prevent the lines from becoming visible?
(Sorry if there is something similar to this, but I could not find anything about it.)

1 to zoom out
2 to zoom in
arrow keys to move

Re: Issue with textures showing long lines

Posted: Thu Mar 09, 2017 1:21 am
by raidho36
Standard issue when you tile sprites from sheet not designed for tiling. You need to add padding between them.

Re: Issue with textures showing long lines

Posted: Thu Mar 09, 2017 10:12 am
by Cipheroid
Thanks, that might help. :)