I have a game, where on click on one button i load one CCColorLayer. Once i load it, it has some background image. I want the main screen where i clicked the button should also be there when the new l
How can I let the other scene that gets popped know about the popscene event?T开发者_如何学编程he other scene goes back into view, but now I want something to happen and I can\'t figure out the best w
I have a sprite which moves across the screen.so i want to switch between the scenes.how can i do that.i am not interested开发者_JS百科 in using Tile Map.I want just like angry birds scene scrolling.
I am making a game in Cocos2d. Everything is okay, so far. I used Ray Wenderlich\'s tutorial to get collision detection to work. It works, but whenever an \'enemy\' spawns where a bullet was deleted (
I\'ve got a subclass of CCSprite that knows how to move itself based on two float properties, velX and velY.I call the subclass\'s - (void)update:(ccTime)dt method from the method of the same name in
Dear all, I developed an application on cocos2d, it runs perfectly on simulator (iphone simulator 4) and on iphone 3, but on iphone 4 (device) only part of the application or view appears in the middl
I am sure there is a way to do this, and I don\'t know how, and am new to sound in Cocos2d. I am using SimpleAudioEngine.h as directed to in Ray Wenderlich\'s wonderful tutorial (P开发者_开发知识库art
How i can debugdraw with a cocos2d/macos code ? i cant use GLESDebu开发者_开发问答gDraw, any clue?Im not sure what you need, but cocos2d got some draw methods. You can maybe use this code
The documentation says things like: Each node, by default, has no updates. If you want to update the state of your node you should schedule
I have some sprites of stars twinkling and the images are too big to fit on one sprite sheet, so I have had to spread them across two. I have been looking for how to create a single animation using th