You can Change the image of the sprite very easily. Let your Sprite be "sprite" and image be "myImage.png". I am using Cocos2D Version 0.99.0.
[sprite setTexture:[[CCTextureCache sharedTextureCache]It worked for me.
addImage:@"myImage.png"]];
No comments:
Post a Comment