Is this sprite sheet too big?

Hello,

I have created some frames of a character running which takes up a large size of the screen. The total sprite sheet with all of the frames is 450 wide x 6000 height. I have one frame of the character standing still and 10 frames of him running. Right now the sprites are in one column on the sheet.

Thanks,

Warren

After reading I believe it is too big. If I split it up into 4 image sheets how do I animate? How can I use more than one sheet for one animation sequence that I can set and play?

Thanks!

I may actually have to swap out the images rather than use the sheet with frames because each frame is 380 x 560 and there are 10 frames. I did not see how I can use more than one sprite sheet to make one animation sequence. And by removing each image and replacing it with another this size will help save on resources with every device I am sure.

Corona supports the use of multiple image sheets for animations:

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

Thanks. I saw this but the problem is the frames I am using for running is in different sheets. And it looks like I can only set one sequence per sheet. If there was an event that fired after it went through the sequence so I could set it to use the next sequence of another sheet I would. I can’t use a timer because the timing will change as the character runs faster and slower. Is there any way to know when a sequence is done? They use listener events every where in corona except where I need it. lol

Just detect when you’ve hit the end-frame on a sheet and then switch sheets. The listener gives you all the data you need to switch sheets mid-animation.

-Ed

After reading I believe it is too big. If I split it up into 4 image sheets how do I animate? How can I use more than one sheet for one animation sequence that I can set and play?

Thanks!

I may actually have to swap out the images rather than use the sheet with frames because each frame is 380 x 560 and there are 10 frames. I did not see how I can use more than one sprite sheet to make one animation sequence. And by removing each image and replacing it with another this size will help save on resources with every device I am sure.

Corona supports the use of multiple image sheets for animations:

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

Thanks. I saw this but the problem is the frames I am using for running is in different sheets. And it looks like I can only set one sequence per sheet. If there was an event that fired after it went through the sequence so I could set it to use the next sequence of another sheet I would. I can’t use a timer because the timing will change as the character runs faster and slower. Is there any way to know when a sequence is done? They use listener events every where in corona except where I need it. lol

Just detect when you’ve hit the end-frame on a sheet and then switch sheets. The listener gives you all the data you need to switch sheets mid-animation.

-Ed