I\'ve read a book that is when I have multiple layers in scene I should set the layer as property of scene and get them by using scene\'s singleton to get that scene then call it\'s property.
I am new to cocos2d and want to know some thing about the cocos2d application structure. Here is code in appdidfinishlaunching function in the default template.
Is it possible to change a CCSprite\'s position during a move action, like CCMoveBy?I have a subclass of CCSprite that cycles through a bunch of actions, some of which are moves.I check to see if it h
When I get a memory warning level-1 my EAGLView starts spitting out lines of openGL errors (502 & 506) and the app doesn\'t crash but the EAGLView becomes unresponsive. the errors are spamming out
I am using following code to render the image on screen -(id) init { if( (self=[super init] )) { CGSize winSize = [[CCDirector sharedDirector] winSize];
My Question is regarding special Character in NSString. Actual name:-Yusuf Doğan Retrieve name=Yusuf Do\\u011fan
Ok what I would like to do is duplicate the controls of Space Invaders Evolution. Begin a touch anywhere then drag around and the sprite moves 1:1 with your finger.
I have scenario in which I need to understand where should I use scene and where should I use layer. Scenario
I am working on a Box2d Edit开发者_运维技巧or for iOS, using cocos2d. I wrapped b2World into my own World class. I want to implement my own draw functionality. Since I will be drawing higher level cl
I need to create an application in which user can select backgro开发者_Python百科und image from gallery and draw (like pencil drawing) on it. Any code or hint.Check this link. You can set image using