![]() |
|
Image Squence - Printable Version +- iDevGames Forums (http://www.idevgames.com/forums) +-- Forum: Development Zone (/forum-3.html) +--- Forum: Designer's Studio (/forum-6.html) +--- Thread: Image Squence (/thread-6062.html) |
Image Squence - Durandle - Nov 29, 2004 07:37 PM Ok, I am using SDL do make a small basic game - I am loading PNG images to create animations - each PNG has a sequence of images that are displayed one by one. However, at the moment, to create the PNG with all the frames in I have to maually copy and paste each frame one by one, position it in Photoshop and save the whole lot out. This can take a VERY long time when I start getting over 50 frames. Are there any ways/programs that can do this for me - while also maintaining the PNG file format [as they have alpha backgrounds]? Or I can make one my self if there is a way to to save a PNG in C++ using an SDL surface as a source... but I know not how
Image Squence - skyhawk - Nov 29, 2004 07:40 PM can't you use a batch script in photoshop? Image Squence - Carlos Camacho - Nov 29, 2004 08:04 PM You can also batch file in Graphic Converter. Image Squence - Durandle - Nov 30, 2004 05:46 AM So the batch process can combine 50 existing PNG files into one big PNG file with each image next to the other? Because I can't see that my self... Image Squence - NCarter - Nov 30, 2004 06:38 AM If you have Photoshop CS (or possibly version 7), this script I wrote may be of some interest to you. It takes the layers of a Photoshop file and arranges them in a grid for use as sprites. That's not precisely what you're trying to do, of course, but you might be able to modify it to do what you want. Image Squence - Durandle - Nov 30, 2004 10:02 AM Photoshop complains that it can't find the JavaScripting Plugin when I try and use it [or in fact any script]. CS is installed fully and the plugin seems to be there so no idea whats up... Image Squence - skyhawk - Nov 30, 2004 11:32 AM can you revert back to photoshop 7? Image Squence - Durandle - Nov 30, 2004 02:35 PM Not really, using University machines. However I got it working on a PC version of CS... not best choice but hey. I also had to edit the code as the image width was being picked up as 4px when it was 150px - so I just changed it to 150 until I can work it out. But thanks its so much quicker using it than doing it manually
|