How to call the GUI then is need and to close then is need?

#1

I want to create a menu, and I want to show/hide the menu

0 Likes

#3

I want to show/hide the menu

0 Likes

#4

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

#5

thanks…

0 Likes

#6

Can I make the game paused with coroutine ? Or is another way?

0 Likes

#7

How to detect if the GUI is enabled/ disabled ?

0 Likes

#8

You can modify the timestep of a collection proxy (your game maybe) by posting a set_time_step message to the collection proxy.

0 Likes

How to put the game on pause?
#9

EDIT: Moved my question to here: How to put the game on pause?

0 Likes