How do I get smooth edges on a sprite? Options?

0 favourites
  • 13 posts
From the Asset Store
On the Edge is a puzzle game where you have 40 levels to have fun with.
  • How do I get smooth edges on a sprite? I can't make a duplicate for each image, the game will weigh a lot. But when trying to overlay a special sprite with "BlandMode - Destination out" on top of the main one, a problem appears when the sprite intersects another.

    Subscribe to Construct videos now
  • Hey, I don't fully understand the issue here? I do know that rotated sprites get jagged edges. I believe that if you add a 1 pixel transparent border the jagged edges disappear. Maybe that works in this case, if I understand the problem correctly.

  • Hard to tell anything from your video because it's max res is 480p and it's heavily compressed. Can you describe your issue in more detail or upload a better video?

  • Hard to tell anything from your video because it's max res is 480p and it's heavily compressed. Can you describe your issue in more detail or upload a better video?

    I use google translator and may not be accurately conveying the meaning.

    I need that when moving the cells of the puzzle they have smooth edges, not sharp ones. I can't have 2 types of cells (regular and with smooth edges, otherwise the game will weigh a lot, since there are 5000 cells). I tried to create a special sprite on top of the cell during selection and movement and I achieved the desired effect, BUT when the cell crosses another cell, the problem is visible, the sprites superimposed on them and attached to them have BlandMode and they shine through not only the edges of the cell to which they are attached, but and other cells. I only need smoothness on the edges of the cell, so that the corners are not sharp but smooth.

  • Maybe export 1 sprite with a sharp edge and one with a soft/blurred edge? Then choose the animation based on whether or not it's being moved. That would also save on effects processing

  • Maybe export 1 sprite with a sharp edge and one with a soft/blurred edge? Then choose the animation based on whether or not it's being moved. That would also save on effects processing

    I have many cells, for example 5000 pieces. If I make another 5,000 pieces, then the game will no longer weigh 60 megabytes, but 120. This is an example. I can't have 2 copies of each item, it doubles the size of the game.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't understand what you would need 5000 sprite tiles for. Can you provide more details on the game and the sprites are for? Would there be a more efficient way to implement that?

  • I don't understand what you would need 5000 sprite tiles for. Can you provide more details on the game and the sprites are for? Would there be a more efficient way to implement that?

    youtube.com/watch

    This is a puzzle game. The picture is cut into many pieces, there are a lot of pictures in the game, the number of pieces can be 500 and 5000. I can’t make 2 copies for each piece with different edges of the image, then the game will weigh a lot.

  • You can apply the Glow effect while moving.

    You can put a sprite on top, with blurred edges, but with transparency in the middle.

    There is no need to use the overlay mode in this case.

    =====

    Можно применить эффект Glow во время перемещения.

    Можно наложить сверху спрайт, с размытыми краями, но с прозрачностью по середине.

    Не нужно использовать режим наложения в данном случаи.

  • You can apply the Glow effect while moving.

    You can put a sprite on top, with blurred edges, but with transparency in the middle.

    There is no need to use the overlay mode in this case.

    =====

    Можно применить эффект Glow во время перемещения.

    Можно наложить сверху спрайт, с размытыми краями, но с прозрачностью по середине.

    Не нужно использовать режим наложения в данном случаи.

    could you make a c3 source file?

  • disk.yandex.ru/d/QfT6G1Hz0qpKJw

    thanks, but not very nice by my standards

  • I give you some ideas, develop them.

    The beauty of the sprite does not depend on me.

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