summaryrefslogtreecommitdiff
path: root/enemy.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'enemy.tscn')
-rw-r--r--enemy.tscn18
1 files changed, 18 insertions, 0 deletions
diff --git a/enemy.tscn b/enemy.tscn
new file mode 100644
index 0000000..c4eb0d9
--- /dev/null
+++ b/enemy.tscn
@@ -0,0 +1,18 @@
+[gd_scene format=3 uid="uid://cg808l58igcrq"]
+
+[ext_resource type="Script" uid="uid://cml2xy7flhfn6" path="res://scripts/Enemy.cs" id="1_4gyqm"]
+[ext_resource type="Texture2D" uid="uid://mxuhmaj6nqfw" path="res://2D Pixel Dungeon Asset Pack/Character_animation/monsters_idle/vampire/v2/vampire_v2_1.png" id="2_qi2p4"]
+
+[sub_resource type="RectangleShape2D" id="RectangleShape2D_ovjgd"]
+size = Vector2(12, 14)
+
+[node name="Enemy" type="CharacterBody2D" unique_id=575877799]
+collision_layer = 4
+collision_mask = 7
+script = ExtResource("1_4gyqm")
+
+[node name="Sprite2D" type="Sprite2D" parent="." unique_id=2046016517]
+texture = ExtResource("2_qi2p4")
+
+[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1799666271]
+shape = SubResource("RectangleShape2D_ovjgd")