Adds better folder structure, and adds simple dialogue system

This commit is contained in:
2024-10-06 15:57:47 +02:00
parent 2cf9884f9d
commit 0f6f75ea44
31 changed files with 178 additions and 53 deletions

View File

@@ -1,7 +1,8 @@
[gd_scene load_steps=4 format=3 uid="uid://decsef3jj3lt5"]
[gd_scene load_steps=5 format=3 uid="uid://decsef3jj3lt5"]
[ext_resource type="Script" path="res://game.gd" id="1_bhcvq"]
[ext_resource type="PackedScene" uid="uid://bhvihrt8dipll" path="res://button.tscn" id="1_j4pve"]
[ext_resource type="PackedScene" uid="uid://bhvihrt8dipll" path="res://Scenes/Button/button.tscn" id="1_j4pve"]
[ext_resource type="PackedScene" uid="uid://du2jgrreaylhr" path="res://Scenes/dialog.tscn" id="3_s0nfr"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_sesmb"]
size = Vector2(995, 433.534)
@@ -77,6 +78,8 @@ debug_color = Color(0, 0.6, 0.701961, 0.14902)
[node name="SpawnTimer" type="Timer" parent="."]
wait_time = 0.5
autostart = true
[node name="Dialog" parent="." instance=ExtResource("3_s0nfr")]
[connection signal="timeout" from="SpawnTimer" to="." method="_on_spawn_timer_timeout"]
[connection signal="dialogue_over" from="Dialog" to="." method="_on_dialog_dialogue_over"]