Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: DaPixelWizard on May 09, 2015, 07:37:14 PM
-
So I'm new to Unity, and the programming part to game development in general. Anyway I'm trying to make a 2d tile based game. When I first started adding tiles, I realized that there were lines appearing on sprite edges depending on where you were looking at it from. I looked into this online and found out that it could be fixed by applying a shader to the sprites. I did this and it fixed the issue. Since then though, I added a "Smooth Follow Action" fsm to the camera. I like the movement of the camera, but now the edges are back on the sprites. What do I do to fix this?
-
Its is the bitrate of your image, without alpha channel
-
Its is the bitrate of your image, without alpha channel
What?
-
You probably haven't cleared the background of your image properly, so the edges of the image isn't 100% transparent.
Open your image in your image editing program and delete the edges of your sprite-area. Also, in Unity's sprite editor -- make sure that the boundaries of your sprite doesn't touch any surrounding pixels (especially important if your image is resampled at runtime -- down from 2048 to 1024 for instance).
/Bad
-
Wher ar you seen the white Artifact around the "Cut out area / character" or around the entire sprite/square ?
-
Wher ar you seen the white Artifact around the "Cut out area / character" or around the entire sprite/square ?
The entire square. I fixed it by putting the default sprite shader on it and enabling "pixel snap" but when I use this camera following thing, it stops working.
-
Could you upload an image of your problem ?
Try to use the Sprite Editor in unity http://docs.unity3d.com/Manual/SpriteEditor.html