animation backrounds question

Talk about making games.

animation backrounds question

Postby Miro » Sat May 20, 2006 5:28 pm

Hi all,

I'm a newbie to game editor, or GE as you like to call it, and I have a question about making animations. How do you make the animations have a see through backround? This has probably something to do with image editing, but the problem I'm struggling with is this; when I make my own walk cycle, the backround has a colour and when I use a walk cycle from the tutorials, they have a clear backround. In Photoshop they seem to be the same, both are bmps and both have a backround.

Any help would be really cool! Help a noob, will you?

P.s. Love the program!
Miro
 
Posts: 2
Joined: Sat May 20, 2006 4:19 pm
Score: 0 Give a positive score

Postby Game A Gogo » Sat May 20, 2006 5:31 pm

im not sure if this is it, but you just have to crete a picture, put it infinite and put the z depht to the minimum.
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Postby Fuzzy » Sat May 20, 2006 9:44 pm

If an image does not contain an alpha channel when it is imported to GE, the top left most pixel color is used for transparency.

There are two ways to fix this. either add an alpha channel to your image(even if no pixels are transparent), or arrange the frames of the animation into one file like this

1 2 3 4 5 6 7 8 9

with a 1 pixel border around each frame. The border will become 100% alpha, and will be ignored when you place the tiles.
Mortal Enemy of IF....THEN(and Inspector Gadget)

Still ThreeFingerPete to tekdino
User avatar
Fuzzy
 
Posts: 1068
Joined: Thu Mar 03, 2005 9:32 am
Location: Plymostic Programmer
Score: 95 Give a positive score

Postby Miro » Sun May 21, 2006 6:25 am

Thank you!

That was very helpful and it worked like a charm.
Miro
 
Posts: 2
Joined: Sat May 20, 2006 4:19 pm
Score: 0 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron