Menu Scene Navigation - The-Villains/MajorelleMysteryApp GitHub Wiki

In device/project.godot it is linked to ui/main_menu.tscn, that is the sceen for the start menu. (Alternatively you can follow this to start a game).

Main menu scene

Here the event listener is registered programmatically (an alternative would have been using the node tab of the selected button to connect the pressed event to a function in script).

Main menu start button action event listener

The so triggered function invokes the Escoria script games/new_game.esc (now changed to trailer.esc). That file is unfortunately not visible within the Godot editor but only in file system (resp. Visual Studio Code).

Main menu script new game event listener function

The esc script contains the actions to make the scene transition using a fade-out and fade-in effect. See also here.

Trailer ESC Script

This telon is reference in main.scn

Telon scene transition

main.scn is referenced in device/project.godot. So it is used for all scenes.

In main.scn also the globally used background music is defined

background music

The music file can be exchanged here

background music selection

See also here on how to control sound and music by using Escoria Scripts.

The globally used dialog player is also configured in main.scn

dialog player

See also here on how to customize dialogs.