On Tue, Jan 13, 2009 at 4:26 PM, Hordeling <[email protected]> wrote: > > Hey there! > > Most of the demos I have reviewed tend to switch between the menu and > game scenes. > > How would one uses cocos layers or scenes to have a menu presented > over a paused game, in an existing scene? > > The menu would not replace the game scene. I might also wish to use a > color layer to darken the game scene when the menu is visible.
The game should keep running or not? if not, you can do what pause does: grab a screenshot push a scene with that screenshot as bg (darkened) show a menu If you just want a menu while the scene is running, creating it on the fly and adding it to the scene should work. (you should also create a semi transparent black layer between the menu and the rest of the scene to get the full effect) Lucio. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cocos2d discuss" group. 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 -~----------~----~----~----~------~----~------~--~---
