Hello
Was wondering if it is possible to import a sprite in a format that supports transparency (such as PNG and GIF) while keeping the anti aliasing of edges like in JPGs.
So far, if I want my sprites to have a nice smooth edge, I import as a JPG and manually clean them up in Scratch.
If I import as a PNG or GIF, any smooth edges or half transparent colors are abruptly cut off, leaving a jagged cookie-cutter edge.
Was just wondering if there was another way.
-Tommy
Offline
tchan5158 wrote:
Hello
![]()
Was wondering if it is possible to import a sprite in a format that supports transparency (such as PNG and GIF) while keeping the anti aliasing of edges like in JPGs.
So far, if I want my sprites to have a nice smooth edge, I import as a JPG and manually clean them up in Scratch.
If I import as a PNG or GIF, any smooth edges or half transparent colors are abruptly cut off, leaving a jagged cookie-cutter edge.![]()
Was just wondering if there was another way.![]()
-Tommy
Hey tchan5158, unfortunately Scratch at this point doesn't support semi-transparency and keeps the jagged edges for PNG and GIF files.
There really isn't much of a workaround with the edges issue. Edges do appear smoother online, but, if we're just talking about running projects offline, unfortunately there isn't much that can be done to retain the smooth edges of GIF or PNG images.
A workaround for semi transparency is to create a secondary sprite for the semi-transparent section and then use the ghost effect (found under the Looks section in Scratch [aka, one of the purple blocks]) to create the desired effect.
I hope this helps out in some way. Maybe more Scratchers here with experience with Scratch graphics have better alternative solutions.
Offline
Hey tchan5158, unfortunately Scratch at this point doesn't support semi-transparency and keeps the jagged edges for PNG and GIF files.
There really isn't much of a workaround with the edges issue. Edges do appear smoother online, but, if we're just talking about running projects offline, unfortunately there isn't much that can be done to retain the smooth edges of GIF or PNG images.![]()
A workaround for semi transparency is to create a secondary sprite for the semi-transparent section and then use the ghost effect (found under the Looks section in Scratch [aka, one of the purple blocks]) to create the desired effect.![]()
I hope this helps out in some way. Maybe more Scratchers here with experience with Scratch graphics have better alternative solutions.![]()
Thx Hm...that would probably slow down my computer if i double on the sprites just to make things look smooth
I'll just keep manually cleaning up the jpgs then. ;_;
-Tommy
Offline