363 lines
8.9 KiB
Plaintext
363 lines
8.9 KiB
Plaintext
[gd_scene format=3 uid="uid://cs3cgktwqe00i"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://b672g8vfnoww1" path="res://data/graphics/sprites/monsters/lynx.png" id="1_4i34q"]
|
|
[ext_resource type="PackedScene" uid="uid://bdy4jc6k38ksb" path="res://presets/entities/sprites/animations/4Directions.tscn" id="2_cy3cf"]
|
|
|
|
[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.166667, 0.333333),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
|
"update": 1,
|
|
"values": [31, 32, 33, 34]
|
|
}
|
|
|
|
[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.166667, 0.333333),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
|
"update": 1,
|
|
"values": [7, 8, 9, 10]
|
|
}
|
|
|
|
[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.166667, 0.333333),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
|
"update": 1,
|
|
"values": [19, 20, 21, 22]
|
|
}
|
|
|
|
[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.166667, 0.333333),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
|
"update": 1,
|
|
"values": [43, 44, 45, 46]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_ha1pu"]
|
|
resource_name = "Death"
|
|
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": [11]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="6"]
|
|
resource_name = "IdleDown"
|
|
length = 0.45
|
|
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.15, 0.3),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 1,
|
|
"values": [24, 25, 26]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="7"]
|
|
resource_name = "IdleLeft"
|
|
length = 0.45
|
|
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.15, 0.3),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 1,
|
|
"values": [0, 1, 2]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="8"]
|
|
resource_name = "IdleRight"
|
|
length = 0.45
|
|
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.15, 0.3),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 1,
|
|
"values": [12, 13, 14]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="9"]
|
|
resource_name = "IdleUp"
|
|
length = 0.45
|
|
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.15, 0.3),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 1,
|
|
"values": [36, 37, 38]
|
|
}
|
|
|
|
[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]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="35"]
|
|
resource_name = "SitDown"
|
|
length = 0.45
|
|
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.15, 0.3),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 1,
|
|
"values": [24, 25, 26]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="36"]
|
|
resource_name = "SitLeft"
|
|
length = 0.45
|
|
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.15, 0.3),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 1,
|
|
"values": [0, 1, 2]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="37"]
|
|
resource_name = "SitRight"
|
|
length = 0.45
|
|
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.15, 0.3),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 1,
|
|
"values": [12, 13, 14]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="38"]
|
|
resource_name = "SitUp"
|
|
length = 0.45
|
|
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.15, 0.3),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 1,
|
|
"values": [36, 37, 38]
|
|
}
|
|
|
|
[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": [24]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="3"]
|
|
resource_name = "WalkDown"
|
|
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": [27, 28, 29, 30]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="4"]
|
|
resource_name = "WalkLeft"
|
|
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.295361),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
|
"update": 1,
|
|
"values": [3, 4, 5, 6]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="2"]
|
|
resource_name = "WalkRight"
|
|
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.295361),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
|
"update": 1,
|
|
"values": [15, 16, 17, 18]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="5"]
|
|
resource_name = "WalkUp"
|
|
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.295361),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
|
"update": 1,
|
|
"values": [39, 40, 41, 42]
|
|
}
|
|
|
|
[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="Generic" type="Node2D" unique_id=1023966928]
|
|
|
|
[node name="Body" type="Sprite2D" parent="." unique_id=1963735401]
|
|
texture = ExtResource("1_4i34q")
|
|
offset = Vector2(0, -30)
|
|
hframes = 12
|
|
vframes = 4
|
|
frame = 19
|
|
|
|
[node name="Animation" type="AnimationPlayer" parent="." unique_id=619509206]
|
|
root_node = NodePath("../Body")
|
|
libraries/ = SubResource("AnimationLibrary_iko4k")
|
|
|
|
[node name="AnimationTree" parent="Animation" unique_id=40958837 instance=ExtResource("2_cy3cf")]
|
|
root_node = NodePath("../../Body")
|