Wire the main-menu Buttons
Figure 22. System New Game starts the configured project startup sequence rather than merely hiding the title screen.
| Button | Click behavior / helper |
|---|---|
| New game | System New Game |
| Continue | System Continue Game; disabled if no save exists. |
| Load game | Run open_main_load, which remembers that Back should return to Main Menu. |
| Options | Run open_main_options. |
| Credits | Show GUI → credits_custom; its Back Button uses System Main Menu. |
| Quit | System Quit; test it in the standalone game. |
The sample Continue Button has ID main_custom_button_1. menu_tools updates its enabled state when the main menu opens. Change that ID in the helper if you rename the Button.
Continue uses the newest available saved position, which can include an autosave. Load lets the player choose a specific position.
