Browse Source

Added more animations and animation setup to the player.

master
Bryan Miller 4 years ago
parent
commit
7f7d6fdf23
1 changed files with 332 additions and 78 deletions
  1. +332
    -78
      Data/Objects/Player.tscn

+ 332
- 78
Data/Objects/Player.tscn View File

@@ -1,6 +1,7 @@
[gd_scene load_steps=24 format=2]
[gd_scene load_steps=45 format=2]

[ext_resource path="res://Data/Graphics/SS_001.png" type="Texture" id=1]
[ext_resource path="res://icon.png" type="Texture" id=2]

[sub_resource type="CapsuleShape2D" id=1]
radius = 6.0
@@ -9,6 +10,7 @@ height = 14.0
[sub_resource type="Animation" id=2]
resource_name = "Base"
length = 0.02
loop = true
step = 0.02
tracks/0/type = "value"
tracks/0/path = NodePath("Body/Sprite:frame")
@@ -403,6 +405,142 @@ tracks/5/keys = {
"times": PoolRealArray( 0, 0.1, 0.6, 0.8 )
}

[sub_resource type="Animation" id=22]
resource_name = "HandsShuffleA"
length = 0.9
tracks/0/type = "bezier"
tracks/0/path = NodePath("Body/Left Hand:position:x")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"points": PoolRealArray( 6.0746, -0.05, 0, 0.25, 0, 7.39715, -0.05, 0, 0.25, 0, 3.7129, -0.05, 0, 0.25, 0, 6.0746, -0.05, 0, 0.25, 0 ),
"times": PoolRealArray( 0, 0.2, 0.5, 0.9 )
}
tracks/1/type = "bezier"
tracks/1/path = NodePath("Body/Left Hand:position:y")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"points": PoolRealArray( -0.728951, -0.05, 0, 0.25, 0, -0.35108, -0.05, 0, 0.25, 0, 0.404663, -0.05, 0, 0.25, 0, -0.728951, -0.05, 0, 0.25, 0 ),
"times": PoolRealArray( 0, 0.2, 0.5, 0.9 )
}
tracks/2/type = "bezier"
tracks/2/path = NodePath("Body/Left Hand:rotation_degrees")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"points": PoolRealArray( 0, -0.05, 0, 0.25, 0 ),
"times": PoolRealArray( 0 )
}
tracks/3/type = "bezier"
tracks/3/path = NodePath("Body/Right Hand:position:x")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"points": PoolRealArray( -2.83482, -0.05, 0, 0.25, 0, -4.15738, -0.05, 0, 0.25, 0, -0.66206, -0.05, 0, 0.25, 0, -2.83482, -0.05, 0, 0.25, 0 ),
"times": PoolRealArray( 0, 0.2, 0.5, 0.9 )
}
tracks/4/type = "bezier"
tracks/4/path = NodePath("Body/Right Hand:position:y")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/keys = {
"points": PoolRealArray( -0.404972, -0.05, 0, 0.25, 0, -0.499439, -0.05, 0, 0.25, 0, 0.350771, -0.05, 0, 0.25, 0, -0.404972, -0.05, 0, 0.25, 0 ),
"times": PoolRealArray( 0, 0.2, 0.5, 0.9 )
}
tracks/5/type = "bezier"
tracks/5/path = NodePath("Body/Right Hand:rotation_degrees")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/keys = {
"points": PoolRealArray( 0, -0.05, 0, 0.25, 0 ),
"times": PoolRealArray( 0 )
}

