change sprite image cocos2d when collision between sprite and player occures.
- by iPhone Fun
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.