I am writing a game using the Cocos2d library for iOS. So far I have a sprite on the screen that I would like to drag around. Basically I have a CGPoint called End. When I drag across the screen it mo
We\'ve complete an app in iPhone. For the next version, we want to add skins/themes to the app. There are some good replies to similar posts that I read on stack overflow regarding this and different
I can capture scene change events by its onEnter and onExit methods. But when scene change events takes time, like fade in or fade out, onEnter is called to early (right before the fading) and onExit
Need a little help with a Cocos2d problem. I am running a animations from the same sprite sheet and need the sprite to play a different
I used he code below to handle pause and resume buttons in my game To Pause: -(void)pauseTapped{ ... [[SimpleAudioEngine sharedEngine] pauseBackgroundMusic];
I am creating a button with CCMenuItem in cocos2d. I want the button image to be 开发者_运维技巧change whenever i tap it. Is there anyway to do that at runtime.
I have a scene called Level1, which takes the hero and the enemyfrom a layer called GameLayer. I heard that an efficient way of doing this is using tags and retrieving it using getChildByTag. I tried
I have an arrow image. I want to stretch this image between of two points. I am retriving points from touch location so it i snot fixed. When user will touch on iPad arrow image will be appear and arr
I am calling a method in my init method of the scene with perform selector. When i replace the scene replace scene method of CCDirector and move to the other scene and then i replace the other scene w
pls any one help me . I am working on a project like bubble shooter,but i have no idea.now i have开发者_Go百科 to find only touch position angle .