Issue with textures showing long lines

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Cipheroid
Prole
Posts: 9
Joined: Fri Feb 24, 2017 7:52 am

Issue with textures showing long lines

Post 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
Attachments
Project.love
(3.54 KiB) Downloaded 78 times
User avatar
raidho36
Party member
Posts: 2063
Joined: Mon Jun 17, 2013 12:00 pm

Re: Issue with textures showing long lines

Post by raidho36 »

Standard issue when you tile sprites from sheet not designed for tiling. You need to add padding between them.
Cipheroid
Prole
Posts: 9
Joined: Fri Feb 24, 2017 7:52 am

Re: Issue with textures showing long lines

Post by Cipheroid »

Thanks, that might help. :)
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 3 guests