My Texture is with background when there is none. How can I solve it?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Nevisnow

I have been trying to put mt pixel art texture on the godot but the background of the texture is gray (when .png) or black (when jpeg.) but actually there is no background, how can I solve this? (I have been using Aseprite for the texture).

Have any image? I use Aseprite too, those sprites worked fine in Godot 3.4.3.
By the way, In Help -> About Godot you can see the version of godot.

ponponyaya | 2022-03-10 11:32

:bust_in_silhouette: Reply From: Gluon

Well I am sure you can add an alpha channel in those but you can use a free program called gimp if you want. If you download gimp GIMP - Downloads you can open your sprite, go to layers → transparency → add alpha channel. Then select the background of the sprite (there is a colour select tool which is probably easiest for you) and delete the background. Then just go file, export as and select png or jpeg as you prefer and you will get a sprite with no background. You will then need to add this to your godot project as normal.

I use gimp to create my sprites so i am sure this works fine.

Thanks dude, U helped a lot <3

Nevisnow | 2022-03-19 12:48