Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.

New to the forum? Say hello in this topic! Also make sure to read the rules.

What is with this white outline?

Having trouble running SFD? This is the place to get help and report errors.
Forum rules
By using the forum you agree to the following rules. For this forum you also need to follow these additional rules.
Post Reply
User avatar
GreenyShark
Superfighter
Superfighter
Posts: 115
Joined: Mon Mar 21, 2016 1:49 am
Title: Stealing kills from range
SFD Alias: Greeny
Started SFD: PreAlpha 1.7.0
Gender:
Contact:

What is with this white outline?

Post by GreenyShark » Sun Jan 20, 2019 3:08 am

Since I've started texturing with the beta, There's been this white outline on my finished projects in the game.
0 x

User avatar
KliPeH
Moderator
Moderator
Posts: 914
Joined: Sat Mar 19, 2016 3:03 pm
Title: [happy moth noises]
SFD Account: KliPeH
Started SFD: Pre-Alpha 1.4.2
Gender:
Contact:

Post by KliPeH » Sun Jan 20, 2019 4:12 am

You forgot to remove the white background from the sprite. The default sprites may look like they have white backgrounds when you look at them with your image viewer but it's actually transparent. Make sure you manually erase the background instead of just painting it white. It should appear checkered or pink depending on the tool that you're using.

Also ensure the transparent space is actually saved as transparent and not turned white at the save conversion process (MS Paint does not have this functionality, creating sprites with the default Windows image-editing software is always going to save backgrounds as white. Find a different program to save sprites with [e.g. paint.NET] or use an online tool to remove the white background when you finish working on the sprite).
4 x
 
Image

User avatar
Gurt
Lead Programmer
Lead Programmer
Posts: 1884
Joined: Sun Feb 28, 2016 3:22 pm
Title: Lead programmer
Started SFD: Made it!
Location: Sweden
Gender:
Age: 34

Post by Gurt » Sun Jan 20, 2019 11:32 am

We transform magenta pixels (255, 0, 255) to transparent pixels automatically. So you could use MSPaint if you want.
3 x
Gurt

Post Reply