Users browsing this thread: 3 Guest(s)
Puggsoy's Bunch of Applications
#12
(10-24-2012, 10:57 AM)Mighty Jetaku Wrote: puggsoy what happened when you recolored that sprite? His hair blends in with the white background so wouldn't the background get recolored with the sprite? How does that work?


Well, what it does is it ignores the background colour completely during the palettifying process. That's why you have background colours at all, so that the program knows that it isn't part of the sprite (which is used both while palettifying and when detecting the sprite's boundaries). So if the sprite happens to contain the background colour (which is unlikely), it'll just ignore it.

But yeah, as Previous said in this example Rayman's hair isn't the same white as the background. And I didn't actually recolour it anyway, it was just an example for the selection (the sheet doesn't even contain alternative palettes).

By the way, since HandToeKnee mentioned transparency, I actually realised that I hadn't tested it with transparent backgrounds yet. I gave a go right now and it works fine, but the background selection boxes display black. It does know that the background is transparent though, it selects sprites correctly. I can't be bothered to update it again right now since it's not that important but I'll make transparency display as a checkerboard in future versions.
You may have a fresh start any moment you choose, for this thing that we call "failure" is not the falling down, but the staying down. -Mary Pickford
Thanked by: HandToeKnee, Garamonde


Messages In This Thread
Puggsoy's Bunch of Applications - by puggsoy - 10-18-2012, 06:00 AM
RE: Puggsoy's Bunch of Applications - by Mag - 10-18-2012, 06:46 AM
RE: Puggsoy's Bunch of Applications - by Phaze - 10-18-2012, 09:04 AM
RE: Puggsoy's Bunch of Applications - by Shade - 10-18-2012, 09:10 PM
RE: Puggsoy's Bunch of Applications - by puggsoy - 10-24-2012, 10:53 AM
RE: Puggsoy's Bunch of Applications - by puggsoy - 10-24-2012, 12:10 PM
RE: Puggsoy's Bunch of Applications - by Previous - 10-24-2012, 11:28 AM
RE: Puggsoy's Bunch of Applications - by puggsoy - 01-23-2013, 03:14 PM
RE: Puggsoy's Bunch of Applications - by puggsoy - 03-30-2013, 01:33 PM
RE: Puggsoy's Bunch of Applications - by puggsoy - 04-18-2013, 11:47 AM
RE: Puggsoy's Bunch of Applications - by jad4321 - 04-21-2013, 12:21 PM
RE: Puggsoy's Bunch of Applications - by puggsoy - 07-14-2013, 02:25 AM
RE: Puggsoy's Bunch of Applications - by puggsoy - 12-11-2013, 05:47 AM

Forum Jump: