I have a ball and another sprite. When the ball collides with the sprite it simulates falling. My only problem is the other sprite is just on big image and the ball is on top of it, but there are spa
In Iphone i am able to pass selector id like this way CCMenuItemSprite* item =[CCMenuItemSprite itemFromNormalSprite:normalSprite
I\'m trying to render a grid of texture using glDrawArray and GL_TRIANGLE_STRIP, but there are artifacts when drawing, but distributed unevenly across the screen.
What\'s the best way to display long text开发者_如何学Cs in Cocos2D using the CCLabelBMFont class?I\'ve been able to solve this problem using the class CCLabelBMFontMultiline, written by Mark Wei. His
I know that changing the text of a CCLabel is really time consuming and hence 开发者_运维问答cannot be done every frame. So how can I achieve this?My understanding is that the general recommendation w
I am using Box2d and Cocos2d to develop an iPhone game.I have a ball in the center of the screen with a simple boundary created using fixtures etc. What I want to do is add the functionality so that a
i am wondering how could I detect collision on the course given in the attached i开发者_开发技巧mage for example:
I\'m working on this ios 开发者_如何学运维app project with cocos2d, and I need to create an image that looks the same as the present scene but smaller, so I wonder if there\'s any way I can form an im
I\'m a bit stuck here, basically I\'m trying to compile Box2D as a static cocos library. I started by creating a static library project in xcode4 and dragged in the source files (in the correct folder
I have a game entity class as follows : @interface CPlanet : NSObject { b2Body *planetBody; } -(void)init;