| … | … | @@ -133,7 +133,7 @@ nodes/strafe/node = SubResource( 20 ) |
| 133 | 133 | nodes/strafe/position = Vector2( -760, 60 ) |
| 134 | 134 | nodes/walk_scale/node = SubResource( 23 ) |
| 135 | 135 | nodes/walk_scale/position = Vector2( -640, 360 ) |
| 136 | node_connections = [ "output", 0, "roll", "roll", 0, "aim_transition", "roll", 1, "roll_scale", "TimeScale 3", 0, "strafe", "run_scale", 0, "Animation 4", "walk_scale", 0, "Animation 3", "iwr_blend", 0, "Animation 2", "iwr_blend", 1, "walk_scale", "iwr_blend", 2, "run_scale", "aim_transition", 0, "TimeScale 3", "aim_transition", 1, "iwr_blend", "roll_scale", 0, "Animation" ] | |
| 136 | node_connections = [ "output", 0, "roll", "roll", 0, "aim_transition", "roll", 1, "roll_scale", "roll_scale", 0, "Animation", "run_scale", 0, "Animation 4", "iwr_blend", 0, "Animation 2", "iwr_blend", 1, "walk_scale", "iwr_blend", 2, "run_scale", "TimeScale 3", 0, "strafe", "aim_transition", 0, "TimeScale 3", "aim_transition", 1, "iwr_blend", "walk_scale", 0, "Animation 3" ] | |
| 137 | 137 | |
| 138 | 138 | [node name="Player" type="KinematicBody"] |
| 139 | 139 | script = ExtResource( 21 ) |
| … | … | @@ -67,6 +67,11 @@ jump={ |
| 67 | 67 | "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":32,"physical_scancode":0,"unicode":0,"echo":false,"script":null) |
| 68 | 68 | ] |
| 69 | 69 | } |
| 70 | skiis={ | |
| 71 | "deadzone": 0.5, | |
| 72 | "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":67,"physical_scancode":0,"unicode":0,"echo":false,"script":null) | |
| 73 | ] | |
| 74 | } | |
| 70 | 75 | |
| 71 | 76 | [rendering] |
| 72 | 77 |
| … | … | @@ -8,13 +8,13 @@ func _ready(): |
| 8 | 8 | |
| 9 | 9 | # Called every frame. 'delta' is the elapsed time since the previous frame. |
| 10 | 10 | func _process(_delta): |
| 11 | if Input.is_action_just_pressed("debug_pause"): | |
| 12 | bDebugPaused = !bDebugPaused | |
| 13 | if bDebugPaused: | |
| 14 | get_tree().paused = true | |
| 15 | else: | |
| 16 | get_tree().paused = false | |
| 11 | #if Input.is_action_just_pressed("debug_pause"): | |
| 12 | # bDebugPaused = !bDebugPaused | |
| 13 | # if bDebugPaused: | |
| 14 | # get_tree().paused = true | |
| 15 | # else: | |
| 16 | # get_tree().paused = false | |
| 17 | 17 | if Input.is_action_just_pressed("ui_cancel"): |
| 18 | 18 | get_tree().quit() |
| 19 | if Input.is_action_just_pressed("restart_level"): | |
| 20 | get_tree().reload_current_scene() | |
| 19 | #if Input.is_action_just_pressed("restart_level"): | |
| 20 | # get_tree().reload_current_scene() |