[gd_scene load_steps=9 format=3 uid="uid://be2vjlkq6yqkg"] [ext_resource type="Script" path="res://scripts/slime.gd" id="1_ni35c"] [ext_resource type="Texture2D" uid="uid://dh1ujlbcmhclf" path="res://assets/graphics/enemies/slime_green.png" id="2_1uit2"] [sub_resource type="AtlasTexture" id="AtlasTexture_25knt"] atlas = ExtResource("2_1uit2") region = Rect2(0, 24, 24, 24) [sub_resource type="AtlasTexture" id="AtlasTexture_8g1ih"] atlas = ExtResource("2_1uit2") region = Rect2(24, 24, 24, 24) [sub_resource type="AtlasTexture" id="AtlasTexture_n5asy"] atlas = ExtResource("2_1uit2") region = Rect2(48, 24, 24, 24) [sub_resource type="AtlasTexture" id="AtlasTexture_moile"] atlas = ExtResource("2_1uit2") region = Rect2(72, 24, 24, 24) [sub_resource type="SpriteFrames" id="SpriteFrames_yl17c"] animations = [{ "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_25knt") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_8g1ih") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_n5asy") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_moile") }], "loop": true, "name": &"idle", "speed": 4.0 }] [sub_resource type="RectangleShape2D" id="RectangleShape2D_7xwt3"] size = Vector2(12, 12.3888) [node name="Area2D" type="Area2D"] script = ExtResource("1_ni35c") [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] texture_filter = 1 sprite_frames = SubResource("SpriteFrames_yl17c") animation = &"idle" autoplay = "idle" frame = 3 frame_progress = 0.0536824 [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2(0, 4.5) scale = Vector2(1.25525, 1.21078) shape = SubResource("RectangleShape2D_7xwt3") [connection signal="body_entered" from="." to="." method="_on_body_entered"]