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
13 lines
577 B
Text
13 lines
577 B
Text
[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")]
|