I want to create a menu, and I want to show/hide the menu
I want to show/hide the menu
Send messages to the GUI component to disable / enable as you need it. You could toggle between a minimal GUI for you gameplay, and then the full menu GUI when your game is paused.
msg.post("menu_container#menu_gui", "disable")
msg.post("menu_container#menu_gui", "enable")
2 Likes
thanksā¦
Can I make the game paused with coroutine ? Or is another way?
How to detect if the GUI is enabled/ disabled ?
You can modify the timestep of a collection proxy (your game maybe) by posting a set_time_step message to the collection proxy.
EDIT: Moved my question to here: How to put the game on pause?