world titles

This commit is contained in:
pennyrigate 2024-06-19 22:32:05 -04:00
parent ea36720f7b
commit a1fb454384
10 changed files with 109 additions and 60 deletions

View file

@ -13,6 +13,8 @@ func _ready() -> void:
sg_energy.max_value = sg2083.max_energy
sg2083.state = sg2083.State.INACTIVE
famira.animation_player.play("grow", -1.0, 0.0)
Audio.play_sound(Audio.a_ominous,Audio.ac_collectible)
Audio.play_music(load("res://audio/music/the_dirt_under_the_meadow.ogg"))
func _on_2083_health_changed(amount) -> void:
@ -39,6 +41,7 @@ func fade() -> void:
yield(Fade, "fade_finished")
sg2083.anims.play("force idle")
Fade.fade_in(0.4)
$"%GUI".visible = true
yield(Fade, "fade_finished")
sg2083.state = sg2083.State.STAND
famira.state_chart.send_event("transformed")