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 am trying to create png files using Microsoft paint and import them into my godot project, however every time I do it loads the image with a white rectangle around it. I don't know what I am doing wrong but it seems like there should be an easy fix.

in Engine by (12 points)

Maybe post a screenshot so we can see what went wrong.

https://ibb.co/HVXCsWR

Here's an image of the problem

3 Answers

0 votes

The white rectangle supposed to be the transparency color, but I think on paint doesn't work. Try to use another program, like Aseprite, GraphicsGale, etc.

by (177 points)
0 votes

Looks like Microsoft Paint did not produce a transparent image. It makes sense though, by default it's a white canvas (hence the white you see in Godot). You may want to erase all background if you want it to be transparent. I don't know how it's done (I don't use ms paint) but looks like there are ways https://www.wikihow.tech/Make-a-Background-Transparent-in-Paint

You could also try other programs such as Paint.NET, Gimp, Aseprite or Piskel.

by (29,510 points)
0 votes

if you are making pixel art assets for your game you should use aseprite as its great for it and it prevents the white color around your image .you can getfreee version of this program by searching on chrome

by (22 points)
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.