Skip to content

Commit

Permalink
control screen
Browse files Browse the repository at this point in the history
  • Loading branch information
leiver committed Apr 17, 2024
1 parent 396188d commit 0668a59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scenes/control_screen.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ theme_override_fonts/font = ExtResource("2_5ehxl")
theme_override_font_sizes/font_size = 40
text = "Space or Up or W
W/A or Left/Right
A/D or Left/Right
K or Right mouse
Expand Down
2 changes: 2 additions & 0 deletions scripts/devon.gd
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ func pause():
attack_timer.set_paused(true)
strafe_timer.set_paused(true)
$JumpTimer.set_paused(true)
$ExhaustionTimer.set_paused(true)
animations.pause()
if current_attack != null:
current_attack.pause()
Expand All @@ -118,6 +119,7 @@ func resume():
attack_timer.set_paused(false)
strafe_timer.set_paused(false)
$JumpTimer.set_paused(false)
$ExhaustionTimer.set_paused(false)
animations.play()
if current_attack != null:
current_attack.resume()
Expand Down

0 comments on commit 0668a59

Please sign in to comment.