powerup system

This commit is contained in:
zoe 2021-10-05 21:55:34 +02:00
parent c8747328cf
commit 77ca16be36
149 changed files with 2472 additions and 331 deletions

View file

@ -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