New answers tagged cocos2d
You can create a new Layer with an box and an CCMenu with one CCMenuItem. The CCMenuItem will be your OK Button where you will set your callback method. Something like... CCSprite *box = [CCSprite spriteWithFile:@"box.png"]; box.position = ccp(screen.width/2,screen.height/2); [self addChild:box]; CCMenuItemImage *okButton = ...
Top 50 recent answers are included