411 lines
11 KiB
Plaintext
411 lines
11 KiB
Plaintext
[gd_scene format=3 uid="uid://ccotbw7gepsge"]
|
|
|
|
[ext_resource type="Script" uid="uid://1drpgylrgrjj" path="res://scripts/slime.gd" id="1_1a61f"]
|
|
[ext_resource type="Script" uid="uid://cjkaw7wqw4e30" path="res://scripts/drop_table.gd" id="2_2npkn"]
|
|
[ext_resource type="Texture2D" uid="uid://e3ihc570p1n0" path="res://assets/Slime1/Without_shadow/Slime1_Death_without_shadow.png" id="2_kjhlw"]
|
|
[ext_resource type="PackedScene" uid="uid://dm6d2jg52vi41" path="res://scenes/apple.tscn" id="3_fd6lc"]
|
|
[ext_resource type="Texture2D" uid="uid://cxddvfs2wfwcl" path="res://assets/Slime1/Without_shadow/Slime1_Idle_without_shadow.png" id="3_rrqju"]
|
|
[ext_resource type="Texture2D" uid="uid://b2bmw70co6noy" path="res://assets/Slime1/Without_shadow/Slime1_Walk_without_shadow.png" id="4_wyhst"]
|
|
|
|
[sub_resource type="Resource" id="Resource_gstla"]
|
|
script = ExtResource("2_2npkn")
|
|
drop = ExtResource("3_fd6lc")
|
|
chance = 0.3
|
|
metadata/_custom_type_script = "uid://cjkaw7wqw4e30"
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_v5wyi"]
|
|
atlas = ExtResource("2_kjhlw")
|
|
region = Rect2(0, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0l8pv"]
|
|
atlas = ExtResource("2_kjhlw")
|
|
region = Rect2(64, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_vnioy"]
|
|
atlas = ExtResource("2_kjhlw")
|
|
region = Rect2(128, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2xjuo"]
|
|
atlas = ExtResource("2_kjhlw")
|
|
region = Rect2(192, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_a02ik"]
|
|
atlas = ExtResource("2_kjhlw")
|
|
region = Rect2(256, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_pu8ps"]
|
|
atlas = ExtResource("2_kjhlw")
|
|
region = Rect2(320, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_g40cl"]
|
|
atlas = ExtResource("2_kjhlw")
|
|
region = Rect2(384, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_cxm07"]
|
|
atlas = ExtResource("2_kjhlw")
|
|
region = Rect2(448, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_g2qvl"]
|
|
atlas = ExtResource("2_kjhlw")
|
|
region = Rect2(512, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_tyl0w"]
|
|
atlas = ExtResource("2_kjhlw")
|
|
region = Rect2(576, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_p2gj0"]
|
|
atlas = ExtResource("3_rrqju")
|
|
region = Rect2(0, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_n6pvg"]
|
|
atlas = ExtResource("3_rrqju")
|
|
region = Rect2(64, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_pjw23"]
|
|
atlas = ExtResource("3_rrqju")
|
|
region = Rect2(128, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2npkn"]
|
|
atlas = ExtResource("3_rrqju")
|
|
region = Rect2(192, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_fd6lc"]
|
|
atlas = ExtResource("3_rrqju")
|
|
region = Rect2(256, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_gstla"]
|
|
atlas = ExtResource("3_rrqju")
|
|
region = Rect2(320, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_fur4c"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(0, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2v7ff"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(64, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_35t6e"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(128, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_pbccl"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(192, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_24adn"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(256, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_w8bnk"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(320, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_1kmbt"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(384, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_a8sfj"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(448, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_kwlqs"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(0, 128, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_qwlg4"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(64, 128, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_1sdgb"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(128, 128, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_rrr3x"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(192, 128, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_eyfvk"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(256, 128, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_iscye"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(320, 128, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_aq06o"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(384, 128, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_3tc40"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(448, 128, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_klxi6"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(0, 192, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0yeyc"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(64, 192, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_t6mwi"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(128, 192, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_7d6fo"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(192, 192, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_rewg1"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(256, 192, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_h6x3v"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(320, 192, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_sacx8"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(384, 192, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_jn7vh"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(448, 192, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_rp1f2"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(0, 64, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_mfrqf"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(64, 64, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_nhl3i"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(128, 64, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_4qj7p"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(192, 64, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_kf0ob"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(256, 64, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_txv6o"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(320, 64, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_kut4w"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(384, 64, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_f1chl"]
|
|
atlas = ExtResource("4_wyhst")
|
|
region = Rect2(448, 64, 64, 64)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_cbi0b"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_v5wyi")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_0l8pv")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_vnioy")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_2xjuo")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_a02ik")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_pu8ps")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_g40cl")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_cxm07")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_g2qvl")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_tyl0w")
|
|
}],
|
|
"loop": false,
|
|
"name": &"death",
|
|
"speed": 10.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_p2gj0")
|
|
}, {
|
|
"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")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_gstla")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 10.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_fur4c")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_2v7ff")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_35t6e")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_pbccl")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_24adn")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_w8bnk")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_1kmbt")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_a8sfj")
|
|
}],
|
|
"loop": true,
|
|
"name": &"walk_down",
|
|
"speed": 10.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_kwlqs")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_qwlg4")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_1sdgb")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_rrr3x")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_eyfvk")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_iscye")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_aq06o")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_3tc40")
|
|
}],
|
|
"loop": true,
|
|
"name": &"walk_left",
|
|
"speed": 10.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_klxi6")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_0yeyc")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_t6mwi")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_7d6fo")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_rewg1")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_h6x3v")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_sacx8")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_jn7vh")
|
|
}],
|
|
"loop": true,
|
|
"name": &"walk_right",
|
|
"speed": 10.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_rp1f2")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_mfrqf")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_nhl3i")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_4qj7p")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_kf0ob")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_txv6o")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_kut4w")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_f1chl")
|
|
}],
|
|
"loop": true,
|
|
"name": &"walk_up",
|
|
"speed": 10.0
|
|
}]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_siike"]
|
|
radius = 7.071068
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_pjw23"]
|
|
radius = 8.062258
|
|
|
|
[node name="Slime" type="CharacterBody2D" unique_id=1684858295]
|
|
script = ExtResource("1_1a61f")
|
|
drop_table = Array[ExtResource("2_2npkn")]([SubResource("Resource_gstla")])
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=752118449]
|
|
texture_filter = 1
|
|
sprite_frames = SubResource("SpriteFrames_cbi0b")
|
|
animation = &"death"
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=769710804]
|
|
position = Vector2(0, 1)
|
|
shape = SubResource("CircleShape2D_siike")
|
|
|
|
[node name="Area2D" type="Area2D" parent="." unique_id=1450702908]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=951963224]
|
|
position = Vector2(0, 1)
|
|
shape = SubResource("CircleShape2D_pjw23")
|
|
|
|
[connection signal="body_entered" from="Area2D" to="." method="_on_area_2d_body_entered"]
|