renpy/doc/reference/functions/renpy.game menu

From Ren'Py Visual Novel Engine

Jump to: navigation, search

renpy.game_menu

Function: renpy.game_menu (screen=None):

Invokes the game menu.

screen is the screen to access, usually one of "load_screen", "save_screen", or "preferences_screen", but the user can define other game menu screens. If None, it defaults to the value of _game_menu_screen.

menu:
    "Would you like to save your game?"
    "Yes.":
          $ renpy.game_menu("save_screen")
    "No.":
          pass
Personal tools