extends CanvasLayer func _ready() -> void: %Score.text = str(Game.score) %Life.text = str(Game.player_state.life).pad_zeros(2) Game.score_changed.connect(func(): %Score.text = str(Game.score) ) Game.boss_initialized.connect(func(hp): %BossHPBar.visible = true %BossHPBar.initialize(hp) $PanelContainer/VBoxContainer/Top/Left/Score.visible = false $PanelContainer/VBoxContainer/Top/Left/Boss.visible = true )