Jump to content
  • Advertisement
Sign in to follow this  
RiZeUp

Exporting PSD to sprite sheets

This topic is 2993 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I've been using photoshop scripts to convert my photoshop animation files into sprite sheets. Some of the features I needed like duration of frame and loop settings were not accessible so I decided I would convert my script into a plug-in. From what I can gather, plug-ins have even more limitations(can't open psd files amongst other stuff)

So now I'm looking at using a lib. I tried ImageMagick but so far I'm pretty unsuccessful. And haven't had much help from their forums.

I was wondering if anyone had experience with this and could direct me on a good path.

This is the structure of my data.

PSD file = One Animation
-Layer called "pivot" is the pivot point of my sprite
-folder called "animation" has multiple layers that are either hidden of visible depending on where we are on the timeline.

My script opens all the PSD files in a certain folder. Takes every frame of the animations and puts them into a sprite sheet. Generates an xml file that my game engine can use for the animation data.

I would greatly appreciate any help! I've spent countless hours on this issue and I'm pretty much back to square 1.
Thanks!

Share this post


Link to post
Share on other sites
Advertisement
FreeImage will open PSD files, although I haven't tried it. It has calls for dealing with what it refers to as "multipage" bitmaps which I would imagine is how it handles layers.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!