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
Issue with textures showing long lines
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Issue with textures showing long lines
- Attachments
-
- Project.love
- (3.54 KiB) Downloaded 78 times
Re: Issue with textures showing long lines
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
Thanks, that might help.
Who is online
Users browsing this forum: Bing [Bot] and 7 guests