summaryrefslogtreecommitdiff
path: root/scenes
diff options
context:
space:
mode:
Diffstat (limited to 'scenes')
-rw-r--r--scenes/skeleton.tscn8
-rw-r--r--scenes/test_map.tscn11
2 files changed, 16 insertions, 3 deletions
diff --git a/scenes/skeleton.tscn b/scenes/skeleton.tscn
new file mode 100644
index 0000000..8471909
--- /dev/null
+++ b/scenes/skeleton.tscn
@@ -0,0 +1,8 @@
+[gd_scene load_steps=3 format=3 uid="uid://bsn4a4tfensy8"]
+
+[ext_resource type="Texture2D" uid="uid://dh5sgjdwkps88" path="res://assets/sprites/skeleton.png" id="1_pbvs3"]
+[ext_resource type="Script" uid="uid://bef1fo3vgvxej" path="res://scripts/Enemy.cs" id="2_txkty"]
+
+[node name="Skeleton" type="Sprite2D"]
+texture = ExtResource("1_pbvs3")
+script = ExtResource("2_txkty")
diff --git a/scenes/test_map.tscn b/scenes/test_map.tscn
index 14a3aa4..446e6d7 100644
--- a/scenes/test_map.tscn
+++ b/scenes/test_map.tscn
@@ -1,7 +1,8 @@
-[gd_scene load_steps=3 format=4 uid="uid://u5h6iqyi8wd0"]
+[gd_scene load_steps=4 format=4 uid="uid://u5h6iqyi8wd0"]
[ext_resource type="TileSet" uid="uid://biilh0ufacguh" path="res://assets/test_tileset.tres" id="1_57l66"]
[ext_resource type="PackedScene" uid="uid://bl01llfbscv6r" path="res://scenes/character.tscn" id="2_fn2sa"]
+[ext_resource type="PackedScene" uid="uid://bsn4a4tfensy8" path="res://scenes/skeleton.tscn" id="3_57l66"]
[node name="Node2D" type="Node2D"]
@@ -14,6 +15,10 @@ tile_set = ExtResource("1_57l66")
anchor_mode = 0
zoom = Vector2(2, 2)
-[node name="Character" parent="." node_paths=PackedStringArray("map") instance=ExtResource("2_fn2sa")]
+[node name="Character" parent="." node_paths=PackedStringArray("Map") instance=ExtResource("2_fn2sa")]
position = Vector2(135, 135)
-map = NodePath("../Map")
+Map = NodePath("../Map")
+
+[node name="Skeleon" parent="." node_paths=PackedStringArray("Map") instance=ExtResource("3_57l66")]
+position = Vector2(184, 136)
+Map = NodePath("../Map")