OverviewFilesCommitsIssuesDocsReleasesPeers

godot-tumble_player_demo commits / 84a0728

Silenced special input warnings
84a0728acaf12fa8327589391a0f1ddc47567db0
by Patrick McKeever <patrick.arthur.mckeever@gmail.com> · 2022-01-24T21:13:32.000Z

Changed files (3) +14 -9

player/player.tscn +1 -1
……@@ -133,7 +133,7 @@ nodes/strafe/node = SubResource( 20 )
133133nodes/strafe/position = Vector2( -760, 60 )
134134nodes/walk_scale/node = SubResource( 23 )
135135nodes/walk_scale/position = Vector2( -640, 360 )
136node_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" ]
136node_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" ]
137137
138138[node name="Player" type="KinematicBody"]
139139script = ExtResource( 21 )
project.godot +5 -0
……@@ -67,6 +67,11 @@ jump={
6767"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)
6868 ]
6969}
70skiis={
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}
7075
7176[rendering]
7277
special_input.gd +8 -8
……@@ -8,13 +8,13 @@ func _ready():
88
99# Called every frame. 'delta' is the elapsed time since the previous frame.
1010func _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
1717 if Input.is_action_just_pressed("ui_cancel"):
1818 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()