I have cocos2d project with custom CCSprite subclass: MyCustomSprite.h: #import \"cocos2d.h\" @interface MyCustomSprite : CCSprite
Using AppCode 108.1068, developing an iOS app with cocos2d, I often end up implementing methods for a selector, and it goes like this:
Touching my _f开发者_Python百科ollow button, the ^ block for the _learn button is triggered. It looks as if it is firing the wrong block because it is an anonymous or unnamed block. I tried to name it
I\'m using the SneakyInput Joystick to move my sprite, and TMX maps for my game. I added开发者_运维技巧 auto-camera-movement to my app, so the hero sprite is always visible. When I go through my map,
I\'m trying to use CCWaves action, but it turns my screen into black, any suggestions tosolve this problem?
I have sprites(which have bodies) that can fall down into a box, in a b2world.开发者_如何学C I wonder in what way should I define that box body, so only when another body hit it from upside, it looks
How does one release a texture atlas using cocos2d? I have the following code NSString *blue= = @\"Blue.plist\";
Is it possible to check if there are actions currently running in a CCNode class in Cocos2d? I\'d like to know if a CCMoveBy开发者_C百科 is still running or not.You can use [self numberOfRunningAction
Using Cocos2d-iphone, and objective-c game development framework. I create a button with: CCMenuItemImage *slot = [CCMenuItemImage itemFromNormalImage:@\"BattleMoveSelectionSlot1.png\"
Please can anyone point me to any tutorial or give me like an outline of the steps to take that shows how to display game statistics like \"scores\" when the game ends in Cocos2d -iphone, I need some