Add a main menu scene (#47)

MainMenu.tscn is now project.godot's entry point: Play / Map Editor
(disabled, explains itself - #48 wires it up) / Quit (hidden in web
builds), styled like the rest of the game's menus and reusing the
starfield shader for its background.

Play calls GameState.reset_new_game(), so a second playthrough in the
same process starts fresh instead of inheriting whatever the previous
run left in the autoload - existing tests still load Main.tscn
directly and are unaffected.

Part of the #40 conquest-mechanic breakdown.
This commit is contained in:
Loïc Wisniewski 2026-08-15 14:43:46 +02:00
commit a1fb239a50
7 changed files with 297 additions and 1 deletions

View file

@ -11,7 +11,7 @@ config_version=5
[application]
config/name="Spaceship Test"
run/main_scene="res://Main.tscn"
run/main_scene="res://MainMenu.tscn"
config/features=PackedStringArray("4.7")
config/icon="res://icon.svg"