added boss sounds
This commit is contained in:
parent
71134758af
commit
a23ca5347d
6 changed files with 50 additions and 2 deletions
|
@ -29,7 +29,7 @@ func _on_ShootTimer_timeout():
|
|||
|
||||
func die():
|
||||
hp -= 1
|
||||
Game.play_sound(Game.a_die,Game.ac_boss)
|
||||
Game.play_sound(Game.a_boss_hurt,Game.ac_boss)
|
||||
match hp:
|
||||
2:
|
||||
emit_signal("entered_phase", 2)
|
||||
|
@ -41,7 +41,7 @@ func die():
|
|||
shoot_time = Vector2(0.3,0.5)
|
||||
0:
|
||||
Game.instance_node(Gore,position.x,position.y,map)
|
||||
Game.play_sound(Game.a_gover,Game.ac_boss)
|
||||
Game.play_sound(Game.a_scrump_die,Game.ac_boss)
|
||||
emit_signal("entered_phase",4)
|
||||
queue_free()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue