Fixed shield issue by removing old experiments and ensuring the right

values were being used!
This commit is contained in:
Henry 2025-12-27 16:25:06 +00:00
parent c8d578af04
commit b5d97c0ffb
3 changed files with 32 additions and 20 deletions

View file

@ -75,6 +75,9 @@ func new_game():
Global.score = 0
$CanvasLayer/UI.update_score(Global.score)
# Tell the shield to recharge.
# EventBus.initialize_shieldbar.emit()
# await EventBus.initialize_shieldbar
# instantiate the Player
# await get_tree().create_timer(1).timeout
@ -82,9 +85,6 @@ func new_game():
add_child(instance)
$Player.start()
# Tell the shield to recharge.
EventBus.initialize_shieldbar.emit()
# Tell the enemies to spawn!
#await get_tree().create_timer(.5).timeout
spawn_enemies()