If I have a sprite in a NSMutableArray of sprites in Cocos2d and need to access the x and y values of a specific sprite how can I do that?
Does anyone have a better way to rotate a sprite with one finger?My problem is that I can not get the sprite to stop rotating after it has been fully rotated twice and I flip my screen 180 degree peri
Has anybody used a NSScrollView to control scrolling using the cocos2d-mac framework? After much struggling I managed to make U开发者_Python百科IScrollView work with cocos2d-ios. Any pointers to usin
How wou开发者_运维问答ld I end a match/disconnect the opposing player and/or remove the match maker standard interface (GameKit), if the Home button on the device is pressed? I also have a \"Main Menu
I\'m getting an exception saying that the image cannot be nil on this line: CCLabelBMFont *label =[CCLabelBMFont labelWithString:@\"5\" fntFile:@\"weaponnumbers.fnt\"];
All, I\'ve got a rather frustrating problem that I think is simple, but my brain is just not working. In short, the problem is: given a sprite/image/thingy, you know that someone has rotated/translat
I have implemented horizontal scroll, but vertical scroll making trouble, and the trouble is difficult to explain. So I can scroll scene vertically, and horizontally, if that is been done from the sce
i am using spacemanager with chipmunk physics for my game. What i am trying to do is hit a ball to a pillar and make the ball disappear. i am recreating the ball in different location so the user can
I have a game in the works in Cocos2d. I have enemies that spawn every 0.8 seconds. I would like to have a DIFFERENT type of enemy s开发者_JAVA技巧pawn after, say, 25 spawn. How do I tell how many tim
So I have开发者_如何学C a CGRect and it has a size and a CGpoint call origin.Is origin the center of the square or the top left?The CGRect defines how far the bounding box extends along each axis from