What are those lines in the exported sprites ?

Discussion and feedback on Construct 2

Post » Sat Dec 12, 2015 2:27 pm

After exporting, some of the sprites has some lines like this:

Image

Are those inevitable ? Is it causing by my system or C2 ?

Thank you!

EDIT: I've figured out, when you don't have 1 pixel blank space on your sprite this will happen.
Last edited by bilgekaan on Sat Dec 12, 2015 9:36 pm, edited 2 times in total.
Image
B
63
S
28
G
39
Posts: 460
Reputation: 24,187

Post » Sat Dec 12, 2015 8:32 pm

I've tried on an another PC and it also happened.

Hey @Ashley do you have any idea about it ?
Image
B
63
S
28
G
39
Posts: 460
Reputation: 24,187

Post » Sat Dec 12, 2015 8:55 pm

At what point are you seeing those? You mean when you export the game or when you export individual sprites?
FREEDOM: Diegesis - Out Now for Windows! http://freedom.quicksandgames.com
B
22
S
5
G
1
Posts: 83
Reputation: 1,818

Post » Sat Dec 12, 2015 9:28 pm

@Quicksand After exporting whole game as HTML5.
Image
B
63
S
28
G
39
Posts: 460
Reputation: 24,187

Post » Sat Dec 12, 2015 9:53 pm

EDIT: I've figured out, when you don't have 1 pixel blank space on your sprite this will happen.

Sounds like texture bleeding from the exported spritesheet. It's a pretty common thing with graphics rendering on computers, and a one pixel border is usually the best solution.
B
92
S
32
G
107
Posts: 5,279
Reputation: 69,969

Post » Sat Dec 12, 2015 9:56 pm

If those are the sprite sheets on disk and *not* how they look ingame: nothing to worry about.
It's probably the result of the unpremultiplied alpha.

If it looks like that ingame: go get the holy water and the wooden sticks.
B
75
S
28
G
32
Posts: 481
Reputation: 19,713

Post » Mon Dec 14, 2015 2:10 pm

IIRC, that's because you've set "high quality" downscaling mode, and the last row of pixels needs to be extended to a power-of-two size box in order for the mipmaps used for downscaling to display with optimal quality.
Scirra Founder
B
395
S
233
G
88
Posts: 24,376
Reputation: 193,842


Return to Construct 2 General

Who is online

Users browsing this forum: Sventevith and 6 guests