goose_talk function now passes index_frame attribute to set which phrase

will display from the spritesheet.
This commit is contained in:
Henry 2026-02-13 14:30:35 +00:00
parent e3c384c3cd
commit 462b0fc4b0
7 changed files with 16 additions and 13 deletions

View file

@ -104,16 +104,20 @@ func new_game():
# Tell the shield to recharge.
# EventBus.initialize_shieldbar.emit()
# await EventBus.initialize_shieldbar
# instantiate the Player
# await get_tree().create_timer(1).timeout
instance = player.instantiate()
add_child(instance)
$Player.start()
# Do some DapperGoose talk
await get_tree().create_timer(1.5).timeout
EventBus.goose_talk.emit(2)
# Tell the enemies to spawn!
#await get_tree().create_timer(.5).timeout
$Wave.spawn_enemies()
$Wave.spawn_enemies()
# Tell the game we're playing.