Removing only background colour
Author |
Message |
Zampano
|
Posted: Wed Nov 14, 2007 10:51 am Post subject: Removing only background colour |
|
|
Sprites and pictures seem to be coming together finally for me in Turing. There's still one problem though. I tried using Pic.SetTransparentColour with Pic.Merge, and set to white, to remove the background behind my sprite. However, another part of him was also white (Zero's saber) and that also got removed. Is there any way I can select the background but leave the part of sprite I still want? |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Mazer
|
Posted: Wed Nov 14, 2007 11:03 am Post subject: RE:Removing only background colour |
|
|
No. The idea behind colour keying is to treat EVERY pixel of the given colour as transparent.
The solution is to set the "background" to a different colour (magenta is popular) that you won't be using in the sprite and set Pic.SetTransparentColour to that. You will, of course, need to set the background colour beforehand. I'd probably do that after you finish making the sprite because staring at a screen filled with magenta would burn my eyes. |
|
|
|
|
|
Zampano
|
Posted: Wed Nov 14, 2007 1:25 pm Post subject: Re: Removing only background colour |
|
|
I see. It looks like I have lots of tedious work to do over on these sprites.
Thanks Mazer. |
|
|
|
|
|
octopi
|
Posted: Wed Nov 14, 2007 1:39 pm Post subject: Re: Removing only background colour |
|
|
If you have photoshop you can make macro's of sorts to do the same action over and over on different files.....If you've got more than 20 files, perhaps it would be something to look into? |
|
|
|
|
|
|
|