Spritesheet

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
User avatar
Rasmodius
Prole
Posts: 4
Joined: Fri Jun 09, 2017 5:43 pm

Spritesheet

Post by Rasmodius »

Hello, L have a problem with spritesheets.
If I create a spritesheet and use it, I have some problems with pixels from another image in the spritesheet. The position and size are correct. I have tried to make more distance between images, but it takes no effect. For spritesheet I use Quads. Löve-version 0.10.2.
What can I do?
Thanks.
User avatar
raidho36
Party member
Posts: 2063
Joined: Mon Jun 17, 2013 12:00 pm

Re: Spritesheet

Post by raidho36 »

Sprites in a sheet need to be padded by 1 pixel from all sides, but the quad shall remain un-padded. Pixels bleed because of texture interpolation on the edge, but you can make it invisible if it bleeds into transparent color.
User avatar
Rasmodius
Prole
Posts: 4
Joined: Fri Jun 09, 2017 5:43 pm

Re: Spritesheet

Post by Rasmodius »

raidho36 wrote: Thu Jun 22, 2017 8:36 pm Sprites in a sheet need to be padded by 1 pixel from all sides, but the quad shall remain un-padded. Pixels bleed because of texture interpolation on the edge, but you can make it invisible if it bleeds into transparent color.
Thanks very much. It works =)
Post Reply

Who is online

Users browsing this forum: No registered users and 59 guests