This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

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).

Godot version Steam Version 2022 (sorry I dont know the version exactly)
in Engine by (16 points)

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.

1 Answer

0 votes

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 https://www.gimp.org/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.

by (3,328 points)

Thanks dude, U helped a lot <3

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.