PNG ANIMATION

Talk about making games.

PNG ANIMATION

Postby ors111 » Thu May 11, 2006 5:29 pm

Hi
In one of the tutorials, I saw that a single png file consists of several frames and the GE can replay it as an animation. How is it done ? Because when I try the PNG24 in other programs, they always output the frames as single files with sequential numbering fashion..
ors111
 
Posts: 6
Joined: Thu Apr 13, 2006 10:37 pm
Score: 0 Give a positive score

Postby Game A Gogo » Thu May 11, 2006 9:47 pm

its has to be seperate or a single file(s), make that all the files or the frame are the exact same size.
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 ors111 » Fri May 12, 2006 5:25 am

but how can I produce just one single PNG24 file including all the frames ? I don't want to have 100 small files moving around..

Game a Gogo wrote:its has to be seperate or a single file(s), make that all the files or the frame are the exact same size.
ors111
 
Posts: 6
Joined: Thu Apr 13, 2006 10:37 pm
Score: 0 Give a positive score

Postby DilloDude » Fri May 12, 2006 8:07 am

If you have a graphpic with each frame in it, going from left to right and top to bottom, when you add an animation, set the horizontal frames and vertical frames to match. That way you need only one file, and can have a lot of frames. See the built-in demos for examples (Game Editor/Tutorials/data).
Image
User avatar
DilloDude
 
Posts: 866
Joined: Tue Jan 24, 2006 9:51 am
Location: Nyerellion
Score: 58 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest