Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

I have an animation that I have exported to gif, works perfect and all, but it is for a game and therefore I need to create a spritesheet for display. Also, I may be creating other animations for the spritesheet, the current animation is a character running maybe adding jumping, etc.

First off, is there an easy way to export an animation to a spritesheet? Secondly, what about adding other animations, I can do the cut and paste manually but is there an easier way?

share|improve this question
1  
Photoshop is scriptable using javascript, vbscript, and/or applscript, so if you are familiar with programming you might be able to put together your own. For intance: do what alan G suggests to create layers, and then iterate through the layers, copying each in turn, changing canvas size of secondary document as needed, and pasting/positioning the sprite layer. –  horatio Jul 1 '11 at 19:24
    
you also might be able to manipulate the built-in contact sheet script(s) to take a folder of images and create the sprite sheet. –  horatio Jul 1 '11 at 19:26
    
Not built-in any more, sadly. I think they disappeared in CS4. I couldn't think of anything in the Output module that would be useful for this purpose. Scripting would be the cool way to go, I'm guessing. –  Alan Gilbertson Jul 1 '11 at 22:21
    
I'll give the scripting a shot, I'm using CS3 so it should be possible? –  anothershrubery Jul 11 '11 at 13:44

2 Answers 2

Realize this post is old, but it had half of what I needed. To anyone that runs across this, another good tool is TexturePacker - http://www.codeandweb.com/texturepacker Its pretty good, lots of options.

share|improve this answer

In the animation panel flyout menu, choose the (somewhat misleading, imho) "Flatten Frames into Layers." That will give you a layer for each frame.

Export the layers using File > Scripts > Export Layers to Files.

share|improve this answer
    
It's been a while but eventually got around to looking into this. This doesn't do what I want. I already have all of the seperate frames in seperate files. I want them all in one big spritesheet file. –  anothershrubery Jul 11 '11 at 13:44
    
Ah, you want to IMport to a sprite sheet! Try this: spritetool.codeplex.com, which is free and has an entire tutorial on the subject in addition to the utility to create the sprite sheet. If that doesn't work, Google "sprite sheet creator" and pick one. There are lots out there. –  Alan Gilbertson Jul 11 '11 at 20:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.