mirror of
https://git.kittycat.homes/zoe/pegchamp.git
synced 2024-08-15 03:15:39 +00:00
powerup system
This commit is contained in:
parent
c8747328cf
commit
77ca16be36
149 changed files with 2472 additions and 331 deletions
|
@ -5,6 +5,7 @@ func _process(_delta):
|
|||
_on_pause_button_pressed()
|
||||
|
||||
func _on_pause_button_pressed():
|
||||
if !GameStats.level_won:
|
||||
if !GameStats.level_won && !GameStats.powerup_screen_active:
|
||||
get_tree().paused = !get_tree().paused
|
||||
visible = !visible
|
||||
Engine.time_scale = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue