This is probably a pretty basic question. I had a menu, menu_b working quite 
nicely. I added a new layer to the scene containing that Menu Layer. (Menu 
layer is actually several menus multiplexed). 

Anyway, this layer I added to the scene starts invisible, becomes visible in 
on_enter() for menu_b, and is set invisible again in the on_exit() for 
menu_b. Specifically, I am calling: director.scene.children[1][1].visible = 
True in the menu_b's on_enter(). For some reason, doing this breaks the 
menu! You can no longer click menu items, and hovering over menu items 
doesn't change their appearance as it should. 

The menu works fine if I do NOT call 'director.scene.children[1][1].visible 
= True'. Any ideas why that is messing the menu up?

-- 
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/cocos-discuss/-/crOHEaOtM5YJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cocos-discuss?hl=en.

Reply via email to