[sub_resource type="Animation" id=23]
resource_name = "HandsShuffleB"
length = 2.8
tracks/0/type = "bezier"
tracks/0/path = NodePath("Body/Right Hand:position:x")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"points": PoolRealArray( -2.83482, -0.05, 0, 0, 0, -0.000782251, 0, 0, 0, 0, 2.54985, 0, 0, 0, 0, 4.1558, 0, 0, 0, 0, 4.25027, 0, 0, 0, 0, 4.62814, 0, 0, 0, 0, 4.34473, 0, 0, 0, 0, 4.1558, 0, 0, 0, 0, 2.54985, 0, 0, 0, 0, -0.000782251, 0, 0, 0, 0, -2.83482, 0, 0, 0.05, 0 ),
"times": PoolRealArray( 0, 0.2, 0.4, 0.6, 0.8, 1, 2, 2.2, 2.4, 2.6, 2.8 )
}
tracks/1/type = "bezier"
tracks/1/path = NodePath("Body/Right Hand:position:y")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"points": PoolRealArray( -0.404972, -0.05, 0, 0, 0, -0.782844, 0, 0, 0, 0, -1.82199, 0, 0, 0, 0, -4.37263, 0, 0, 0, 0, -5.3173, 0, 0, 0, 0, -5.12837, 0, 0, 0, 0, -5.12837, 0, 0, 0, 0, -4.37263, 0, 0, 0, 0, -1.82199, 0, 0, 0, 0, -0.782844, 0, 0, 0, 0, -0.404972, 0, 0, 0.05, 0 ),
"times": PoolRealArray( 0, 0.2, 0.4, 0.6, 0.8, 1, 2, 2.2, 2.4, 2.6, 2.8 )
}

[sub_resource type="Animation" id=26]
resource_name = "LookAtCamera"
length = 0.4
tracks/0/type = "value"
tracks/0/path = NodePath("Body/Head/Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.1, 0.2, 0.3 ),
"transitions": PoolRealArray( 1, 1, 1, 1 ),
"update": 1,
"values": [ 0, 9, 10, 11 ]
}

[sub_resource type="Animation" id=27]
resource_name = "LookDown"
length = 0.1
tracks/0/type = "value"
tracks/0/path = NodePath("Body/Head/Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ 12 ]
}

[sub_resource type="Animation" id=28]
resource_name = "LookFromCamera"
length = 0.4
tracks/0/type = "value"
tracks/0/path = NodePath("Body/Head/Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.1, 0.2, 0.3 ),
"transitions": PoolRealArray( 1, 1, 1, 1 ),
"update": 1,
"values": [ 11, 10, 9, 0 ]
}

[sub_resource type="Animation" id=7]
resource_name = "Run"
length = 1.2
@@ -549,94 +687,110 @@ tracks/13/keys = {
"times": PoolRealArray( 0, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2 )
}

