change sprite image cocos2d

Posted by iPhone Fun on Stack Overflow See other posts from Stack Overflow or by iPhone Fun
Published on 2010-05-25T09:47:21Z Indexed on 2010/05/25 9:51 UTC
Read the original article Hit count: 215

hi friends,

I want to change the sprite image while my application is running.

I've taken 5 different sprite objects with different images.

but when I use [self removeChild:Name of sprite cleanup:YES]; It is not removing the sprite. So is there any other way to perform such task??

Any help??

Thanks in advance.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c