I have added a sprite and 开发者_Python百科added a label as the child of the sprite. Now I want to click the sprite and get the corresponding label text .Help me with some solution.
I have an Upgrades scene where 开发者_StackOverflowthe user can upgrade different attributes of the game, and I want that information to be saved. For example, when the user spends 1000 points to upgr
I am making a game in Cocos2d. I have a ball that will be shot at a flat surface (the top of the screen) how can I make it so the ball will travel, hit the surface, then reflect the angle and travel t
In cocos2d environment and box2D when an spherical object falls 开发者_如何学编程on a blunt slant obstacle, it moves really slowly, that\'s nauseating, if you have coded to not to have any interaction
I am new to cocos2d game development. I want to know how to get started. Is any special 开发者_StackOverflow社区installation needed for it? Check out the cocos2d-iPhone website..You can download cocos
Does anybody know the best practice approach to getting an array of CCMenuItems to align to a grid?This is a cocos2d question
I have variable is: stateName = [store objectAtIndex:0]; and Country: country = [store objectAtIndex:1];
I have an arrow sprite, and it is for aiming purposes in my Cocos2d game. Therefore, I want it to point to w开发者_开发问答here the user touches the screen. How do I program the rotation of the sprite
When I pass in the angle parameter 360 it doesn\'t execute, but if I pass in 180 it will only execute once...I have done this many times before in older versions of cocos2d. It is either I am complete
In chipmunk/cocos2d, I have the classic bouncing ball demo happily running with an arbitrary number of balls.