[sub_resource type="Animation" id=22]
resource_name = "ShuffleHands1"
length = 0.9
tracks/0/type = "bezier"
tracks/0/path = NodePath("Body/Left Hand:position:x")
[sub_resource type="Animation" id=29]
resource_name = "Walk"
length = 1.6
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("Body:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"points": PoolRealArray( 6.0746, -0.05, 0, 0.25, 0, 7.39715, -0.05, 0, 0.25, 0, 3.7129, -0.05, 0, 0.25, 0, 6.0746, -0.05, 0, 0.25, 0 ),
"times": PoolRealArray( 0, 0.2, 0.5, 0.9 )
"times": PoolRealArray( 0.00350559, 0.2, 0.4, 0.6, 0.8, 1, 1.2, 1.4 ),
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1, 1 ),
"update": 0,
"values": [ Vector2( -0.75, 0.75 ), Vector2( -0.75, 2 ), Vector2( -0.75, 0 ), Vector2( -0.75, -0.75 ), Vector2( -0.75, 0.75 ), Vector2( -0.75, 2 ), Vector2( -0.75, 0 ), Vector2( -0.75, -0.75 ) ]
}
tracks/1/type = "bezier"
tracks/1/path = NodePath("Body/Left Hand:position:y")
tracks/1/type = "value"
tracks/1/path = NodePath("Body:rotation_degrees")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"points": PoolRealArray( -0.728951, -0.05, 0, 0.25, 0, -0.35108, -0.05, 0, 0.25, 0, 0.404663, -0.05, 0, 0.25, 0, -0.728951, -0.05, 0, 0.25, 0 ),
"times": PoolRealArray( 0, 0.2, 0.5, 0.9 )
"times": PoolRealArray( 0.00350559 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ 0.0 ]
}
tracks/2/type = "bezier"
tracks/2/path = NodePath("Body/Left Hand:rotation_degrees")
tracks/2/type = "value"
tracks/2/path = NodePath("Body/Right Hand:position")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"points": PoolRealArray( 0, -0.05, 0, 0.25, 0 ),
"times": PoolRealArray( 0 )
"times": PoolRealArray( 0.00350559, 0.2, 0.4, 0.6, 0.8, 1, 1.2, 1.4 ),
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1, 1 ),
"update": 0,
"values": [ Vector2( -4.91311, -0.216038 ), Vector2( -6.95929, -1.06861 ), Vector2( -2.52591, 0.380762 ), Vector2( 3.4421, 1.06282 ), Vector2( 5.31776, 1.06282 ), Vector2( 6.59661, 0.210247 ), Vector2( 0.287579, 1.65962 ), Vector2( -2.52591, 0.977562 ) ]
}
tracks/3/type = "bezier"
tracks/3/path = NodePath("Body/Right Hand:position:x")
tracks/3/type = "value"
tracks/3/path = NodePath("Body/Left Hand:position")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"points": PoolRealArray( -2.83482, -0.05, 0, 0.25, 0, -4.15738, -0.05, 0, 0.25, 0, -0.66206, -0.05, 0, 0.25, 0, -2.83482, -0.05, 0, 0.25, 0 ),
"times": PoolRealArray( 0, 0.2, 0.5, 0.9 )
"times": PoolRealArray( -2.32831e-10, 0.2, 0.4, 0.6, 0.8, 1, 1.2, 1.4 ),
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1, 1 ),
"update": 0,
"values": [ Vector2( 8.62523, -0.728951 ), Vector2( 10.5009, -0.643694 ), Vector2( 5.81174, -0.217408 ), Vector2( 0.696301, 0.379392 ), Vector2( -3.39605, 0.549907 ), Vector2( -4.84542, 0.294136 ), Vector2( 1.63413, 1.573 ), Vector2( 6.74957, 1.14671 ) ]
}
tracks/4/type = "bezier"
tracks/4/path = NodePath("Body/Right Hand:position:y")
tracks/4/type = "value"
tracks/4/path = NodePath("Body/Right Foot:position")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/keys = {
"points": PoolRealArray( -0.404972, -0.05, 0, 0.25, 0, -0.499439, -0.05, 0, 0.25, 0, 0.350771, -0.05, 0, 0.25, 0, -0.404972, -0.05, 0, 0.25, 0 ),
"times": PoolRealArray( 0, 0.2, 0.5, 0.9 )
"times": PoolRealArray( -2.32831e-10, 0.2, 0.4, 0.6, 0.8, 1, 1.2, 1.4 ),
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1, 1 ),
"update": 0,
"values": [ Vector2( 4.0753, 8.96484 ), Vector2( 4.41633, 8.02701 ), Vector2( 0.750264, 10.1584 ), Vector2( -2.40425, 10.4995 ), Vector2( -5.13249, 8.87957 ), Vector2( -6.15558, 8.19752 ), Vector2( -2.9158, 9.05009 ), Vector2( 2.28489, 9.30586 ) ]
}
tracks/5/type = "bezier"
tracks/5/path = NodePath("Body/Right Hand:rotation_degrees")
tracks/5/type = "value"
tracks/5/path = NodePath("Body/Right Foot:rotation_degrees")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/keys = {
"points": PoolRealArray( 0, -0.05, 0, 0.25, 0 ),
"times": PoolRealArray( 0 )
"times": PoolRealArray( -0.00350559, 0.2, 0.4, 0.8, 1, 1.2, 1.4 ),
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1 ),
"update": 0,
"values": [ -23.6647, 0.0, 0.0, 45.6642, 93.5603, 93.5603, 60.3923 ]
}

