Top "Cocos2d-iphone" questions

Objective-C version for iOS & OS X of Cocos2d.

iOS 6 - How to run custom code when orientation changes

I'm creating a game that allows the device to be in either landscape-left or landscape-right orientation, and the player can …

ios xcode cocos2d-iphone ios6 device-orientation
Cocos2d: Move a Sprite along a path/bezier?

I need to move a sprite from one CGPoint to another using Cocos2d for the Iphone. The problem is …

cocos2d-iphone
Cocos2d iPhone - Sprite cliping/mask/frame

how can i clip/crop/mask or just set the frame of a CCSprite in Cocos2D? Something similar to: …

cocos2d-iphone
How can I include cocos2d-x templates in Xcode?

I'm trying to follow this guide which is often quoted as being an excellent tutorial for Cocos2d-x. The problem …

xcode templates cocos2d-iphone cocos2d-x
Replacing image in sprite - cocos2d game development of iPhone

I want to change the sprite image. Say for example: mainSprite=[Sprite spriteWithFile:@"redFile.png"]; [self addChild:mainSprite]; Here, Sprite …

xcode cocos2d-iphone sprite
cocos2d-x-2.1.4 : error: format not a string literal and no format arguments [-Werror=format-security]

I am working on a game on cocos2d-x-2.1.4, however, when I try to build it on Android, it failed …

android cocos2d-iphone android-ndk cocos2d-x
How to implement HD "Retina Display" graphics in Cocos2D

I am not quite sure how use HD images for sprites in cocos2d. I looked through the documentation, and …

iphone cocos2d-iphone retina-display
How to make HTML5 Canvas full page size with Cocos2D

I'm new to Cocos2D-HTML5 (and HTML5 itself) and I'm trying to get the canvas to be the full size …

javascript html canvas cocos2d-iphone cocos2d-html5
Drawing line on touches moved in COCOS2D

I'm developing a game for iPhone using COCOS2D. In that, I need to draw a line when user drag …

ios iphone cocos2d-iphone touchmove
UIActivityViewControllerCompletionHandler How to?

I am trying to use the UIActivityViewControllerCompletionHandler , but i dont quite get how.. I want to detect when the user …

objective-c event-handling cocos2d-iphone ios6