485 lines
12 KiB
Plaintext
485 lines
12 KiB
Plaintext
[gd_scene format=3 uid="uid://cc7dl0ctjviwq"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dnrysjgetstj4" path="res://data/graphics/sprites/monsters/slime-sludge.png" id="1_vcu2t"]
|
|
[ext_resource type="Texture2D" uid="uid://d1y3s58v1kslt" path="res://data/graphics/sprites/accessories/fire.png" id="2_j05ha"]
|
|
[ext_resource type="Script" uid="uid://dp084bex5gych" path="res://sources/actor/entity/sprites/AnimatedSprite2DRandomnizer.gd" id="3_4et6q"]
|
|
[ext_resource type="PackedScene" uid="uid://bpqxr3214t821" path="res://presets/effects/LightSource.tscn" id="3_7jtt6"]
|
|
[ext_resource type="PackedScene" uid="uid://bdy4jc6k38ksb" path="res://presets/entities/sprites/animations/4Directions.tscn" id="3_mg0gu"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_7mdqg"]
|
|
atlas = ExtResource("2_j05ha")
|
|
region = Rect2(0, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_fn63g"]
|
|
atlas = ExtResource("2_j05ha")
|
|
region = Rect2(32, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_uhxt5"]
|
|
atlas = ExtResource("2_j05ha")
|
|
region = Rect2(64, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_22mix"]
|
|
atlas = ExtResource("2_j05ha")
|
|
region = Rect2(96, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_a62h6"]
|
|
atlas = ExtResource("2_j05ha")
|
|
region = Rect2(128, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_uuw8y"]
|
|
atlas = ExtResource("2_j05ha")
|
|
region = Rect2(160, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_73bjq"]
|
|
atlas = ExtResource("2_j05ha")
|
|
region = Rect2(192, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_rd4do"]
|
|
atlas = ExtResource("2_j05ha")
|
|
region = Rect2(224, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2m2af"]
|
|
atlas = ExtResource("2_j05ha")
|
|
region = Rect2(256, 0, 32, 32)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_ofu36"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_7mdqg")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_fn63g")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_uhxt5")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_22mix")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_a62h6")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_uuw8y")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_73bjq")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_rd4do")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_2m2af")
|
|
}],
|
|
"loop": true,
|
|
"name": &"Idle",
|
|
"speed": 9.0
|
|
}]
|
|
|
|
[sub_resource type="Animation" id="Animation_qks5j"]
|
|
resource_name = "AttackDown"
|
|
length = 0.4
|
|
loop_mode = 1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
|
"update": 1,
|
|
"values": [22, 23, 24, 25]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_apvk4"]
|
|
resource_name = "AttackLeft"
|
|
length = 0.4
|
|
loop_mode = 1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
|
"update": 1,
|
|
"values": [4, 5, 6, 7]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_hrf5s"]
|
|
resource_name = "AttackRight"
|
|
length = 0.4
|
|
loop_mode = 1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
|
"update": 1,
|
|
"values": [22, 23, 24, 25]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_t4ydb"]
|
|
resource_name = "AttackUp"
|
|
length = 0.4
|
|
loop_mode = 1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
|
"update": 1,
|
|
"values": [4, 5, 6, 7]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_ha1pu"]
|
|
resource_name = "Death"
|
|
length = 2.0
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [8]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("../Fire:visible")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0, 2),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 1,
|
|
"values": [true, false]
|
|
}
|
|
tracks/2/type = "value"
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/path = NodePath("../Fire/TorchGlow:radius")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/keys = {
|
|
"times": PackedFloat32Array(0, 2),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [96, 0]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="6"]
|
|
resource_name = "IdleDown"
|
|
length = 0.1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [0]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="7"]
|
|
resource_name = "IdleLeft"
|
|
length = 0.1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [9]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="8"]
|
|
resource_name = "IdleRight"
|
|
length = 0.1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [27]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="9"]
|
|
resource_name = "IdleUp"
|
|
length = 0.1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [18]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="40"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [19]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("../Fire/TorchGlow:radius")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [96]
|
|
}
|
|
tracks/2/type = "value"
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/path = NodePath("../Fire:visible")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [true]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="35"]
|
|
resource_name = "SitDown"
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [0]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="36"]
|
|
resource_name = "SitLeft"
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [12]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="37"]
|
|
resource_name = "SitRight"
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [6]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="38"]
|
|
resource_name = "SitUp"
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [18]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_pwq8w"]
|
|
resource_name = "Trigger"
|
|
length = 0.1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [0]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="3"]
|
|
resource_name = "WalkDown"
|
|
length = 0.8
|
|
loop_mode = 1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.2, 0.4, 0.6),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
|
"update": 1,
|
|
"values": [1, 2, 3, 0]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="4"]
|
|
resource_name = "WalkLeft"
|
|
length = 0.8
|
|
loop_mode = 1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.2, 0.4, 0.6),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
|
"update": 1,
|
|
"values": [10, 11, 12, 9]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="2"]
|
|
resource_name = "WalkRight"
|
|
length = 0.8
|
|
loop_mode = 1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.2, 0.4, 0.6),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
|
"update": 1,
|
|
"values": [28, 29, 30, 27]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="5"]
|
|
resource_name = "WalkUp"
|
|
length = 0.8
|
|
loop_mode = 1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.2, 0.4, 0.6),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
|
"update": 1,
|
|
"values": [19, 20, 21, 18]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_iko4k"]
|
|
_data = {
|
|
&"AttackDown": SubResource("Animation_qks5j"),
|
|
&"AttackLeft": SubResource("Animation_apvk4"),
|
|
&"AttackRight": SubResource("Animation_hrf5s"),
|
|
&"AttackUp": SubResource("Animation_t4ydb"),
|
|
&"Death": SubResource("Animation_ha1pu"),
|
|
&"IdleDown": SubResource("6"),
|
|
&"IdleLeft": SubResource("7"),
|
|
&"IdleRight": SubResource("8"),
|
|
&"IdleUp": SubResource("9"),
|
|
&"RESET": SubResource("40"),
|
|
&"SitDown": SubResource("35"),
|
|
&"SitLeft": SubResource("36"),
|
|
&"SitRight": SubResource("37"),
|
|
&"SitUp": SubResource("38"),
|
|
&"Trigger": SubResource("Animation_pwq8w"),
|
|
&"WalkDown": SubResource("3"),
|
|
&"WalkLeft": SubResource("4"),
|
|
&"WalkRight": SubResource("2"),
|
|
&"WalkUp": SubResource("5")
|
|
}
|
|
|
|
[node name="Slime" type="Node2D" unique_id=22814778]
|
|
|
|
[node name="Body" type="Sprite2D" parent="." unique_id=912386068]
|
|
texture = ExtResource("1_vcu2t")
|
|
offset = Vector2(0, -12)
|
|
hframes = 9
|
|
vframes = 4
|
|
frame = 19
|
|
|
|
[node name="Fire" type="AnimatedSprite2D" parent="." unique_id=1133801684]
|
|
sprite_frames = SubResource("SpriteFrames_ofu36")
|
|
animation = &"Idle"
|
|
autoplay = "Idle"
|
|
frame_progress = 0.815769
|
|
offset = Vector2(0, -22)
|
|
script = ExtResource("3_4et6q")
|
|
|
|
[node name="TorchGlow" parent="Fire" unique_id=1242748062 instance=ExtResource("3_7jtt6")]
|
|
position = Vector2(0, -15)
|
|
radius = 96
|
|
|
|
[node name="Animation" type="AnimationPlayer" parent="." unique_id=1348625034]
|
|
root_node = NodePath("../Body")
|
|
libraries/ = SubResource("AnimationLibrary_iko4k")
|
|
|
|
[node name="AnimationTree" parent="Animation" unique_id=735565280 instance=ExtResource("3_mg0gu")]
|
|
root_node = NodePath("../../Body")
|