Skip to content

Category Archives: Cocos2d-iPhone

Cocos2d Tip #1: Changing a Sprite’s Image Simply

I’m writing an iPhone game using the Cocos2d-iPhone framework. It’s been smooth sailing except for one little detail: I want a sprite to change it’s image based on a touch. I think the problem is that there are a dozen ways to do this in Cocos2d. I wanted to find the simplest way to do [...]