summaryrefslogtreecommitdiff
path: root/scenes
diff options
context:
space:
mode:
authorMatheus <matheus.guedes.mg.m@gmail.com>2025-08-16 14:22:04 -0300
committerMatheus <matheus.guedes.mg.m@gmail.com>2025-08-16 14:22:04 -0300
commitc411c496394c7a782854e03f2be8fab4cc1e2a81 (patch)
tree6cecaa0f70c9b3fd49a9fce9b383d46c27c41dcd /scenes
parent588a80a339a64f15b2e3bada550beb14e16abe3e (diff)
Herança e preparativos para o sistema de turnos
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")