Implemented additional audio for mirror from Maggie; fixed shader flash
on damage from hitting glass shards.
This commit is contained in:
parent
78472ee95c
commit
004e1063b8
9 changed files with 69 additions and 4 deletions
|
|
@ -81,6 +81,7 @@ func _on_player_died():
|
|||
EventBus.goose_talk.emit(3)
|
||||
instance.queue_free()
|
||||
game_over.show()
|
||||
$LevelAudio.stop()
|
||||
await get_tree().create_timer(2).timeout
|
||||
game_over.hide()
|
||||
$CanvasLayer/Title.show()
|
||||
|
|
@ -125,6 +126,9 @@ func new_game():
|
|||
# Tell the game we're playing.
|
||||
playing = true
|
||||
print("New game started!")
|
||||
|
||||
# Play Level Music
|
||||
$LevelAudio.play()
|
||||
|
||||
|
||||
func _input(EventInput):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue