最终整理版
This commit is contained in:
@@ -0,0 +1,197 @@
|
||||
[gd_scene format=3 uid="uid://5mvbowqywcl7"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://blyhvichuk1fc" path="res://data/graphics/sprites/monsters/peyote.png" id="1_ad0n8"]
|
||||
[ext_resource type="PackedScene" uid="uid://btojurpsnh3pq" path="res://presets/entities/sprites/animations/1Direction.tscn" id="2_3qkpp"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_38rnv"]
|
||||
resource_name = "Attack"
|
||||
length = 0.5
|
||||
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, 0.4),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [0, 1, 2, 3, 4]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_kbkln"]
|
||||
resource_name = "Death"
|
||||
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.06666667, 0.2, 0.33333334, 0.43333334, 0.53333336, 0.6, 0.6666667, 0.73333335),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [1, 5, 6, 7, 8, 9, 10, 11, 12]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_8svaw"]
|
||||
resource_name = "From Trigger"
|
||||
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": [3, 2, 1, 0]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_x1wls"]
|
||||
resource_name = "Idle"
|
||||
length = 10.0
|
||||
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, 1.1, 1.2, 1.3, 1.4, 1.5, 1.7),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [0, 1, 2, 3, 2, 4, 0]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath(".:position")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0, 1.1333333, 1.2333333, 1.5333333, 1.7333333),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector2(0, 0), Vector2(0, 0), Vector2(0, -3), Vector2(0, -15), Vector2(0, 0)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_tli2y"]
|
||||
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": [3]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath(".:position")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector2(0, -4)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_5moda"]
|
||||
resource_name = "Sit"
|
||||
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="Animation_2ge8q"]
|
||||
resource_name = "To Trigger"
|
||||
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": [0, 1, 2, 3]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_v53m3"]
|
||||
resource_name = "Trigger"
|
||||
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": [3]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_yp2cr"]
|
||||
resource_name = "Walk"
|
||||
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="AnimationLibrary" id="AnimationLibrary_gf7hs"]
|
||||
_data = {
|
||||
&"Attack": SubResource("Animation_38rnv"),
|
||||
&"Death": SubResource("Animation_kbkln"),
|
||||
&"From Trigger": SubResource("Animation_8svaw"),
|
||||
&"Idle": SubResource("Animation_x1wls"),
|
||||
&"RESET": SubResource("Animation_tli2y"),
|
||||
&"Sit": SubResource("Animation_5moda"),
|
||||
&"To Trigger": SubResource("Animation_2ge8q"),
|
||||
&"Trigger": SubResource("Animation_v53m3"),
|
||||
&"Walk": SubResource("Animation_yp2cr")
|
||||
}
|
||||
|
||||
[node name="Peyote" type="Node2D" unique_id=736036800]
|
||||
|
||||
[node name="Body" type="Sprite2D" parent="." unique_id=1965116628]
|
||||
position = Vector2(0, -4)
|
||||
texture = ExtResource("1_ad0n8")
|
||||
offset = Vector2(0, -10)
|
||||
hframes = 4
|
||||
vframes = 4
|
||||
frame = 3
|
||||
|
||||
[node name="Animation" type="AnimationPlayer" parent="." unique_id=1756113725]
|
||||
root_node = NodePath("../Body")
|
||||
libraries/ = SubResource("AnimationLibrary_gf7hs")
|
||||
|
||||
[node name="AnimationTree" parent="Animation" unique_id=1984405014 instance=ExtResource("2_3qkpp")]
|
||||
root_node = NodePath("../../Body")
|
||||
Reference in New Issue
Block a user