feat: add simulation garden demo controls

This commit is contained in:
2026-07-07 15:56:24 +02:00
parent b0bad6c467
commit 4bfc09d5f6
9 changed files with 124 additions and 6 deletions
+6
View File
@@ -10,6 +10,7 @@
[ext_resource type="Script" path="res://simulation/persistence/SaveSlotController.gd" id="10_save"]
[ext_resource type="PackedScene" path="res://world/jajce/JajceWorld.tscn" id="11_jajce"]
[ext_resource type="Script" path="res://world/ui/time_dial.gd" id="12_timedial"]
[ext_resource type="Script" path="res://world/demo/DemoController.gd" id="13_demo"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_o5qli"]
radius = 0.4
@@ -83,6 +84,11 @@ active_npcs_parent = NodePath("../ActiveNPCs")
script = ExtResource("6_7mycd")
simulation_manager = NodePath("../SimulationManager")
[node name="DemoController" type="Node" parent="." node_paths=PackedStringArray("ui", "active_npcs_parent")]
script = ExtResource("13_demo")
ui = NodePath("../UI")
active_npcs_parent = NodePath("../ActiveNPCs")
[node name="VillagePanel" type="PanelContainer" parent="UI" unique_id=482126250]
offset_left = 20.0
offset_top = 20.0