| … | … | @@ -1,4 +1,4 @@ |
| 1 | | [gd_scene load_steps=57 format=2] |
| 1 | [gd_scene load_steps=54 format=2] |
| 2 | 2 | |
| 3 | 3 | [ext_resource path="res://ui/circle.png" type="Texture" id=1] |
| 4 | 4 | [ext_resource path="res://ui/direction.png" type="Texture" id=2] |
| … | … | @@ -40,28 +40,26 @@ animation = "walk-forward-loop" |
| 40 | 40 | [sub_resource type="AnimationNodeAnimation" id=10] |
| 41 | 41 | animation = "run-loop" |
| 42 | 42 | |
| 43 | | [sub_resource type="AnimationNodeAnimation" id=36] |
| 44 | | animation = "jump" |
| 45 | | |
| 46 | 43 | [sub_resource type="AnimationNodeAnimation" id=27] |
| 47 | 44 | animation = "roll" |
| 48 | 45 | |
| 49 | 46 | [sub_resource type="AnimationNodeBlend2" id=41] |
| 50 | 47 | |
| 51 | | [sub_resource type="AnimationNodeAnimation" id=42] |
| 48 | [sub_resource type="AnimationNodeAnimation" id=46] |
| 52 | 49 | animation = "falling-loop" |
| 53 | 50 | |
| 54 | | [sub_resource type="AnimationNodeAnimation" id=43] |
| 51 | [sub_resource type="AnimationNodeAnimation" id=47] |
| 55 | 52 | animation = "jump" |
| 56 | 53 | |
| 57 | | [sub_resource type="AnimationNodeStateMachineTransition" id=44] |
| 54 | [sub_resource type="AnimationNodeStateMachineTransition" id=48] |
| 58 | 55 | |
| 59 | 56 | [sub_resource type="AnimationNodeStateMachine" id=45] |
| 60 | | states/falling-loop/node = SubResource( 42 ) |
| 61 | | states/falling-loop/position = Vector2( 397.667, 43 ) |
| 62 | | states/jump/node = SubResource( 43 ) |
| 63 | | states/jump/position = Vector2( 221.667, 43 ) |
| 64 | | transitions = [ "jump", "falling-loop", SubResource( 44 ) ] |
| 57 | states/falling-loop/node = SubResource( 46 ) |
| 58 | states/falling-loop/position = Vector2( 345, 6 ) |
| 59 | states/jump/node = SubResource( 47 ) |
| 60 | states/jump/position = Vector2( 156, 13 ) |
| 61 | transitions = [ "jump", "falling-loop", SubResource( 48 ) ] |
| 62 | graph_offset = Vector2( 1, -73 ) |
| 65 | 63 | |
| 66 | 64 | [sub_resource type="AnimationNodeTimeScale" id=22] |
| 67 | 65 | |
| … | … | @@ -75,10 +73,6 @@ input_1/auto_advance = false |
| 75 | 73 | |
| 76 | 74 | [sub_resource type="AnimationNodeBlend3" id=28] |
| 77 | 75 | |
| 78 | | [sub_resource type="AnimationNodeOneShot" id=40] |
| 79 | | |
| 80 | | [sub_resource type="AnimationNodeTimeScale" id=39] |
| 81 | | |
| 82 | 76 | [sub_resource type="AnimationNodeOneShot" id=30] |
| 83 | 77 | |
| 84 | 78 | [sub_resource type="AnimationNodeTimeScale" id=31] |
| … | … | @@ -136,45 +130,39 @@ max_space = Vector2( 1.01, 1 ) |
| 136 | 130 | [sub_resource type="AnimationNodeTimeScale" id=23] |
| 137 | 131 | |
| 138 | 132 | [sub_resource type="AnimationNodeBlendTree" id=32] |
| 139 | | graph_offset = Vector2( -684, 157.333 ) |
| 133 | graph_offset = Vector2( -67.2793, 96.4483 ) |
| 140 | 134 | nodes/Animation/node = SubResource( 27 ) |
| 141 | | nodes/Animation/position = Vector2( -253.333, 633.333 ) |
| 135 | nodes/Animation/position = Vector2( -240, 320 ) |
| 142 | 136 | "nodes/Animation 2/node" = SubResource( 25 ) |
| 143 | 137 | "nodes/Animation 2/position" = Vector2( -640, 240 ) |
| 144 | 138 | "nodes/Animation 3/node" = SubResource( 26 ) |
| 145 | 139 | "nodes/Animation 3/position" = Vector2( -880, 380 ) |
| 146 | 140 | "nodes/Animation 4/node" = SubResource( 10 ) |
| 147 | 141 | "nodes/Animation 4/position" = Vector2( -840, 500 ) |
| 148 | | "nodes/Animation 5/node" = SubResource( 36 ) |
| 149 | | "nodes/Animation 5/position" = Vector2( 693.333, 773.333 ) |
| 150 | 142 | nodes/Blend2/node = SubResource( 41 ) |
| 151 | 143 | nodes/Blend2/position = Vector2( 400, 160 ) |
| 152 | 144 | nodes/StateMachine/node = SubResource( 45 ) |
| 153 | | nodes/StateMachine/position = Vector2( -506.667, 666.667 ) |
| 145 | nodes/StateMachine/position = Vector2( 140, 360 ) |
| 154 | 146 | "nodes/TimeScale 3/node" = SubResource( 22 ) |
| 155 | 147 | "nodes/TimeScale 3/position" = Vector2( -480, 80 ) |
| 156 | 148 | nodes/aim_transition/node = SubResource( 29 ) |
| 157 | 149 | nodes/aim_transition/position = Vector2( -240, 106.667 ) |
| 158 | 150 | nodes/iwr_blend/node = SubResource( 28 ) |
| 159 | 151 | nodes/iwr_blend/position = Vector2( -400, 200 ) |
| 160 | | nodes/jump/node = SubResource( 40 ) |
| 161 | | nodes/jump/position = Vector2( 640, 400 ) |
| 162 | | nodes/jump_scale/node = SubResource( 39 ) |
| 163 | | nodes/jump_scale/position = Vector2( 666.667, 613.333 ) |
| 164 | 152 | nodes/output/position = Vector2( 693.333, 133.333 ) |
| 165 | 153 | nodes/roll/node = SubResource( 30 ) |
| 166 | 154 | nodes/roll/position = Vector2( 120, 160 ) |
| 167 | 155 | nodes/roll_scale/node = SubResource( 31 ) |
| 168 | | nodes/roll_scale/position = Vector2( -26.6667, 533.333 ) |
| 156 | nodes/roll_scale/position = Vector2( -80, 280 ) |
| 169 | 157 | nodes/run_scale/node = SubResource( 33 ) |
| 170 | 158 | nodes/run_scale/position = Vector2( -640, 500 ) |
| 171 | 159 | nodes/strafe/node = SubResource( 20 ) |
| 172 | 160 | nodes/strafe/position = Vector2( -760, 60 ) |
| 173 | 161 | nodes/walk_scale/node = SubResource( 23 ) |
| 174 | 162 | nodes/walk_scale/position = Vector2( -640, 360 ) |
| 175 | | node_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" ] |
| 163 | node_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" ] |
| 176 | 164 | |
| 177 | | [sub_resource type="AnimationNodeStateMachinePlayback" id=46] |
| 165 | [sub_resource type="AnimationNodeStateMachinePlayback" id=49] |
| 178 | 166 | |
| 179 | 167 | [node name="Player" type="KinematicBody"] |
| 180 | 168 | script = ExtResource( 21 ) |
| … | … | @@ -689,12 +677,10 @@ tree_root = SubResource( 32 ) |
| 689 | 677 | anim_player = NodePath("../AnimationPlayer") |
| 690 | 678 | active = true |
| 691 | 679 | parameters/Blend2/blend_amount = 1.0 |
| 692 | | parameters/StateMachine/playback = SubResource( 46 ) |
| 680 | parameters/StateMachine/playback = SubResource( 49 ) |
| 693 | 681 | "parameters/TimeScale 3/scale" = 1.0 |
| 694 | 682 | parameters/aim_transition/current = 0 |
| 695 | 683 | parameters/iwr_blend/blend_amount = -1.0 |
| 696 | | parameters/jump/active = false |
| 697 | | parameters/jump_scale/scale = 1.51 |
| 698 | 684 | parameters/roll/active = false |
| 699 | 685 | parameters/roll_scale/scale = 1.0 |
| 700 | 686 | parameters/run_scale/scale = 1.0 |