Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 13605

cocos2d for iPhone is a free open-source framework for building 2D games, demos, and other graphical/interactive applications for iOS devices.

3 votes
Accepted

Game over pop-up like Flappy Bird

Add a new Layer and put there a Menu object with the buttons you need. Make the layer visible when the game is over.
Karlos Zafra's user avatar
0 votes

Can CCAnimations be paused?

There's no pause per se. You can use stopAction or stopActionByTag to stop it and run it again when you want to resume. Check the API here for these methods.
Karlos Zafra's user avatar
2 votes
Accepted

Importance of scripting engine at Cocos2d Game Engine

Since version 2.1 cocos2d-iphone integrates JavaScript bindings. More details: https://github.com/cocos2d/cocos2d-iphone/wiki/cocos2d-and-JavaScript You can find a game done with JS here: https://gi …
Karlos Zafra's user avatar
2 votes

Presenting game center leaderboard

You have to implement GKAchievementViewControllerDelegate protocol in your layer or scene. Declare your layer like this: @interface MyLayer : CCLayer <GKAchievementViewControllerDelegate> This wi …
Karlos Zafra's user avatar
0 votes

Rotating a sprite to touch

try updating arrow.rotation from ccTouchMoved and not in the update. -(void)update:(ccTime)delta { (empty) } -(void) ccTouchMoved:(UITouch*)touch withEvent:(UIEvent *)event { ... dialRo …
Karlos Zafra's user avatar