cocos2D for iPhone is an Objective-C port of the cocos2D (Python) framework for building 2D games and graphical applications for iOS devices. Despite its name, cocos2D-iphone supports building Mac OS X applications as well.

learn more… | top users | synonyms

6
votes
0answers
335 views

iOS: OpenAL randomly stops playing some sounds, can only fix with reboot

THE APPS: Two Cocos2d universal iOS games with a large customer base. THE PROBLEM: Several months back (in 2011) reports started coming in, sounds would randomly cut out, only some of the sounds ...
4
votes
0answers
123 views

How to create a simple 3d sphere for cocos3d using blender and PowerVR SDK

I am a fresher in cocos3d. I want to create a simple project - a 3d sphere rotating. i have designed a 3d sphere using blender. So i want help in creating collada file and pod file. What all are the ...
4
votes
0answers
703 views

Got the message “WARNING: under normal conditions, _fillInQueueWithExtraSpace:..” and MPMoviePlayer rotation not work in iPad IOS 5.1

It's my first post, and may be it may seem incorrect. So, I've to make rotation in cocos2d on iPad (5.1) I use 2 different videos to each orientation. And there I have 2 problems: The app starts in ...
4
votes
0answers
3k views

CCSequence Firing Actions in Cocos2d

I have three actions that are triggered in the CCSequence. The way I want it to be fired is that first the sprite should move in the center of the screen and then the scale action is fired. But for ...
3
votes
0answers
78 views

CCTurnOffTiles tints my CCSprites

Cocos2d-iPhone version 1.0.1. I am using CCTurnOffTiles action on a CCSprite (.png image, not animated). Sometimes, everything goes smoothly. Other times, the sprite seems to be tinted. The tint ...
3
votes
0answers
113 views

Can't draw completely using Open GL ES 2.0 in cocos 2d 2.0 in a game tutorial

I am currently working on this tutorial http://www.raywenderlich.com/3888/how-to-create-a-game-like-tiny-wings-part-1 and trying to get the hills correctly drawn. However, the tutorial have been ...
3
votes
0answers
79 views

Kobold2D KKInput improper orientation?

I'm having an issue with device orientation and input. Using xcode->projects->orientation settings I have disabled everything except Portrait. When I turn the device, the graphics remain in place (as ...
3
votes
0answers
127 views

PRKit for Coco2d for Mac

My previous question about PRKit - Draw texture using PRKit and use texture mapping for it (i don't remember password for that account and can't restore it, so created new user here...) So, I'm on a ...
3
votes
0answers
96 views

Cocos2D reload white screen error

I am developing a game. When we create an EaglView and runwithscene, it works fine for the first time. // TAKE THE SHARED DIRECTOR director = [CCDirector sharedDirector]; // IF THIS IS FIRST OPENING ...
3
votes
0answers
305 views

Is it ok to call performSelectorOnMainThread: after beginBackgroundTaskWithExpirationHandler is called and the application is in background?

I am initiating a background task like this: UIApplication* application = [UIApplication sharedApplication]; _backgroundTask = [[UIApplication sharedApplication] ...
3
votes
0answers
383 views

How to flip the texture on a CC3PlaneNode?

I'm creating a CC3PlaneNode (cocos3d) with code that looks something like this: CC3PlaneNode *bnode = [CC3PlaneNode nodeWithName: name]; CC3Texture *texture = [CC3Texture textureFromFile: texName]; ...
3
votes
0answers
317 views

Access to framebuffer Cocos2d/3d

I am trying to combine the String Augmented Reality Framework with cocos as the 3d renderer. In the setup I need to provide String with the OpenGL context and the framebuffer. stringOGL = ...
2
votes
0answers
19 views

Can I use CCControlButtons on their own in a CocosBuilder document?

I'm wondering if I can use CCControlButtons on their own in a CocosBuilder (2.1) document. I can see how to get CCMenus to work with CCMenuItemImages. But for this case, I'd really like to use ...
2
votes
0answers
60 views

Using 3D animation and Texture Rendering with OpenGL

I am using a 3D animation (CCLens3d) and a lightning effect which uses OpenGL rendering (I might be wrong so please check the example project).. Lightning project can be found here. If I don't use my ...
2
votes
0answers
121 views

How to use the CCTimer class in Cocos2d android?

I want to use CCTimer class for the Timer but I can't sort out. After I use to manually create a function for this but it seems not effective . protected GameLayer(ccColor4B color) { ...

1 2 3 4 5 85
15 30 50 per page