Sorry I am new to the unity and i got a question to you guys:)
my plan is to finish a 2D game in a weak (finished all drawing and music)
but I got a problem when I start to use unity , when I put my draws into unity scene but white line will around my images
how to fix my images ?please help me (sorry do they have tutorials teach you how to fix this on youtube?)
sorry i got very poor english don’t even know how to search those on youtube
Hi,
Maybe you should use .png instead of .gif as they’re better quality. If your images are animated I suggest export all frames as particular .png files and then put them together with Unity’s animator. (Google it).
At the bottom of the import inspector in the preview window it’ll tell you the final file size based on your import settings. It’ll also tell you what type of compression it’s using - if any.
What the issue looks like to me is an alpha channel thing. GIF images don’t have semi-transparency with alpha channel. Every pixel is either 100% transparent or 100% opaque. Right along the outer edge of that image you have pixels that are part-way transparent and when it turns them opaque, it fills in what it thinks the background is like.
PNG and PSD files do support alpha channel, so that’s why people were suggesting other file formats.
Thank you very much sir my problem is solved
I am happy that I had save all my PSD files so I don’t need do all the draw again
the problem is if I export my images to GIF and then put those images into unity then it will have white line around my image
if I just put my PSD files into unity and it look fine
thank you very much guys i may go to google and look how people edit the images now