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.
Questions tagged [ccmenu]
20 questions
3
votes
1 answer
CCMenu misplaced under iOS 7
Under iOS 6 all my CCMenus appeared centered on the screen by default, if I did not assign an explicit position. Under iOS 7 the menus are positioned off screen.
Do I have to assign an explicit position under iOS 7?
iOS 6:
iOS 7:

Ben-G
- 4,996
- 27
- 33
2
votes
0 answers
Can I use CCMenu with Gitlab CI?
I'd like to use CCMenu with my Gitlab project's CI pipelines. What is the feed URL for the CI pipelines of a Gitlab project? Does one exist?
What I've tried that didn't work:
https://gitlab.com/api/v4/projects/2/pipelines/cc.xml (which I didn't…

judytuna
- 21
- 1
2
votes
1 answer
cocos2d: change CCMenuItemImage when mouse passes over?
Does anyone know of an easy way to animate a CCMenuItem when the mouse passes over it.
I have read this thread:
Cocos2d CCMenuItem animation upon selection
which seems to cover Cocoa Touch but does not work for me with OS X.
The cocos2d reference…

Adam S.
- 306
- 2
- 11
1
vote
2 answers
Anyone know how to use CCScrollView(vertical scrolling) and CCMenu together in cocos2d?
Anyone know how to use CCScrollView(vertical scrolling) and CCMenu together in cocos2d?Also can we use CCScrolllayer instead of CCScrollView or which on is better to use in cocos2d?
Thanks in advance

Ashok
- 5
- 4
1
vote
0 answers
CCMenuitem not working properly after pushing the scene for the second time
I have a menuScene which has a play button.
I have declared gameScene as a property in menuScene
@property(nonatomic, strong) id gameScene;
and now allocating the gameScene in init method of menuScene as below.
self.gameScene =…

Naresh Kalakuntla
- 35
- 6
1
vote
0 answers
Cocos2d: gesture recognizers and CCMenu
I have been following this tutorial on integrating UIKit with a CCLayer. Basically all I want to do is to add gesture recognizers handlers to my layer and trigger my game actions according to those.
However I do have a problem (which doesn't seem…

mm24
- 9,280
- 12
- 75
- 170
1
vote
1 answer
cocos2d Move Sprite using buttons
Using CCMenu I have create Two Buttons Up and Down Here is the code
CCSprite *normlUp = [CCSprite spriteWithFile:@"Up.png"];
CCSprite *selectedUp = [CCSprite spriteWithFile:@"Up.png"];
selectedUp.color = ccGREEN;
CCMenuItemSprite…

Smith Tech
- 11
- 1
1
vote
0 answers
CCMenu responds to touches when touched elsewhere
This is the code I'm using to display the menu.
CCMenu *topMenu = [CCMenu menuWithItems:menuItem1, menuItem2, menuItem3, menuItem4, menuItem5, menuItem6, menuItem7, menuItem8, nil];
[topMenu alignItemsHorizontallyWithPadding:0.0f];
topMenu.position…

Mugunth
- 14,461
- 15
- 66
- 94
1
vote
1 answer
How to receive touch from two buttons in the same time with cocos2d?
I'm working with cocos2d now and I've got some menu.
menu = [CCMenu menuWithItems:btn1, btn2, btn3, btn4, btnMenu, nil];
I've got method to handle taps. btn1, btn2, btn3, btn4 are in the same menu and every button has the same method to handle…

Tomasz Szulc
- 4,217
- 4
- 43
- 79
0
votes
2 answers
Is there a spec document for CCTray?
I'm trying to build a CCTray/CCMenu clone in Electron and want to know if there's a spec document for parsing the XML document? I can get much of it from checking my Travis version, but I'd like to know the actual spec

MrSimonEmms
- 1,321
- 2
- 16
- 32
0
votes
3 answers
CCMenu vs CCSprite position Cocos2d-x
I'm very confused with a weird behaviour in Cocos2d-x, when I create a CCSprite and a CCMenu with a single CCMenuItem, even thought all of them are positioned at the same…

mtet88
- 524
- 6
- 21
0
votes
1 answer
Call Storyboard Scene from a Cocos2d CCMenu
I have integrated cocos2d with storyboard. In the cocos2d view I have a CCMenu with some buttons. I want that when I click a button, open a scene from the storyboard. Is this possible? I want to use buttons from cocos2d.
Thanks.
0
votes
0 answers
cclayer function called error
I have two layer called alayer and blayer, alayer is parent
there is a function in alayer.h
- (void)playGame;
in alayer.m, add blayer
- (id)init
{
if ([super init] == self) {
Blayer *bLayer = [[bLayer alloc] initWithParent:self];
[self…

yegomo
- 297
- 2
- 11
0
votes
1 answer
Unrecognized Selector when I click on CCMenuItemImage
I'm trying to load a start menu for a game, and I've added a play button using a CCMenuItemImage. Everything loads just fine. However, when I try to click on the play button, I get this error message.
013-08-18 13:38:46.091…

Raymond Chan
- 63
- 1
- 7
0
votes
0 answers
How to edit/remove items from a CCMenu?
I have a CCMenu that contains CCMenuItemSprite and CCMenuItemLabel.
This menu is added to my layer as follows:
[self addChild:itemsMenu];
The menu is always visible to the user and contains objects that can be used by the user himself during the…

andreapavan
- 697
- 1
- 7
- 24