I have two CGPoints A and B. Distance between A and B can be found with ccpDistance(A,B). With this information, I need to find programmatically CGPoint(x,y) of X by adding small distance into dista
I have cocos2d app开发者_运维百科lication which contains the mapview in it , i want to handle the touch,zoom,and other ui event but i am no able to do that cause i have to extend the class with the ui
Can you help. Want to draw a polygon (beams at different angles) and apply box 2d body 开发者_如何学Goto it. Can you please let me know how to create a CCSprite with a polygon shape
I have an app with a main tabBar view and I would like to add开发者_运维技巧 a cocos2D game in one of those tabs. Is there any way to integrate it without reprograming all in cocos2d?
I have just started working with cocos2d and box2d for iOS SDK, and have a few problems. I got the templates working, and got the test app (the one where you click the screen and a box with a random l
In my cocos2d-iphone project, I am using Chipmunk to provide a physics model. Additionally, I am using the SpaceManager obj-c wrapper for Chipmunk.
I have been making my game in a pretty conventional manner. I just created a new window based application and have built off of that using my own images, table views, etc. Now I am about to begin prog
For the life of me I cannot figure out how to do this. NSString *f开发者_开发百科ilename = @\"starbackground.png\";
I\'m having a problem with Cocos2D. I\'m trying to have a sprite movable on screen (which I\'ve been able to do), but stop it from being clipped by the edge of the screen.
I get the开发者_运维问答 following OpenFeint iOS warning: OpenFeint Developer Warning: Please make sure to provide a delegate to OpenFeint