Im trying to migrate from 0.8.2 to 0.99, i think all its done but the CCAnimation migration.
I have a singleton class that keeps some CCAnimations that can be shared with diferents CCSpriteSheets, for example, i have 3 CCSpriteSheets, with diferent textures but same number of frames, and same size, i usually create a CCAction with the animation of that CCSprites, something like this:
[code]
static CCAnimation *aniZ1Morir;
static CCAction *accZ1Morir;
aniZ1Morir = [[CCAnimation animationWithName:@"aniZ1Morir" delay:0.1f] retain];
for(int i=0;i<9;i++) {
[aniZ1Morir addFrameWithRect: CGRectMake(i*64, 0, 64, 128) ];
}
accZ1Morir = [[Animate actionWithAnimation:aniZ1Morir restoreOriginalFrame:NO] retain];
[/code]
Then when any of the CCSprites that use any of the 3 CCSpriteSheets, need to use the animate, i just run a copy of that "accZ1Morir" CCAction, and of course its compatible.
But now, with the new CCAnimation, i must pass a Texture2D when creating the frames, theres any way to dont need that texture? so i can continue use that singleton class?
This its only an example, but i have more than 50 similar actions, used with arround 100 diferent animations, so migrating can be a really time consuming task if i need to change them all