[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"] [sub_resource type="CircleShape2D" id="CircleShape2D_f54tg"] radius = 6.0 [sub_resource type="SpriteFrames" id="SpriteFrames_4e1a7"] animations = [{ "frames": [{ "duration": 1.0, "texture": ExtResource("2_mqou3") }], "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": [{ "duration": 1.0, "texture": ExtResource("3_20mej") }, { "duration": 1.0, "texture": ExtResource("4_r6mjl") }, { "duration": 1.0, "texture": ExtResource("3_20mej") }, { "duration": 1.0, "texture": ExtResource("5_mm7vy") }], "loop": true, "name": &"default", "speed": 8.0 }] [node name="Slime" type="CharacterBody2D"] collision_layer = 16 collision_mask = 188 script = ExtResource("1_2xftl") [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2(0, -6) shape = SubResource("CircleShape2D_f54tg") [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] texture_filter = 1 position = Vector2(0, -6.25) sprite_frames = SubResource("SpriteFrames_4e1a7") [node name="Movement" parent="." instance=ExtResource("6_u48ct")] entityPath = NodePath("..") spritePath = NodePath("../AnimatedSprite2D") SPEED = 12 timer_time = 5.0 [node name="Collision" parent="." instance=ExtResource("7_kjjor")] entityPath = NodePath("..") collision_shape_path = NodePath("../CollisionShape2D") 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