faire le ménage dans le bouzin
abracadabrac!
This commit is contained in:
9
animations/human/human.tscn
Normal file
9
animations/human/human.tscn
Normal file
@@ -0,0 +1,9 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://cg4dhp7qe68pt"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bsmk7gmdxhn5p" path="res://assest/persos/hero.png" id="1_msb5a"]
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D"]
|
||||
texture = ExtResource("1_msb5a")
|
||||
hframes = 56
|
||||
vframes = 20
|
||||
frame = 78
|
||||
321
animations/human/human_animation_player.tscn
Normal file
321
animations/human/human_animation_player.tscn
Normal file
@@ -0,0 +1,321 @@
|
||||
[gd_scene load_steps=21 format=3 uid="uid://bvsendl25xjju"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_ox0ew"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [1]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_rma32"]
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [590, 591, 592, 593, 594, 595, 596, 597, 598, 599]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_kyg5d"]
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [580, 581, 582, 583, 584, 585, 586, 587, 588, 589]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_vq2rn"]
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [560, 561, 562, 563, 564, 565, 566, 567, 568, 569]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_kcojr"]
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [570, 571, 572, 573, 574, 575, 576, 577, 578, 579]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_x55al"]
|
||||
length = 1.2
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_b67jn"]
|
||||
length = 1.2
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [528, 529, 530, 531, 532, 533, 534, 535, 536, 536, 537, 538]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_pfabv"]
|
||||
length = 1.2
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_gjwq5"]
|
||||
length = 1.2
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_b4kqc"]
|
||||
length = 0.6
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [74, 75, 76, 77, 78, 79]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_mwj7w"]
|
||||
length = 0.6
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [68, 69, 70, 71, 72, 73]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_jdm18"]
|
||||
resource_name = "idle_right"
|
||||
length = 0.6
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [56, 57, 58, 59, 60, 61]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_55bsc"]
|
||||
length = 0.6
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [62, 63, 64, 65, 66, 67]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_u4gjw"]
|
||||
length = 1.2
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_tp2bg"]
|
||||
length = 0.6
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [168, 169, 170, 171, 172, 173]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_usdt0"]
|
||||
length = 0.6
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [130, 131, 132, 133, 134, 135]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_xyu25"]
|
||||
length = 0.6
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [124, 125, 126, 127, 128, 129]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_37o3j"]
|
||||
length = 0.6
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [112, 113, 114, 115, 116, 117]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_lde32"]
|
||||
length = 0.6
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite2D:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [118, 119, 120, 121, 122, 123]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_l2iau"]
|
||||
_data = {
|
||||
"RESET": SubResource("Animation_ox0ew"),
|
||||
"giving_down": SubResource("Animation_rma32"),
|
||||
"giving_left": SubResource("Animation_kyg5d"),
|
||||
"giving_right": SubResource("Animation_vq2rn"),
|
||||
"giving_up": SubResource("Animation_kcojr"),
|
||||
"grabbing_down": SubResource("Animation_x55al"),
|
||||
"grabbing_left": SubResource("Animation_b67jn"),
|
||||
"grabbing_right": SubResource("Animation_pfabv"),
|
||||
"grabbing_up": SubResource("Animation_gjwq5"),
|
||||
"idle_down": SubResource("Animation_b4kqc"),
|
||||
"idle_left": SubResource("Animation_mwj7w"),
|
||||
"idle_right": SubResource("Animation_jdm18"),
|
||||
"idle_up": SubResource("Animation_55bsc"),
|
||||
"reading": SubResource("Animation_u4gjw"),
|
||||
"sleeping": SubResource("Animation_tp2bg"),
|
||||
"walking_down": SubResource("Animation_usdt0"),
|
||||
"walking_left": SubResource("Animation_xyu25"),
|
||||
"walking_right": SubResource("Animation_37o3j"),
|
||||
"walking_up": SubResource("Animation_lde32")
|
||||
}
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer"]
|
||||
libraries = {
|
||||
"": SubResource("AnimationLibrary_l2iau")
|
||||
}
|
||||
88
animations/human/human_state_machine.tres
Normal file
88
animations/human/human_state_machine.tres
Normal file
@@ -0,0 +1,88 @@
|
||||
[gd_resource type="AnimationNodeStateMachine" load_steps=19 format=3 uid="uid://ddr1ltkievtku"]
|
||||
|
||||
[ext_resource type="AnimationNodeBlendSpace2D" uid="uid://cy73mgvdr54rh" path="res://animations/human/human_walking_blend.tres" id="1_svxl8"]
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_8th2p"]
|
||||
animation = &"grabbing_left"
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_s1koi"]
|
||||
animation = &"grabbing_right"
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_11i5t"]
|
||||
animation = &"grabbing_up"
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_7cwjq"]
|
||||
animation = &"grabbing_down"
|
||||
|
||||
[sub_resource type="AnimationNodeBlendSpace2D" id="AnimationNodeBlendSpace2D_8okss"]
|
||||
blend_point_0/node = SubResource("AnimationNodeAnimation_8th2p")
|
||||
blend_point_0/pos = Vector2(-1, 0)
|
||||
blend_point_1/node = SubResource("AnimationNodeAnimation_s1koi")
|
||||
blend_point_1/pos = Vector2(1, 0)
|
||||
blend_point_2/node = SubResource("AnimationNodeAnimation_11i5t")
|
||||
blend_point_2/pos = Vector2(0, -1)
|
||||
blend_point_3/node = SubResource("AnimationNodeAnimation_7cwjq")
|
||||
blend_point_3/pos = Vector2(0, 1)
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_u7tkr"]
|
||||
animation = &"idle_left"
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_qbdxx"]
|
||||
animation = &"idle_right"
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_m4jlv"]
|
||||
animation = &"idle_up"
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_20jnf"]
|
||||
animation = &"idle_down"
|
||||
|
||||
[sub_resource type="AnimationNodeBlendSpace2D" id="AnimationNodeBlendSpace2D_epue7"]
|
||||
blend_point_0/node = SubResource("AnimationNodeAnimation_u7tkr")
|
||||
blend_point_0/pos = Vector2(-1, 0)
|
||||
blend_point_1/node = SubResource("AnimationNodeAnimation_qbdxx")
|
||||
blend_point_1/pos = Vector2(1, 0)
|
||||
blend_point_2/node = SubResource("AnimationNodeAnimation_m4jlv")
|
||||
blend_point_2/pos = Vector2(0, -1)
|
||||
blend_point_3/node = SubResource("AnimationNodeAnimation_20jnf")
|
||||
blend_point_3/pos = Vector2(0, 1)
|
||||
blend_mode = 2
|
||||
|
||||
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_qfvli"]
|
||||
advance_mode = 2
|
||||
advance_expression = "velocity"
|
||||
|
||||
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_8rhh4"]
|
||||
advance_mode = 2
|
||||
advance_expression = "!velocity"
|
||||
|
||||
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_b5dux"]
|
||||
advance_mode = 2
|
||||
advance_expression = "velocity"
|
||||
|
||||
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_8q1xr"]
|
||||
advance_mode = 2
|
||||
advance_expression = "!velocity"
|
||||
|
||||
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_on1es"]
|
||||
advance_mode = 2
|
||||
advance_expression = "wants_to_grab"
|
||||
|
||||
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_pxk2l"]
|
||||
advance_mode = 2
|
||||
advance_expression = "wants_to_grab"
|
||||
|
||||
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_t6jft"]
|
||||
break_loop_at_end = true
|
||||
switch_mode = 2
|
||||
advance_mode = 2
|
||||
|
||||
[resource]
|
||||
states/Start/position = Vector2(161.333, 82)
|
||||
states/grabing/node = SubResource("AnimationNodeBlendSpace2D_8okss")
|
||||
states/grabing/position = Vector2(629, 81.037)
|
||||
states/idling/node = SubResource("AnimationNodeBlendSpace2D_epue7")
|
||||
states/idling/position = Vector2(383.148, 81.5555)
|
||||
states/walking/node = ExtResource("1_svxl8")
|
||||
states/walking/position = Vector2(382.556, -106.667)
|
||||
transitions = ["Start", "walking", SubResource("AnimationNodeStateMachineTransition_qfvli"), "walking", "idling", SubResource("AnimationNodeStateMachineTransition_8rhh4"), "idling", "walking", SubResource("AnimationNodeStateMachineTransition_b5dux"), "Start", "idling", SubResource("AnimationNodeStateMachineTransition_8q1xr"), "idling", "grabing", SubResource("AnimationNodeStateMachineTransition_on1es"), "walking", "grabing", SubResource("AnimationNodeStateMachineTransition_pxk2l"), "grabing", "idling", SubResource("AnimationNodeStateMachineTransition_t6jft")]
|
||||
graph_offset = Vector2(-18, -138)
|
||||
24
animations/human/human_walking_blend.tres
Normal file
24
animations/human/human_walking_blend.tres
Normal file
@@ -0,0 +1,24 @@
|
||||
[gd_resource type="AnimationNodeBlendSpace2D" load_steps=5 format=3 uid="uid://cy73mgvdr54rh"]
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_uayji"]
|
||||
animation = &"walking_left"
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_gokxj"]
|
||||
animation = &"walking_right"
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_ej6m1"]
|
||||
animation = &"walking_up"
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_tuibh"]
|
||||
animation = &"walking_down"
|
||||
|
||||
[resource]
|
||||
blend_point_0/node = SubResource("AnimationNodeAnimation_uayji")
|
||||
blend_point_0/pos = Vector2(-1, 0)
|
||||
blend_point_1/node = SubResource("AnimationNodeAnimation_gokxj")
|
||||
blend_point_1/pos = Vector2(1, 0)
|
||||
blend_point_2/node = SubResource("AnimationNodeAnimation_ej6m1")
|
||||
blend_point_2/pos = Vector2(0, -1)
|
||||
blend_point_3/node = SubResource("AnimationNodeAnimation_tuibh")
|
||||
blend_point_3/pos = Vector2(0, 1)
|
||||
blend_mode = 2
|
||||
Reference in New Issue
Block a user