Hello!!
Using cocos2d 0.8.2
I have 3 Items (Play, Intro, Help buttons) and they are all in a sprite sheet. I use AtlasSpriteManager for each.
//List of Buttons
Menu *menu = [Menu menuWithItems: playButtonItem, introButtonItem, helpButtonItem, nil];
[menu alignItemsVertically];
// IMPORTANT
// If you are going to use AtlasSprite as items, you should
// re-position the AtlasSpriteManager AFTER modifying the menu position
menu.position = ccp( (screenSize.width/2), (screenSize.height/2));
playButtonMgr.position = menu.position;
introButtonMgr.position = menu.position;
helpButtonItem.position = menu.position;
It works fine with 2 items. When I add the 3rd item, it sits on top of the second item. I thought it would line them up automatically??
Please let me know what I am missing??
Thanks Again,
Kenny