Pink background around character in game

Started by dbuske, Thu 11/11/2010 20:01:11

Previous topic - Next topic

dbuske

After I edited the character sprite to make it taller, when I run the game, the pink shows around the character in game.
How do I get rid of the pink?
What if your blessings come through raindrops
What if your healing comes through tears...

barefoot

Hi

you need to check around your sprite(s) in a paint program to make sure everything that should be transparent is!

ie: if red is transparent colour then make sure everything you dont want to see is actually red... or whatever colour you have selected as transparent otherwise all the other colours will show... and check that you DO NOT use 'leave as it is' when you import..

this often happens...

barefoot
I May Not Be Perfect but I Have A Big Heart ..

tzachs

If you use alpha in your image (and if you scaled it you probably do), and your game is not in 32 bit mode (you can see it in the general settings pane), then you will see pink because alpha is only supported in 32 bit mode.

Ryan Timothy B

Quote from: dbuske on Thu 11/11/2010 20:01:11
After I edited the character sprite to make it taller, when I run the game, the pink shows around the character in game.
How do I get rid of the pink?
If you've resized the sprite with Bilinear or Bicubic filter, it will create a pinkish haze around the character. This is what I'm guessing you did.

If your sprites aren't alpha transparent, using the alpha transparency instead of Pink, the only resize that is friendly is Nearest Neighbor resizing. Otherwise you'll have a pink haze. The pink color must be EXACTLY 255, 0, 255. If it's one off, you'll see pink in game.

SMF spam blocked by CleanTalk