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
57
S
25
G
39
Posts: 448
Reputation: 23,696

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
57
S
25
G
39
Posts: 448
Reputation: 23,696

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
21
S
5
G
1
Posts: 83
Reputation: 1,793

Post » Sat Dec 12, 2015 9:28 pm

@Quicksand After exporting whole game as HTML5.
Image
B
57
S
25
G
39
Posts: 448
Reputation: 23,696

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
91
S
31
G
99
Posts: 5,197
Reputation: 65,680

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
71
S
27
G
32
Posts: 477
Reputation: 19,600

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
386
S
229
G
87
Posts: 24,207
Reputation: 191,692


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 7 guests