Is there an easy way to point to a different texture?

For my main character, I am using several animations (idle, running, etc.). I would like to point to a different texture with the same animations (plist). Basically each spritesheet (texture) will represent a different health condition. The .png will have the exact same layout.

What would be ideal is to do this:

playerSprite.Texture = ADifferentTexture;

however, to spite the setter on CCSprite.Texture, this does not work.

Best Answer

Answers

Sign In or Register to comment.