Headless
03-05-2005, 08:03 PM
A group of us are making a 2D game for uni coursework and i'm doing the characters for it by rendering out 3D animated characters to sprites. The programmer in our group has specified that as per usual with sprite animations in 2D games, each frame of each motion needs to be laid out within a 512 x 512 pixel texture so that the engine can read through the image from the top left corner to the bottom right, like reading a page in a book, and displaying each image as it reads them in. This is how he suggested we go about laying the frames out...
http://legion.gibbering.net/headshot/cavemen.jpg
I was wondering if people had any adivice on how to go about taking the frames I have as they are in individual files to laying the frames out into a single image like the above, but doing it in an automated way like with an action or something. I know I could do this by hand but I have tons of animations with lots of frames each and I don't have time to manually place hundreds of animation frames. Here's an example of one of my frames...
http://legion.gibbering.net/headshot/shoot0014-1.jpg
Cheers.
EDIT - An important thing I forgot to mention: Each frame file not only has the frame image but an alpha channel for transparency and both of these need traslating into the single image.
http://legion.gibbering.net/headshot/cavemen.jpg
I was wondering if people had any adivice on how to go about taking the frames I have as they are in individual files to laying the frames out into a single image like the above, but doing it in an automated way like with an action or something. I know I could do this by hand but I have tons of animations with lots of frames each and I don't have time to manually place hundreds of animation frames. Here's an example of one of my frames...
http://legion.gibbering.net/headshot/shoot0014-1.jpg
Cheers.
EDIT - An important thing I forgot to mention: Each frame file not only has the frame image but an alpha channel for transparency and both of these need traslating into the single image.
