67 lines
2.3 KiB
Plaintext
67 lines
2.3 KiB
Plaintext
[gd_scene load_steps=14 format=2]
|
|
|
|
[ext_resource path="res://characters/female_2018.escn" type="PackedScene" id=1]
|
|
|
|
[sub_resource type="AnimationNodeAdd2" id=1]
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id=2]
|
|
animation = "stand"
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id=3]
|
|
animation = "additive-wiggling-loop"
|
|
|
|
[sub_resource type="AnimationNodeBlendTree" id=4]
|
|
nodes/Add2/node = SubResource( 1 )
|
|
nodes/Add2/position = Vector2( 580, 120 )
|
|
nodes/Animation/node = SubResource( 3 )
|
|
nodes/Animation/position = Vector2( 100, 260 )
|
|
"nodes/Animation 2/node" = SubResource( 2 )
|
|
"nodes/Animation 2/position" = Vector2( 120, 100 )
|
|
nodes/output/position = Vector2( 1020, 160 )
|
|
node_connections = [ "output", 0, "Add2", "Add2", 0, "Animation 2", "Add2", 1, "Animation" ]
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id=5]
|
|
animation = "walk-loop"
|
|
|
|
[sub_resource type="AnimationNodeTimeScale" id=6]
|
|
|
|
[sub_resource type="AnimationNodeBlendTree" id=7]
|
|
nodes/Animation/node = SubResource( 5 )
|
|
nodes/Animation/position = Vector2( 80, 120 )
|
|
nodes/TimeScale/node = SubResource( 6 )
|
|
nodes/TimeScale/position = Vector2( 400, 120 )
|
|
nodes/output/position = Vector2( 820, 160 )
|
|
node_connections = [ "output", 0, "TimeScale", "TimeScale", 0, "Animation" ]
|
|
|
|
[sub_resource type="AnimationNodeStateMachineTransition" id=8]
|
|
|
|
[sub_resource type="AnimationNodeStateMachineTransition" id=9]
|
|
|
|
[sub_resource type="AnimationNodeStateMachine" id=10]
|
|
states/Idle/node = SubResource( 4 )
|
|
states/Idle/position = Vector2( 194, 105 )
|
|
states/Walk/node = SubResource( 7 )
|
|
states/Walk/position = Vector2( 344, 217 )
|
|
transitions = [ "Idle", "Walk", SubResource( 8 ), "Walk", "Idle", SubResource( 9 ) ]
|
|
start_node = "Idle"
|
|
|
|
[sub_resource type="AnimationNodeBlendTree" id=11]
|
|
graph_offset = Vector2( 0, -268.75 )
|
|
nodes/base/node = SubResource( 10 )
|
|
nodes/base/position = Vector2( 80, 140 )
|
|
nodes/output/position = Vector2( 420, 140 )
|
|
node_connections = [ "output", 0, "base" ]
|
|
|
|
[sub_resource type="AnimationNodeStateMachinePlayback" id=12]
|
|
|
|
[node name="female_2018" index="0" instance=ExtResource( 1 )]
|
|
|
|
[node name="AnimationTree" type="AnimationTree" parent="." index="1"]
|
|
tree_root = SubResource( 11 )
|
|
anim_player = NodePath("../female_2018/AnimationPlayer")
|
|
active = true
|
|
root_motion_track = NodePath(".:root")
|
|
parameters/base/playback = SubResource( 12 )
|
|
parameters/base/Idle/Add2/add_amount = 0.3
|
|
parameters/base/Walk/TimeScale/scale = 1.0
|