diff options
Diffstat (limited to 'Scenes/Entities/Enemies/Slime.tscn')
-rw-r--r-- | Scenes/Entities/Enemies/Slime.tscn | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/Scenes/Entities/Enemies/Slime.tscn b/Scenes/Entities/Enemies/Slime.tscn index f30d161..50927b3 100644 --- a/Scenes/Entities/Enemies/Slime.tscn +++ b/Scenes/Entities/Enemies/Slime.tscn @@ -1,11 +1,16 @@ -[gd_scene load_steps=11 format=3 uid="uid://d3evry1ketf0s"] +[gd_scene load_steps=16 format=3 uid="uid://d3evry1ketf0s"] [ext_resource type="Script" path="res://Scenes/Entities/Enemies/Slime.gd" id="1_2xftl"] [ext_resource type="Texture2D" uid="uid://ca7oars0vec8k" path="res://Assets/Enemies/Slime_death.png" id="2_mqou3"] [ext_resource type="Texture2D" uid="uid://b88dvu2ridy4t" path="res://Assets/Enemies/Slime_01.png" id="3_20mej"] +[ext_resource type="Texture2D" uid="uid://cpl4n4jmgiwrv" path="res://Assets/Enemies/Enemy_death_01_01.png" id="3_fd7f8"] +[ext_resource type="Texture2D" uid="uid://d2gk5amafhctu" path="res://Assets/Enemies/Enemy_death_01_02.png" id="4_pgm70"] [ext_resource type="Texture2D" uid="uid://bndhg7wom64mq" path="res://Assets/Enemies/Slime_02.png" id="4_r6mjl"] +[ext_resource type="Texture2D" uid="uid://dqwxq3g3aph4i" path="res://Assets/Enemies/Enemy_death_01_03.png" id="5_0pqwp"] [ext_resource type="Texture2D" uid="uid://dh7vaujrw6i26" path="res://Assets/Enemies/Slime_03.png" id="5_mm7vy"] +[ext_resource type="Texture2D" uid="uid://uoj5222vlq8q" path="res://Assets/Enemies/Enemy_death_01_04.png" id="6_dllhk"] [ext_resource type="PackedScene" uid="uid://cq7yj2av01tqd" path="res://Scenes/Entities/Enemies/Components/Movement.tscn" id="6_u48ct"] +[ext_resource type="Texture2D" uid="uid://cxx2vv1ohiw07" path="res://Assets/Enemies/Enemy_death_01_05.png" id="7_iujdy"] [ext_resource type="PackedScene" uid="uid://ce3vv2pod6auc" path="res://Scenes/Entities/Enemies/Components/Collision.tscn" id="7_kjjor"] [ext_resource type="PackedScene" uid="uid://b3i372vgdbxk" path="res://Scenes/Entities/Enemies/Components/Health.tscn" id="8_klsy3"] @@ -20,6 +25,26 @@ animations = [{ }], "loop": false, "name": &"death", +"speed": 1.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": ExtResource("3_fd7f8") +}, { +"duration": 1.0, +"texture": ExtResource("4_pgm70") +}, { +"duration": 1.0, +"texture": ExtResource("5_0pqwp") +}, { +"duration": 1.0, +"texture": ExtResource("6_dllhk") +}, { +"duration": 1.0, +"texture": ExtResource("7_iujdy") +}], +"loop": false, +"name": &"death_post", "speed": 2.0 }, { "frames": [{ @@ -49,6 +74,7 @@ script = ExtResource("1_2xftl") shape = SubResource("CircleShape2D_f54tg") [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] +texture_filter = 1 sprite_frames = SubResource("SpriteFrames_4e1a7") [node name="Movement" parent="." instance=ExtResource("6_u48ct")] @@ -65,4 +91,5 @@ component_health_path = NodePath("../Health") [node name="Health" parent="." instance=ExtResource("8_klsy3")] entityPath = NodePath("..") spritePath = NodePath("../AnimatedSprite2D") +component_movement_path = NodePath("../Movement") health = 1 |