[sub_resource type="Animation" id=23]
resource_name = "ShuffleHands2"
length = 2.8
tracks/0/type = "bezier"
tracks/0/path = NodePath("Body/Right Hand:position:x")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"points": PoolRealArray( -2.83482, -0.05, 0, 0, 0, -0.000782251, 0, 0, 0, 0, 2.54985, 0, 0, 0, 0, 4.1558, 0, 0, 0, 0, 4.25027, 0, 0, 0, 0, 4.62814, 0, 0, 0, 0, 4.34473, 0, 0, 0, 0, 4.1558, 0, 0, 0, 0, 2.54985, 0, 0, 0, 0, -0.000782251, 0, 0, 0, 0, -2.83482, 0, 0, 0.05, 0 ),
"times": PoolRealArray( 0, 0.2, 0.4, 0.6, 0.8, 1, 2, 2.2, 2.4, 2.6, 2.8 )
tracks/6/type = "value"
tracks/6/path = NodePath("Body/Left Foot:position")
tracks/6/interp = 1
tracks/6/loop_wrap = true
tracks/6/imported = false
tracks/6/enabled = true
tracks/6/keys = {
"times": PoolRealArray( 0, 0.2, 0.4, 0.6, 0.8, 1, 1.2, 1.4 ),
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1, 1 ),
"update": 0,
"values": [ Vector2( -3.95593, 8.46182 ), Vector2( -3.78541, 7.95027 ), Vector2( -0.630892, 9.22913 ), Vector2( 4.05826, 9.05862 ), Vector2( 6.27495, 9.14388 ), Vector2( 5.59289, 8.12079 ), Vector2( 1.84157, 9.9112 ), Vector2( -3.78541, 9.99646 ) ]
}
tracks/1/type = "bezier"
tracks/1/path = NodePath("Body/Right Hand:position:y")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"points": PoolRealArray( -0.404972, -0.05, 0, 0, 0, -0.782844, 0, 0, 0, 0, -1.82199, 0, 0, 0, 0, -4.37263, 0, 0, 0, 0, -5.3173, 0, 0, 0, 0, -5.12837, 0, 0, 0, 0, -5.12837, 0, 0, 0, 0, -4.37263, 0, 0, 0, 0, -1.82199, 0, 0, 0, 0, -0.782844, 0, 0, 0, 0, -0.404972, 0, 0, 0.05, 0 ),
"times": PoolRealArray( 0, 0.2, 0.4, 0.6, 0.8, 1, 2, 2.2, 2.4, 2.6, 2.8 )
tracks/7/type = "value"
tracks/7/path = NodePath("Body/Left Foot:rotation_degrees")
tracks/7/interp = 1
tracks/7/loop_wrap = true
tracks/7/imported = false
tracks/7/enabled = true
tracks/7/keys = {
"times": PoolRealArray( 0, 0.2, 0.4, 0.6, 0.8, 1, 1.2, 1.4 ),
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1, 1 ),
"update": 0,
"values": [ 30.2969, 101.405, 101.405, 49.9436, -33.5517, 0.0, 0.0, 49.7383 ]
}

[sub_resource type="AnimationNodeAnimation" id=46]
animation = "Walk"

[sub_resource type="AnimationNodeAnimation" id=8]
animation = "Run"

@@ -658,43 +812,127 @@ node_connections = [ "output", 0, "BreathRate", "BreathRate", 0, "Animation" ]
[sub_resource type="AnimationNodeAnimation" id=13]
animation = "Blink"

[sub_resource type="AnimationNodeAnimation" id=14]
[sub_resource type="AnimationNodeAnimation" id=24]
animation = "Eyebrow"

