Issue with textures showing long lines
Posted: Thu Mar 09, 2017 12:42 am
When the scale changes for images duplicated with sprite batches, I sometimes see lines extend through the left side of the textures.
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
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