summaryrefslogtreecommitdiff
path: root/scenes
diff options
context:
space:
mode:
Diffstat (limited to 'scenes')
-rw-r--r--scenes/DungeonLevel.tscn5
1 files changed, 3 insertions, 2 deletions
diff --git a/scenes/DungeonLevel.tscn b/scenes/DungeonLevel.tscn
index 43e70e2..6810ba7 100644
--- a/scenes/DungeonLevel.tscn
+++ b/scenes/DungeonLevel.tscn
@@ -5,8 +5,9 @@
[ext_resource type="PackedScene" uid="uid://c3wbuxeetj24a" path="res://scenes/Player.tscn" id="2_u6mlv"]
[ext_resource type="PackedScene" uid="uid://cnkx22hgs0b3p" path="res://scenes/Skeleton.tscn" id="4_8elbs"]
-[node name="Map" type="Node2D"]
+[node name="Map" type="Node2D" node_paths=PackedStringArray("actors")]
script = ExtResource("1_u6mlv")
+actors = [NodePath("Actors/Player"), NodePath("Actors/Skeleton")]
[node name="Dungeon" type="TileMapLayer" parent="."]
texture_filter = 1
@@ -18,5 +19,5 @@ tile_set = ExtResource("1_bxfih")
[node name="Player" parent="Actors" instance=ExtResource("2_u6mlv")]
position = Vector2(144, 144)
-[node name="Skeleton" parent="." instance=ExtResource("4_8elbs")]
+[node name="Skeleton" parent="Actors" instance=ExtResource("4_8elbs")]
position = Vector2(160, 128)