animation outline

Talk about making games.

animation outline

Postby SergeLo00001 » Mon Jul 03, 2006 8:16 pm

can someone please explain to me why sometimes when i add animation it takes out the non rectagle image from the file like i want to, and sometimes it takes the whole image :?: What is it that makes the difference :?: how do i make it so only the image gets piked out not the white behind it :?:
ie:
whole image
////////////////
////////////////
ooo///////////
oooooo///////
oooooo///////
ooo///////////
////////////////

what i want


ooo
oooooo
oooooo
ooo


you know what i mean :?:
:?
SergeLo00001
 
Posts: 46
Joined: Sun Jul 02, 2006 4:58 am
Score: 0 Give a positive score

Postby makslane » Mon Jul 03, 2006 8:25 pm

The first pixel of image must have the same color of background and will be made transparent.

Other way is use 32 bit images with transparency channel.
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby SergeLo00001 » Mon Jul 03, 2006 9:01 pm

first pixel is top left right? And it has to be the same color as the background of the whole thing? What if my background is animated between 5 colors, do i use the first color?

What is a 32 bit image? and how to make one?
SergeLo00001
 
Posts: 46
Joined: Sun Jul 02, 2006 4:58 am
Score: 0 Give a positive score

Postby Game A Gogo » Mon Jul 03, 2006 9:37 pm

do not save the format to png since you use paint.

32-bit is 24-bits and 8-bits transparent for each 16581375 color availble.
so its like having 4228250625 but 16581375 color are solid and 255 transparentcy for each.
the program i use for making 32-bits image is IconLover which can be found here.
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


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest