How do I avoid unneccesary deallocation? I\'m running this code: CCSpriteFrameCache * cache = [CCSpriteFrameCache sharedSpriteFrameCache];
I want to move a sprite on this path using cocos2d. 开发者_如何学编程http://www.freeimagehosting.net/uploads/8436ca404e.jpg
I am writing an app in cocos2d. I hava a sprite and a text in my scene. I have written two separate classes for sprite and text. And I added both of them to another class.
I need to divide a scene in to two layers. So that I can write same methods for two layers. So I may get two functionalities. But ca开发者_开发技巧n I make that ? Is there a possibility in cocos2d?
I have writing a small shooting g开发者_JS百科ame in cocos2d. Winning the game is to eliminate all the 10 enemies. After that end screen comes showing \'You Won\' and \'Play Again\'. If I go for \'Pla
I just fini开发者_StackOverflowshed my concept for an iphone app. I have a main program and in that program I want to start a game.
I am using cocos2d to build an iPhone game.It\'s mostly done, but along the way I came across some things that I would like to handle better.I am fairly new to Objective C, and honestly I do more Perl
I am writing a small game by using cocos2d. It is a shooting game. Player on one side and enemy on other side. To run the both actions of player shooting and e开发者_Python百科nemy shooting do we shou
I am doing my program in cocos2d. I am using NSDate to get the current time of the start of animation. And I know my animation takes 3 seconds. So I can get the time at completion of animation by usi
I am using Cocos2D for my main framework.In some cases, I want Cocos2D to load a nib file and have that be the view: