Add menu system and scene navigation
The changes include: - Moving script files to scripts/ directory - Creating Start menu scene with Play/Quit buttons - Adding scene switching between menu and gameplay - Creating theme for menu buttons - Adding ESC key to return to menu
This commit is contained in:
parent
83ff6ef14d
commit
49988ae674
14 changed files with 202 additions and 6 deletions
13
scenes/Main.tscn
Normal file
13
scenes/Main.tscn
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://dy4s4as4b07s8"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bi1hbvswrw6yr" path="res://scripts/main.gd" id="1_0bbpv"]
|
||||
[ext_resource type="PackedScene" uid="uid://d04c3lqwj6a5h" path="res://scenes/Start.tscn" id="2_rarhs"]
|
||||
[ext_resource type="PackedScene" uid="uid://ct7v3x7imstlk" path="res://scenes/gameplay.tscn" id="3_vcsgt"]
|
||||
|
||||
[node name="Main" type="Node2D"]
|
||||
script = ExtResource("1_0bbpv")
|
||||
|
||||
[node name="Start" parent="." instance=ExtResource("2_rarhs")]
|
||||
z_index = 5
|
||||
|
||||
[node name="Gameplay" parent="." instance=ExtResource("3_vcsgt")]
|
||||
Loading…
Add table
Add a link
Reference in a new issue