I\'m sure this is really obvious to someone, but this simple thing is really frustrating me. I have a class I made called Class_Sprite, which is a sub-class of CCSprite.
I am new in cocos 2d game development anddeveloping a game where I need to reload scenes fr开发者_Python百科om view controller many times.For this i remove the scene and run it again.After 2 or more t
I have a CCMenuitemLabel CCMenuItemLabel *startGame = [CCMenuItemLabel itemWithLabel:str target:self selector:@selector(startGamefn)];
With iPhone\'s internal data I meant, for example, in general setting we have an option called usage which shows the amount of bytes that has been sent and received. I want 开发者_运维问答to fetch the
I got a CCNode subclass, and it eventually calls a function located on its parent. First, my class will do this:
In my iOS project, glView ends up with height=0 and width=0 even though CGRect frame correctly gets the screen\'s dimensions in the previous line.
I want to make nicer effect of page turn transition in my Cocos2D based application. There\'s CCTransitionPageTurn, but I\'d like to add custom texture on back side and dynamic shadow, so it would loo
I have rotated sprite to 90. I checked the touch location of the rotated sprite as follows: matchsprite.rotation=90;
I can detect shake in iPhone using Cocos 2D when I use: -(void)accelerometer:(UIAccelerometer *)accelerometer didAccelerate:(UIAcceleration *)acceleration
My game comes with lots of .plist files containing many dictionaries, arrays, etc. They are about each party member\'s stats, info, etc.