OverviewFilesCommitsIssuesDocsReleasesPeers

godot-tumble_player_demo commits / 2514099

updating animation tree
25140991d2d886904b038c4e9866a49faafa1119
by plankatron <fleeky@gmail.com> · 2022-02-06T23:20:05.000Z

Changed files (8) +17 -31

player/models/black-reflect.material +0 -0
(no content changes — binary or rename)
player/models/blue-flat.material +0 -0
(no content changes — binary or rename)
player/models/flat-white.material +0 -0
(no content changes — binary or rename)
player/models/metal.material +0 -0
(no content changes — binary or rename)
player/models/red-emit.material +0 -0
(no content changes — binary or rename)
player/models/red-flat.material +0 -0
(no content changes — binary or rename)
player/models/teal-emit.material +0 -0
(no content changes — binary or rename)
player/player.tscn +17 -31
……@@ -1,4 +1,4 @@
1[gd_scene load_steps=57 format=2]
1[gd_scene load_steps=54 format=2]
22
33[ext_resource path="res://ui/circle.png" type="Texture" id=1]
44[ext_resource path="res://ui/direction.png" type="Texture" id=2]
……@@ -40,28 +40,26 @@ animation = "walk-forward-loop"
4040[sub_resource type="AnimationNodeAnimation" id=10]
4141animation = "run-loop"
4242
43[sub_resource type="AnimationNodeAnimation" id=36]
44animation = "jump"
45
4643[sub_resource type="AnimationNodeAnimation" id=27]
4744animation = "roll"
4845
4946[sub_resource type="AnimationNodeBlend2" id=41]
5047
51[sub_resource type="AnimationNodeAnimation" id=42]
48[sub_resource type="AnimationNodeAnimation" id=46]
5249animation = "falling-loop"
5350
54[sub_resource type="AnimationNodeAnimation" id=43]
51[sub_resource type="AnimationNodeAnimation" id=47]
5552animation = "jump"
5653
57[sub_resource type="AnimationNodeStateMachineTransition" id=44]
54[sub_resource type="AnimationNodeStateMachineTransition" id=48]
5855
5956[sub_resource type="AnimationNodeStateMachine" id=45]
60states/falling-loop/node = SubResource( 42 )
61states/falling-loop/position = Vector2( 397.667, 43 )
62states/jump/node = SubResource( 43 )
63states/jump/position = Vector2( 221.667, 43 )
64transitions = [ "jump", "falling-loop", SubResource( 44 ) ]
57states/falling-loop/node = SubResource( 46 )
58states/falling-loop/position = Vector2( 345, 6 )
59states/jump/node = SubResource( 47 )
60states/jump/position = Vector2( 156, 13 )
61transitions = [ "jump", "falling-loop", SubResource( 48 ) ]
62graph_offset = Vector2( 1, -73 )
6563
6664[sub_resource type="AnimationNodeTimeScale" id=22]
6765
……@@ -75,10 +73,6 @@ input_1/auto_advance = false
7573
7674[sub_resource type="AnimationNodeBlend3" id=28]
7775
78[sub_resource type="AnimationNodeOneShot" id=40]
79
80[sub_resource type="AnimationNodeTimeScale" id=39]
81
8276[sub_resource type="AnimationNodeOneShot" id=30]
8377
8478[sub_resource type="AnimationNodeTimeScale" id=31]
……@@ -136,45 +130,39 @@ max_space = Vector2( 1.01, 1 )
136130[sub_resource type="AnimationNodeTimeScale" id=23]
137131
138132[sub_resource type="AnimationNodeBlendTree" id=32]
139graph_offset = Vector2( -684, 157.333 )
133graph_offset = Vector2( -67.2793, 96.4483 )
140134nodes/Animation/node = SubResource( 27 )
141nodes/Animation/position = Vector2( -253.333, 633.333 )
135nodes/Animation/position = Vector2( -240, 320 )
142136"nodes/Animation 2/node" = SubResource( 25 )
143137"nodes/Animation 2/position" = Vector2( -640, 240 )
144138"nodes/Animation 3/node" = SubResource( 26 )
145139"nodes/Animation 3/position" = Vector2( -880, 380 )
146140"nodes/Animation 4/node" = SubResource( 10 )
147141"nodes/Animation 4/position" = Vector2( -840, 500 )
148"nodes/Animation 5/node" = SubResource( 36 )
149"nodes/Animation 5/position" = Vector2( 693.333, 773.333 )
150142nodes/Blend2/node = SubResource( 41 )
151143nodes/Blend2/position = Vector2( 400, 160 )
152144nodes/StateMachine/node = SubResource( 45 )
153nodes/StateMachine/position = Vector2( -506.667, 666.667 )
145nodes/StateMachine/position = Vector2( 140, 360 )
154146"nodes/TimeScale 3/node" = SubResource( 22 )
155147"nodes/TimeScale 3/position" = Vector2( -480, 80 )
156148nodes/aim_transition/node = SubResource( 29 )
157149nodes/aim_transition/position = Vector2( -240, 106.667 )
158150nodes/iwr_blend/node = SubResource( 28 )
159151nodes/iwr_blend/position = Vector2( -400, 200 )
160nodes/jump/node = SubResource( 40 )
161nodes/jump/position = Vector2( 640, 400 )
162nodes/jump_scale/node = SubResource( 39 )
163nodes/jump_scale/position = Vector2( 666.667, 613.333 )
164152nodes/output/position = Vector2( 693.333, 133.333 )
165153nodes/roll/node = SubResource( 30 )
166154nodes/roll/position = Vector2( 120, 160 )
167155nodes/roll_scale/node = SubResource( 31 )
168nodes/roll_scale/position = Vector2( -26.6667, 533.333 )
156nodes/roll_scale/position = Vector2( -80, 280 )
169157nodes/run_scale/node = SubResource( 33 )
170158nodes/run_scale/position = Vector2( -640, 500 )
171159nodes/strafe/node = SubResource( 20 )
172160nodes/strafe/position = Vector2( -760, 60 )
173161nodes/walk_scale/node = SubResource( 23 )
174162nodes/walk_scale/position = Vector2( -640, 360 )
175node_connections = [ "output", 0, "roll", "jump", 1, "jump_scale", "roll", 0, "aim_transition", "roll", 1, "roll_scale", "Blend2", 1, "StateMachine", "jump_scale", 0, "Animation 5", "run_scale", 0, "Animation 4", "iwr_blend", 0, "Animation 2", "iwr_blend", 1, "walk_scale", "iwr_blend", 2, "run_scale", "walk_scale", 0, "Animation 3", "roll_scale", 0, "Animation", "TimeScale 3", 0, "strafe", "aim_transition", 0, "TimeScale 3", "aim_transition", 1, "iwr_blend" ]
163node_connections = [ "output", 0, "Blend2", "roll", 0, "aim_transition", "roll", 1, "roll_scale", "Blend2", 0, "roll", "Blend2", 1, "StateMachine", "TimeScale 3", 0, "strafe", "aim_transition", 0, "TimeScale 3", "aim_transition", 1, "iwr_blend", "iwr_blend", 0, "Animation 2", "iwr_blend", 1, "walk_scale", "iwr_blend", 2, "run_scale", "roll_scale", 0, "Animation", "run_scale", 0, "Animation 4", "walk_scale", 0, "Animation 3" ]
176164
177[sub_resource type="AnimationNodeStateMachinePlayback" id=46]
165[sub_resource type="AnimationNodeStateMachinePlayback" id=49]
178166
179167[node name="Player" type="KinematicBody"]
180168script = ExtResource( 21 )
……@@ -689,12 +677,10 @@ tree_root = SubResource( 32 )
689677anim_player = NodePath("../AnimationPlayer")
690678active = true
691679parameters/Blend2/blend_amount = 1.0
692parameters/StateMachine/playback = SubResource( 46 )
680parameters/StateMachine/playback = SubResource( 49 )
693681"parameters/TimeScale 3/scale" = 1.0
694682parameters/aim_transition/current = 0
695683parameters/iwr_blend/blend_amount = -1.0
696parameters/jump/active = false
697parameters/jump_scale/scale = 1.51
698684parameters/roll/active = false
699685parameters/roll_scale/scale = 1.0
700686parameters/run_scale/scale = 1.0