Spritesheet - best approach

Just a quick question,

Is the best solution to put all my "character" animations in one sheet instead of several sheets?

or doesn't it matter?

Kind regards, Joakim

I'm sure there are different opinion regarding this -- but I use Spriteloq, and initially, I tried putting everything in one-sheet (because Spriteloq makes it so easy to pack and export several SWF files into single sprite sheet -- and it's also so easy to play the segment I want).

But after a while, I changed how I make sprite sheet. Instead of putting lots of animation into one sheet, I intentionally create single spritesheet per animation. It's because I iterate/revise/change animation too often to make it worth my time to update the sprite sheet every time I update a small segment. I find it quicker to update/pack/export one animation, rather than updating one animation and packing/exporting several animations each time.

If you already have the final set, and you don't need to update any particular part of it, or if you hardly ever make changes to animations, maybe it's fine to put them all in one sheet (especially if they all fit in one sheet).

Yes, I agree on that and it is much easier to handle all spritesheets differently. Breaking down code and graphics is always nice and I like to keep everything in a nice order.

Subquestion, is there any performance issues involved with different spritesheets? I guess not, but I am a new beginner with Corona so I don't know :)

Regards, Joakim

I'd like to know the answer to your subquestion too. I'm guessing, it's probably a little more texture-memory-efficient to place all animating sequences in one sheet, but I don't know if it makes any difference in performance between pulling instances of SpriteGroup from different sheets vs pulling instances from a single sheet.

Does anyone know?

views:2338 update:2011/10/4 8:06:35
corona forums © 2003-2011