troubles with my character

Started by kierslowsky, Tue 18/11/2003 15:07:23

Previous topic - Next topic

kierslowsky

 :-[
This might sound very silly but, newbie as I am, I cant  manage a way to remove the backgrounf from my character. I mean, I drawed it in CorelDraw in a white paper but then when I import it to AGS my main character appears with the white square around!!.
I have checked the manual but I cant find anything related to it. I know it must be a very stupid problem, and very easy to solve since nobody else complained about it (as far as I have read the forum, at least until page 18) but please help me!!

thanks,
kierslowsky

Timosity

when importing a sprite there is a drop down menu that says transparent colour, there you can select which pixel will be transparent for the whole sprite: top left, bottom left, top right, bottom right, or palette index 0

they refer to the colour of the pixel in that position, if you don't want any transparency you can select palette index 0

Hope that solves your problem

~Tim

kierslowsky

Hi Tim.
I will try later when I go back home from job. Dont know if it will work or not but thnks anyway for the quick response!!!

kierslowsky

scotch

It probably would have done it automatically if you had it on a pure whiet background, the problem may be that scanning it from paper you've just got a whitte paper background that isn't all of one colour, you'd have to make sure that character is on a pure colour background and not just one that looks the same colour to a human.
One way might be to use a fill tool to fill it with a colour, with a tolerance setting of 50 or so, to make sure it fills all the off white bits.

kierslowsky

YEAH, I think thats is the exact problem. Since I didnt scan it (I took a digital pic), the background of the character is not pure white. But I tried to solve this with CorelDraw and its a very difficult program for a newbie!! ha ha, I dont know exactly how to do it

thanks anyway!!!

Joelman

I think I know what your problem is. I'm assuming you used Corel Draw's Export function, the friendly folks at Corel could have made our lives a lot easier by adding the same transparent background checkbox they gave us for bitmap conversions, unfortunately we'll have to do it the hard way.
First of all make sure that when you export your image, you set Anti-Aliasing to none (don't want any funny glowing edges, or do you? could be cool depending how you use it...)
open Corel Photopaint, and load your image, set mask type for additive, and magic wand mask the white area behind your char, and also mask any under arm areas, etc.
Invert the mask Mask>Invert, we want the guy (or girl) selected, not the white.
Save the image as a filetype capable of keeping the masking, like a gif or something, or fill the white area with that bright pink they use for masking the sample char.
lemme know if that works for ya.
Joelman

kierslowsky

thanks Joelman, Scotch and Timosity for the help!!!.
Finally what I did is painting the whole background in black, pixel by pixel (about 1 hour) and set the transparent pixel (a black pixel, of course). And now my ninja looks really cool!!!!!!!!! :D

kierslowsky

Joelman

Are clones people two?

kierslowsky

yeah, I tought it might be cool to use a ninja in an adventure, not in an action game, although I want it to have little action elements and superb animations (if I can lol).

kierslowsky

Joelman

thats awesome dude, original too, follow up on that one.
Are clones people two?

SMF spam blocked by CleanTalk