Spritesheets

Discussion and feedback on Construct 2

Post » Mon Oct 21, 2013 4:44 pm

Hi, why there is a 1 pixel between sprites in the spritesheet?
It is not possible to make sprites in standard sizes.

There are two options that I do not like:
1. To make the sprites are not multiples of 2
Sprites 126x126, spritesheet 256x256


2. Leave as is, which will reduce the performance
Sprites 128x128, spritesheet 512x512


Option that will suit me:
Sprites 128x128, spritesheet 256x256


Can I get rid of this pixel or achieve the desired result in another way?belaaarus2013-10-21 16:45:31
B
3
Posts: 2
Reputation: 204

Post » Mon Oct 21, 2013 6:36 pm

The 1px transparent border is necessary. If we used your last example, in some cases resizing the red object will show green and blue fringes down the sides. With the transparent gap, it blends correctly at the edges.

This should not be a significant problem. Some people use power-of-two sizes for sprites out of habit - just use any size or two pixels less than power-of-two e.g. 126x126.
Scirra Founder
B
387
S
230
G
88
Posts: 24,251
Reputation: 192,454

Post » Mon Oct 21, 2013 6:51 pm

thx for the official explanation, but it's a pity (((
B
3
Posts: 2
Reputation: 204

Post » Tue Oct 22, 2013 12:51 am

Ugh. I hadn't realized this. I need to go resize a lot.
B
226
S
60
G
33
Posts: 902
Reputation: 39,989


Return to Construct 2 General

Who is online

Users browsing this forum: tarek2 and 4 guests