cocos2d-iphone
Cocos2D ccTouchesMoved Sprites and Objects
I have been struggling with this for a bit.I am trying to avoid have multiple classes for the objects I am trying to create.Basically I have a \'Letter\' class that has a letter property.When I initia[详细]
2023-04-06 15:34 分类:问答Rotating a sprite with Touch - Cocos2d
I know this question has been asked several times, trust me I have searched. I have found one answer to rotating a sprite with touch, but there has to be a simpler way.[详细]
2023-04-06 14:25 分类:问答COCOS2D for iOS - CCMoveTo does not work...?
sorry, my english level is very low. my code... CCNode *A = [self getChildByTag:kATag]; CCNode *B = [self getChildByTag:kBTag];[详细]
2023-04-06 11:49 分类:问答Repeated State changes in Opengl
Its a fact that state changes in Opengl leads to performance degradation. //Say If i\'m calling glEnable(GL_DEPTH_TEST) / glBlendFunc repeatedly in every frame.[详细]
2023-04-06 07:23 分类:问答iOS Programming Best Practices - Help for Puzzle
I am creating a simple drag and drop puzzle for the iPad/iOS.Basically you can drag a sprite to a location and if it matches up then bingo, it matches.Like the kids animal puzzle games.Drag a chicken[详细]
2023-04-06 07:22 分类:问答What is the best way to handle collision detection between bodies efficiently?
I am new to Cocos2d, Box2开发者_开发技巧d and game development all together, but I have read a good bit of tutorials to at least have a good start on a game set up and working...[详细]
2023-04-06 04:42 分类:问答How to detect collision to shape like tree?
I\'m making IPhone game using cocos2d, I already know how to detect collision using rect. and also I know there is many questions and answer similar with mine. but I didn\'t find answer which fit my s[详细]
2023-04-06 03:39 分类:问答Adding Cocos2D only to already existing project?
I already have a project that is 90% done and I want to add Co开发者_JAVA百科cos2D ONLY to it. I do not need Box2D or Chipmunk. How would I do this? What files do I add? I really need this done, so in[详细]
2023-04-06 03:04 分类:问答Problem playing mov file in MPMoviePlayerController
(Im using this with Cocos2d) This works perfectly for an mp4 video NSURL *url = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@\"intro_iphone\" ofType:@\"mp4\"]];[详细]
2023-04-06 02:20 分类:问答Cocos2D CCMenuItem over an other CCLayer doesn't respond
Here is m开发者_高级运维y problem. I got a classic CCLayer subclass. In the init method, I create a CCMenuItem, and add it to my main layer :[详细]
2023-04-06 02:12 分类:问答