0 favourites
  • 4 posts
  • 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

    <img src="http://www.a3.by/c2/1.png" border="0" />

    2. Leave as is, which will reduce the performance

    Sprites 128x128, spritesheet 512x512

    <img src="http://www.a3.by/c2/2.png" border="0" />

    Option that will suit me:

    Sprites 128x128, spritesheet 256x256

    <img src="http://www.a3.by/c2/3.png" border="0" />

    Can I get rid of this pixel or achieve the desired result in another way?

  • 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.

  • thx for the official explanation, but it's a pity (((

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Ugh. I hadn't realized this. I need to go resize a lot.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)