Questions tagged [ccmenu]

CCMenu displays the project status of CruiseControl continuous integration servers as an item in the Mac OS X menu bar. Or in other words, CCMenu is to OS X what CCTray is to Windows.

20 questions
0
votes
1 answer

how to create menus in cocos3d

I want to create a menu in cocos3d. I failed to find correct solution for this. I tried to create one using the cocos2d concept. CCMenuItemImage *item1=[CCMenuItemImage itemFromNormalImage:@"up.png" selectedImage:@"images.jpeg" target:self…
Karan Alangat
  • 2,154
  • 4
  • 25
  • 56
0
votes
2 answers

Cocos2D how to remove/release/clean up CCMenu

How can I add/remove CCMenu when the same button is clicked? I have added some code.. Thanks in advance.. CCMenu *menu; if (!isMenuVisible) { CCMenuItemSprite *item = [CCMenuItemSprite itemFromNormalSprite: .......]; …
Tim Tuffley
  • 605
  • 1
  • 6
  • 20
0
votes
1 answer

When I tap AdView, CCMenuItem respond

I'm using kobold2d v2.1.0 and added AdMob Mediation SDK to my project according to Google's instructions. I created AdViewController and added its view to rootViewController.view. AdViewController.m: -(void)viewDidLoad { [super viewDidLoad]; …
noprops
  • 311
  • 3
  • 12
0
votes
1 answer

CCMenuAdvanced gets clicked even when there is a sprite above it

In my Cocos2d 2.0 iOS game, I use a CCMenuAdvanced to create a scrolling menu. The problem is that the invisible portion of the menu also seems to be handling touches. Here is the code (needed to get boundaryRect to display and crop properly): //…
Anand
  • 3,690
  • 4
  • 33
  • 64
0
votes
1 answer

same CCMenu Adding to Multiple Scenes

Newbie to iOS and Cocos2d ( 2.x ) Ok I want to create a Menu Object and call it from each new Scene. Example: Scene1, add menu Scene2, add same menu as on Scene1 I've only seen how to initialize the CCMenu when you init the Layer itself. you build…
Phill Pafford
  • 83,471
  • 91
  • 263
  • 383
1
2