Jump to content

Combining Spritesheets


Secretmapper
 Share

Recommended Posts

Hi guys. This is more of a workflow question, but what the heck.

 

Anyway, I came from flash. Who didn't?

 

I'm on CS6 so I can export spritesheets for my assets.

 

So I have all this .fla files. There are a lot of them. If I one by one export spritesheets, how would I go about combining them?

 

And if you have general workflow tips, that would be great!

 

Thanks.

Link to comment
Share on other sites

In CS6 you can select multiple clips in the library and generate sprite sheets from them, so it will pack them all into one sheet. Just be careful how large this gets, make the texture too big and it won't load on mobile browsers.

 

Aside from this there's no easy way to combine them because you need to retain all of the frame coordinates, and the second you stitch two sheets together you lose that.

Link to comment
Share on other sites

In CS6 you can select multiple clips in the library and generate sprite sheets from them, so it will pack them all into one sheet. Just be careful how large this gets, make the texture too big and it won't load on mobile browsers.

 

Aside from this there's no easy way to combine them because you need to retain all of the frame coordinates, and the second you stitch two sheets together you lose that.

 

Well Shucks. The problem is that I have different .flas, so they're not from the same library and export to different spritesheets. Putting them to one fla isn't really an option :(

 

I guess it is possible with some tool, its two spritesheets with two different data, so if I just move the coordinates relative to their new points, I should be able to get them. I guess I can try coding something like that :)

Link to comment
Share on other sites

It's certainly possible, but I'm pretty sure you'll have to write a tool/script to do it yourself (I've never seen one)

 

I guess just weigh up the time difference between doing that + bug testing and being certain it's perfect vs. creating a new FLA and copying some clips over.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...