Create an animation that would need multiple spritesheets.

Hi,

I made an animation but the images are fullscreen so texturepacker decided that I need 9 imagesheets to create this animation.

Is there an alternative way to play this animation?

i thought about just adding them to a table and go visible invisible with a timer.performwithdelay.

Or can I make sprites directly from the loose files?

I used to do this with imagesheets, but those animations fitted on a single imagesheet.

Thanks

Does anything else need to be on screen during this animation?

My first thought is that you could make a video out of the images and then play the video?

I guess the question is what you are looking to achieve here

You still need to be able to hit the home button.

I personally don’t like the way corona handles video. Playing it as a separate layer. I know it is the way corona deals with open gl or something. It is just not what I want in this video.

Also Compression artifacts pop up in video when used with my type of animations. When using png’s it all looks a lot tighter.

It might be the only way though.

Will see if some others have an idea.

I once tried this library: http://igaret.com/code/movieclip-library-for-retina-displays-corona-sdk

It was over a year ago but it worked OK. Might be a good fit for this task? Probably not graphics 2.0 compatible.

Can an animation span multiple image sheets? I trimmed down the animation to only the moving bits. So it now fits on 2 sheets. But I still need it to span the two files.

I haven’t tried this yet but according to the documentation you can span multiple image sheets:

http://docs.coronalabs.com/api/library/display/newSprite.html#multiple-image-sheets

If that doesn’t work you could try making a sprite for each image sheet and listen for the “ended” event on the first sprite to play() the second sprite.

Yeah I saw that, but that is if you have two different animations on different sheets that you want to swap in the same sprite…

Am trying to the second method. But now I am finding out texture packers spread the animation over the two sheets non sequentially. So some of the beginning is on sheet1 and on sheet 2.

Such fun. pffffffff

Instead of letting TP split your whole animation, try putting your first and second halfs of your sequence in separate folders then make the sheets one at a time.

Ended up stringing the whole animation together by using the ended option.

And cutting out all the parts that did not move to minimize the size of the frames so I could get it on fewer sheets.

Then building everything up again in Corona and placing the moving bits on the correct spot.

Does anything else need to be on screen during this animation?

My first thought is that you could make a video out of the images and then play the video?

I guess the question is what you are looking to achieve here

You still need to be able to hit the home button.

I personally don’t like the way corona handles video. Playing it as a separate layer. I know it is the way corona deals with open gl or something. It is just not what I want in this video.

Also Compression artifacts pop up in video when used with my type of animations. When using png’s it all looks a lot tighter.

It might be the only way though.

Will see if some others have an idea.

I once tried this library: http://igaret.com/code/movieclip-library-for-retina-displays-corona-sdk

It was over a year ago but it worked OK. Might be a good fit for this task? Probably not graphics 2.0 compatible.

Can an animation span multiple image sheets? I trimmed down the animation to only the moving bits. So it now fits on 2 sheets. But I still need it to span the two files.

I haven’t tried this yet but according to the documentation you can span multiple image sheets:

http://docs.coronalabs.com/api/library/display/newSprite.html#multiple-image-sheets

If that doesn’t work you could try making a sprite for each image sheet and listen for the “ended” event on the first sprite to play() the second sprite.

Yeah I saw that, but that is if you have two different animations on different sheets that you want to swap in the same sprite…

Am trying to the second method. But now I am finding out texture packers spread the animation over the two sheets non sequentially. So some of the beginning is on sheet1 and on sheet 2.

Such fun. pffffffff

Instead of letting TP split your whole animation, try putting your first and second halfs of your sequence in separate folders then make the sheets one at a time.

Ended up stringing the whole animation together by using the ended option.

And cutting out all the parts that did not move to minimize the size of the frames so I could get it on fewer sheets.

Then building everything up again in Corona and placing the moving bits on the correct spot.