cocos2d-iphone
How to access a CCMenuItemImage from a CCMenu
I have a CCMenu that contains a CCMenuItemImage named pauseButton and a CCMenuItemImage named playButton. I need to be able to access the pauseButton and playButton, but once I add them to the CCMenu开[详细]
2023-04-11 07:06 分类:问答Producing bigger pages with a font editor for Cocos2d
I use Hiero, java version, because I want to create fonts for CCLabelBMFont. However, due to my game being on retina display, my font images are big, and they require more than one page. Cocos2d only[详细]
2023-04-11 06:22 分类:问答NSInvalidArgumentException when I attempt to call an external method from inside another method
I get the console messages: 2011-10-05 17:21:15.112 Fairstead[4986:207] -[CCSprite translate::::]: unrecognized selector sent to instance 0x546fdb0[详细]
2023-04-11 05:59 分类:问答UITextField Delegate Method and Cocos2d?
When I resign the first responder (UITextField-*nameField) via a background tap method, it is not calling the delegate Method. I am using UIKit with cocos2d. Any help is appreciated. Thank you![详细]
2023-04-11 05:33 分类:问答CCMoveBy behaviour
I\'m getting stuck to implement some Cocos2D animations for my Tetris clone(that works perfectly, no logic bugs, i just want to perform some smooth animation when deleting rows).[详细]
2023-04-11 03:32 分类:问答How to deallocate a CCLayer
I am making a box2d app for the iphone using cocos2d. I am trying to switch my CCLayer going from my HelloWorldLayer to my HomeScene and I get an error \"Thread 1: Program received signal: \"EXC_BAD_A[详细]
2023-04-11 01:28 分类:问答Cocos2d - Top down camera view with rotation
I\'m trying to create a top down car game where the camera follows both the player and the player\'s rotation. I can get CCFollow to work easily, but I have had no success with CCCamera. I assume that[详细]
2023-04-10 23:56 分类:问答Finding Contact point - Box2d with Cocos2d
I\'m building a game with Cocos2d + Box2d I want my hero\'s jump direction to be orthogonal to the ground he is standing on.[详细]
2023-04-10 19:59 分类:问答xcode and sprite sheet
I have a question, I have read all over the web about how to animate a sprite sheet, but I just wanted to know of a simple way to just load a sprite sheet that has multiple images of lets say a backgr[详细]
2023-04-10 15:47 分类:问答Pixel collision detection?
In my app, I have a bunch of CCSprites and I want to have a collision detection feature that will work only when the non-transparent pixels in the CCSprites collide. I don\'t want to be restricted to[详细]
2023-04-10 15:30 分类:问答