[gd_scene format=3 uid="uid://dkht2dvm4ob7d"] [ext_resource type="Texture2D" uid="uid://c00c0x1qv83o1" path="res://assets/graphics/enemies/slime_green.png" id="1_371uh"] [ext_resource type="Script" uid="uid://c8o8u4tesokv5" path="res://scripts/slime.gd" id="1_p2gj0"] [sub_resource type="CircleShape2D" id="CircleShape2D_p2gj0"] [sub_resource type="AtlasTexture" id="AtlasTexture_n6pvg"] atlas = ExtResource("1_371uh") region = Rect2(0, 24, 24, 24) [sub_resource type="AtlasTexture" id="AtlasTexture_pjw23"] atlas = ExtResource("1_371uh") region = Rect2(24, 24, 24, 24) [sub_resource type="AtlasTexture" id="AtlasTexture_2npkn"] atlas = ExtResource("1_371uh") region = Rect2(48, 24, 24, 24) [sub_resource type="AtlasTexture" id="AtlasTexture_fd6lc"] atlas = ExtResource("1_371uh") region = Rect2(72, 24, 24, 24) [sub_resource type="SpriteFrames" id="SpriteFrames_gstla"] animations = [{ "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_n6pvg") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_pjw23") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_2npkn") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_fd6lc") }], "loop": true, "name": &"default", "speed": 5.0 }] [node name="Slime" type="Area2D" unique_id=1858169899] script = ExtResource("1_p2gj0") [node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1326300520] shape = SubResource("CircleShape2D_p2gj0") debug_color = Color(0.32381785, 0.6223806, 0.15175426, 0.41960785) [node name="SlimeGraphic" type="AnimatedSprite2D" parent="." unique_id=1596575911] texture_filter = 1 position = Vector2(0, -2) sprite_frames = SubResource("SpriteFrames_gstla") autoplay = "default" [node name="RightCast" type="RayCast2D" parent="." unique_id=1564439268] target_position = Vector2(16, 0) [node name="LeftCast" type="RayCast2D" parent="." unique_id=1316242758] target_position = Vector2(-16, 0) [node name="LeftDownCast" type="RayCast2D" parent="." unique_id=1465075999] position = Vector2(-9, 0) target_position = Vector2(0, 12) [node name="RightDownCast" type="RayCast2D" parent="." unique_id=1510899118] position = Vector2(10, 0) target_position = Vector2(0, 12) [connection signal="body_entered" from="." to="." method="_on_body_entered"]