[r101/102] Transparent obj Spritesheet problem

Bugs will be moved here once resolved.

Post » Wed Sep 12, 2012 2:45 pm

When a sprite with a transparent background ends up right up against a sprite that is filled up to the shared boundary on the spritesheet there sometimes ends up being an artifact on the sprite with the transparent background. This does not show up on all browsers, but is clearly visible in these images.

It's hard to create a simple case. The problem has shown up in multiple games we are working on. Since they are a client's games I can't post a link to the games on the forum, but I can PM a link if that will help.

The workaround is to insert transparent frames on the side of the sprite that is showing the artifact, but that isn't always practical.









kittiewan2012-09-12 15:08:07
B
29
S
11
G
12
Posts: 281
Reputation: 11,888

Post » Wed Sep 12, 2012 3:04 pm

Specifically which browsers does this happen on and not happen on?

Do you have a minimal test project that demonstrates the issue?

Construct 2's spritesheet exporter takes care to pad all images on the spritesheet with an extra 1px transparent border, which is never actually drawn, specifically to prevent images bleeding in to each other. So I'm not sure your spritesheet theory is correct, it might be something else.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Wed Sep 12, 2012 4:12 pm

The artifacts showed up in chrome, firefox, IE9. They did not show up in Safari or Appmobi. The problem was solved in the various games by inserting blank frames around the problem frame which lead us to believe it is a bleedover problem.

As I mentioned, I can't come up with a simple case. If we can put this on hold for a few days, I'll try to reduce one of the games down to a minimum and send it to you.

Meantime, I don't see the problem showing up in 103, so perhaps it resolved itself with your other changes/fixes.
B
29
S
11
G
12
Posts: 281
Reputation: 11,888

Post » Mon Sep 17, 2012 2:03 pm

Closing for now, please share a repro if you can make one!
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600


Return to Closed bugs

Who is online

Users browsing this forum: Kenthria and 1 guest