mirror of
https://git.kittycat.homes/zoe/pegchamp.git
synced 2024-08-15 03:15:39 +00:00
better sound effects
This commit is contained in:
parent
f2cb94d4e3
commit
5503c2d05a
146 changed files with 1189 additions and 88 deletions
9
Menu/Pause.gd
Normal file
9
Menu/Pause.gd
Normal file
|
@ -0,0 +1,9 @@
|
|||
extends CenterContainer
|
||||
|
||||
func _process(delta):
|
||||
if Input.is_action_just_pressed("pause"):
|
||||
_on_pause_button_pressed()
|
||||
|
||||
func _on_pause_button_pressed():
|
||||
get_tree().paused = !get_tree().paused
|
||||
visible = !visible
|
Loading…
Add table
Add a link
Reference in a new issue