[sub_resource type="AnimationNodeAnimation" id=30]
animation = "HandsShuffleA"

[sub_resource type="AnimationNodeAnimation" id=31]
animation = "HandsShuffleB"

[sub_resource type="AnimationNodeAnimation" id=32]
animation = "FootShuffleA"

[sub_resource type="AnimationNodeAnimation" id=15]
animation = "Base"

[sub_resource type="AnimationNodeOneShot" id=16]
[sub_resource type="AnimationNodeOneShot" id=33]

[sub_resource type="AnimationNodeOneShot" id=17]
[sub_resource type="AnimationNodeTransition" id=34]
input_count = 3
input_0/name = "Blink"
input_0/auto_advance = false
input_1/name = "EyeBrow"
input_1/auto_advance = false
input_2/name = "ShakeHead"
input_2/auto_advance = false

[sub_resource type="AnimationNodeOneShot" id=35]

[sub_resource type="AnimationNodeTransition" id=36]
input_count = 2
input_0/name = "Fidget"
input_0/auto_advance = false
input_1/name = "Contemplate"
input_1/auto_advance = false

[sub_resource type="AnimationNodeOneShot" id=25]

[sub_resource type="AnimationNodeAnimation" id=38]
animation = "LookAtCamera"

[sub_resource type="AnimationNodeAnimation" id=47]
animation = "LookAtCamera"

[sub_resource type="AnimationNodeAnimation" id=39]
animation = "LookFromCamera"

[sub_resource type="AnimationNodeAnimation" id=40]
animation = "LookFromCamera"

[sub_resource type="AnimationNodeStateMachineTransition" id=41]
switch_mode = 2
auto_advance = true

[sub_resource type="AnimationNodeStateMachineTransition" id=42]
switch_mode = 2
auto_advance = true

[sub_resource type="AnimationNodeStateMachineTransition" id=48]
switch_mode = 2
auto_advance = true

[sub_resource type="AnimationNodeStateMachine" id=44]
states/LookAtCamera/node = SubResource( 47 )
states/LookAtCamera/position = Vector2( 382, 12 )
"states/LookAtCamera 2/node" = SubResource( 38 )
"states/LookAtCamera 2/position" = Vector2( 338, 257 )
states/LookFromCamera/node = SubResource( 39 )
states/LookFromCamera/position = Vector2( 601, 135 )
states/ShakeHead/node = SubResource( 40 )
states/ShakeHead/position = Vector2( 122, 143 )
transitions = [ "LookFromCamera", "LookAtCamera 2", SubResource( 41 ), "LookAtCamera 2", "ShakeHead", SubResource( 42 ), "LookAtCamera", "LookFromCamera", SubResource( 48 ) ]
start_node = "LookAtCamera"
end_node = "ShakeHead"
graph_offset = Vector2( -163, -106 )

