Spritesheeting makes 1px offset between objects

Bugs will be moved here once resolved.

Post » Fri Sep 12, 2014 3:39 pm

Ashley wrote:The other solution is to overlap by 1px instead of placing exactly adjacent. I'd point out you'd have this same problem in any engine that implements spritesheeting.

Maybe there's a way to avoid the spritesheet of current object? The 1px displacement is not gonna work because i have a physics game where you got to build the level, and even if the sprites lost 1px on edge, the collision poly remains the same, and the displacement will make something like this (red lines is the collision polygon). This will make the level unplayable.
K4.png


I tried to make my puzzle-like level parts bigger (2000x2000) so they don't export to spritesheet, and then after export crop the images and compile the project, but this is not working, because that was a stupid idea i guess :lol:
You do not have the required permissions to view the files attached to this post.
B
22
S
9
G
7
Posts: 421
Reputation: 6,543

Post » Fri Sep 12, 2014 9:50 pm

Forget it, i found a workaround.
B
22
S
9
G
7
Posts: 421
Reputation: 6,543

Previous

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests