dead camera much improved and has the ability to step through multiple stages

This commit is contained in:
derek
2024-11-04 15:19:07 -06:00
parent 475c7967f5
commit 11052fdb99
11 changed files with 193 additions and 54 deletions

View File

@@ -130,8 +130,6 @@ func cleared():
clearedmsg.queue_free()
func die():
Engine.time_scale = .05
AudioServer.set_bus_effect_enabled(0,0,true)
var deadmsg = DEAD_ANNOUNCE.instantiate()
get_parent().add_child(deadmsg)
var instance_dead = dead_player.instantiate()
@@ -147,6 +145,7 @@ func die():
player.dead = true
player.toggle_hud(true)
player.gun.visible = false
player.health_indicator.color = Color(0.471, 0, 0, 0)
player.crosshair.visible = false