[sub_resource type="AnimationNodeBlendTree" id=18]
graph_offset = Vector2( -40.5663, 152.619 )
nodes/Animation/node = SubResource( 15 )
nodes/Animation/position = Vector2( 140, 80 )
nodes/Animation/position = Vector2( 400, 160 )
"nodes/Animation 2/node" = SubResource( 13 )
"nodes/Animation 2/position" = Vector2( 180, 220 )
"nodes/Animation 3/node" = SubResource( 14 )
"nodes/Animation 3/position" = Vector2( 180, 340 )
nodes/Blink/node = SubResource( 16 )
nodes/Blink/position = Vector2( 400, 100 )
nodes/Eyebrow/node = SubResource( 17 )
nodes/Eyebrow/position = Vector2( 600, 200 )
nodes/output/position = Vector2( 940, 140 )
node_connections = [ "output", 0, "Eyebrow", "Blink", 0, "Animation", "Blink", 1, "Animation 2", "Eyebrow", 0, "Blink", "Eyebrow", 1, "Animation 3" ]
"nodes/Animation 2/position" = Vector2( 120, 300 )
"nodes/Animation 3/node" = SubResource( 24 )
"nodes/Animation 3/position" = Vector2( 120, 420 )
"nodes/Animation 4/node" = SubResource( 30 )
"nodes/Animation 4/position" = Vector2( 580, 380 )
"nodes/Animation 5/node" = SubResource( 31 )
"nodes/Animation 5/position" = Vector2( 580, 500 )
"nodes/Animation 6/node" = SubResource( 32 )
"nodes/Animation 6/position" = Vector2( 1100, 80 )
nodes/Expression/node = SubResource( 33 )
nodes/Expression/position = Vector2( 600, 160 )
nodes/FaceState/node = SubResource( 34 )
nodes/FaceState/position = Vector2( 380, 340 )
nodes/Feet/node = SubResource( 35 )
nodes/Feet/position = Vector2( 1400, 80 )
nodes/HandState/node = SubResource( 36 )
nodes/HandState/position = Vector2( 860, 400 )
nodes/Hands/node = SubResource( 25 )
nodes/Hands/position = Vector2( 1080, 200 )
nodes/ShakeHead/node = SubResource( 44 )
nodes/ShakeHead/position = Vector2( 120, 540 )
nodes/output/position = Vector2( 1820, 120 )
node_connections = [ "output", 0, "Feet", "Expression", 0, "Animation", "Expression", 1, "FaceState", "FaceState", 0, "Animation 2", "FaceState", 1, "Animation 3", "FaceState", 2, "ShakeHead", "HandState", 0, "Animation 4", "HandState", 1, "Animation 5", "Hands", 0, "Expression", "Hands", 1, "HandState", "Feet", 0, "Hands", "Feet", 1, "Animation 6" ]

[sub_resource type="AnimationNodeTransition" id=19]
input_count = 3
input_count = 4
input_0/name = "Idle"
input_0/auto_advance = false
input_1/name = "Run"
input_1/auto_advance = false
input_2/name = "Jump"
input_2/name = "Walk"
input_2/auto_advance = false
input_3/name = "Jump"
input_3/auto_advance = false

[sub_resource type="AnimationNodeBlendTree" id=20]
graph_offset = Vector2( -62, 89 )
graph_offset = Vector2( 162, 134 )
nodes/Animation/node = SubResource( 8 )
nodes/Animation/position = Vector2( 140, 280 )
"nodes/Animation 2/node" = SubResource( 46 )
"nodes/Animation 2/position" = Vector2( 140, 400 )
nodes/Breath/node = SubResource( 11 )
nodes/Breath/position = Vector2( 640, 340 )
nodes/BreathCtrl/node = SubResource( 12 )
@@ -703,8 +941,10 @@ nodes/Idle/node = SubResource( 18 )
nodes/Idle/position = Vector2( 140, 160 )
nodes/State/node = SubResource( 19 )
nodes/State/position = Vector2( 660, 120 )
nodes/output/position = Vector2( 1220, 180 )
node_connections = [ "output", 0, "BreathCtrl", "State", 0, "Idle", "State", 1, "Animation", "BreathCtrl", 0, "State", "BreathCtrl", 1, "Breath" ]
nodes/output/position = Vector2( 1460, 160 )
node_connections = [ "output", 0, "BreathCtrl", "State", 0, "Idle", "State", 1, "Animation", "State", 2, "Animation 2", "BreathCtrl", 0, "State", "BreathCtrl", 1, "Breath" ]

[sub_resource type="AnimationNodeStateMachinePlayback" id=45]

[node name="Player" type="KinematicBody2D"]
position = Vector2( 0, -0.174824 )
@@ -713,10 +953,11 @@ position = Vector2( 0, -0.174824 )
shape = SubResource( 1 )

[node name="Body" type="Position2D" parent="."]
position = Vector2( -0.75, 0.75 )
position = Vector2( -0.75, 1.60819 )

[node name="Sprite" type="Sprite" parent="Body"]
position = Vector2( 0.346, 0 )
position = Vector2( 0.348317, 0 )
scale = Vector2( 1.00226, 1 )
texture = ExtResource( 1 )
vframes = 16
hframes = 16
@@ -724,6 +965,7 @@ frame = 16

[node name="Head" type="Position2D" parent="Body"]
position = Vector2( 0.291992, -5.2558 )
rotation = 0.0950778

[node name="Sprite" type="Sprite" parent="Body/Head"]
position = Vector2( 0.291992, -2.04392 )
@@ -732,7 +974,7 @@ vframes = 16
hframes = 16

[node name="Right Hand" type="Position2D" parent="Body"]
position = Vector2( -2.83482, -0.404972 )
position = Vector2( 6.38461, 1.3514 )

[node name="Sprite" type="Sprite" parent="Body/Right Hand"]
position = Vector2( 0.404972, 0.728954 )
@@ -742,7 +984,7 @@ region_rect = Rect2( 5, 32, 5, 5 )

[node name="Left Hand" type="Position2D" parent="Body"]
show_behind_parent = true
position = Vector2( 6.0746, -0.728951 )
position = Vector2( -5.3208, 1.31172 )

[node name="Sprite" type="Sprite" parent="Body/Left Hand"]
position = Vector2( 0.404972, 0.728954 )
@@ -751,7 +993,7 @@ region_enabled = true
region_rect = Rect2( 5, 36, 5, 5 )

[node name="Right Foot" type="Position2D" parent="Body"]
position = Vector2( -1.29591, 9.47638 )
position = Vector2( -4.16048, 9.55858 )

[node name="Sprite" type="Sprite" parent="Body/Right Foot"]
position = Vector2( 0.485966, 0.890942 )
@@ -761,7 +1003,7 @@ region_rect = Rect2( 0, 32, 5, 4 )

[node name="Left Foot" type="Position2D" parent="Body"]
show_behind_parent = true
position = Vector2( 2.26785, 9.31439 )
position = Vector2( 5.8789, 7.84067 )

[node name="Sprite" type="Sprite" parent="Body/Left Foot"]
position = Vector2( 0.485966, 0.890942 )
@@ -769,21 +1011,33 @@ texture = ExtResource( 1 )
region_enabled = true
region_rect = Rect2( 0, 36, 5, 4 )

[node name="icon" type="Sprite" parent="."]
position = Vector2( 0.0053978, 44.3479 )
texture = ExtResource( 2 )

[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/Base = SubResource( 2 )
anims/Blink = SubResource( 3 )
anims/Breath = SubResource( 4 )
anims/Eyebrow = SubResource( 6 )
anims/FootShuffleA = SubResource( 21 )
anims/HandsShuffleA = SubResource( 22 )
anims/HandsShuffleB = SubResource( 23 )
anims/LookAtCamera = SubResource( 26 )
anims/LookDown = SubResource( 27 )
anims/LookFromCamera = SubResource( 28 )
anims/Run = SubResource( 7 )
anims/ShuffleHands1 = SubResource( 22 )
anims/ShuffleHands2 = SubResource( 23 )
anims/Walk = SubResource( 29 )

[node name="AnimationTree" type="AnimationTree" parent="."]
tree_root = SubResource( 20 )
anim_player = NodePath("../AnimationPlayer")
parameters/Breath/BreathRate/scale = 1.0
parameters/BreathCtrl/blend_amount = 0.5
parameters/Idle/Blink/active = false
parameters/Idle/Eyebrow/active = false
parameters/Idle/Expression/active = false
parameters/Idle/FaceState/current = 2
parameters/Idle/Feet/active = false
parameters/Idle/HandState/current = 0
parameters/Idle/Hands/active = false
parameters/Idle/ShakeHead/playback = SubResource( 45 )
parameters/State/current = 1

Loading…
Cancel
Save