I have some trouble with my game (using Cocos2D). I have an introduction, then it will go to the game afterward. The thing here is, on the simulator, it always appears at real-time when it switches sc
I have a code that set\'s a bow\'s angle according to where you have touched the screen. a simple \"bow.rotation = X\" command is performed on the ccTouchesMoved event.
I need to implement a little bit of Ai that can apply an impulse to a rigid body in order to hit a target. Like a cannon ball being fired from a cannon. I\'m using Chipmunk Dynamics for the physics en
I\'m using Box2D on my i开发者_如何转开发Phone app using Cocos2D. I\'m using mouse joint to drag objects by touch.
I am new to Objective-C and iPhone development in general. I am using the Cocos2d-iphone library for a game engine in an attempt to develop a very simple game.
I just finished reading some of the cocos2d documentation, and as far as I understand to add a background image to a layer you have to do something like:
I am having a problem. When the smokeMoveBy action starts a small smoke bubble is spotted on the screen at other place then the moving path of the smoke.
I am trying to play a .gif animation in cocos2D. For this i am using the library glgif. Now, to display the animation i am pausing the Director, adding a subview to show the animation and after the an
I have a layer in my game. At finishing of game I want to show user an UIAlertView for restarting or quitting the game. But it is not working. I am also given the delegate UIAlertViewDelegate to layer
I am new to iphone and currently struck. Could anyone tell me as how to set the Gain of a audio buffer by using the fraunhofer decoder.