Here is what I\'ve tried. In m开发者_运维百科y init method I initialized the array: deleteSprites = [[NSMutableArray alloc] initWithCapacity:500];
I have b2Body of which i set angle using setTransform. But I want b2Body to move in particular angle. My CC开发者_如何学JAVASprite is moving in that angle using ccMoveBy. But my b2Body is not moving w
i am using cocos2d box2d in xcode, and i have 2 simple related issues that i am not sure about them. -first and easy, whats the best way to change a sprite angle according to touch?
I am developing a cocos2d based app with a space background in which I am exploiting a CCQuadParticleSystem to make blinking stars. I have generated this particle system with ParticleDesigner. As soon
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.
I have been looking al开发者_如何学Cl over for help on how to make a CCSprite move and rotate with the movement of a virtual joystick. I have tried examples and sample code, but, none have worked for
I am trying to find the closest \"player\" to a \"ball\" and each of these objects are CCSprite Objects. This is my first app, so if there\'s a better way to do this, feel free to suggest it :)
I am currently making a game for the iphone using cocos2d. The game runs perfectly until I try to restart the program. If I exit, end the app (double click on the home button and then delete the game
I have bullets in box2d/cocos2d-for-iphone. They are flying fine...but I want to destroy these bullets after they traveld a certain distance. for example after a bullet \"flew\" 480px it should be rem
Im currently devising a solution for my object BuildingNode *tower which is held inside NSMutableArray *gameObjects, to attack EnemyNo开发者_JAVA百科de *enemy objects also held inside the gameObjects