Added starter bullet hell rotation for horse boss.
This commit is contained in:
parent
e608652170
commit
bee8cf77f1
11 changed files with 106 additions and 39 deletions
|
|
@ -24,6 +24,7 @@ func _ready():
|
|||
|
||||
|
||||
func boss_intro():
|
||||
print("Boss intro!")
|
||||
await get_tree().create_timer(2).timeout
|
||||
boss.play("align")
|
||||
await get_tree().create_timer(2).timeout
|
||||
|
|
@ -34,28 +35,32 @@ func boss_intro():
|
|||
boss_horse()
|
||||
|
||||
func boss_horse():
|
||||
$Horse.horse_phase = true
|
||||
print("Boss horse!")
|
||||
await get_tree().create_timer(2).timeout
|
||||
EventBus.flash_screen.emit(.25)
|
||||
$Sprite2D.frame = 7
|
||||
$Horse.show()
|
||||
$Horse.start()
|
||||
var horse_player = $Horse/AnimationPlayer
|
||||
horse_player.play("run")
|
||||
await get_tree().create_timer(10).timeout
|
||||
EventBus.flash_screen.emit(.25)
|
||||
$Horse.hide()
|
||||
$Horse.end()
|
||||
horse_counter += 1
|
||||
await get_tree().create_timer(5).timeout
|
||||
lady_of_whispers()
|
||||
|
||||
|
||||
func lady_of_whispers():
|
||||
print("Lady of Whispers!")
|
||||
boss.play("rise")
|
||||
await get_tree().create_timer(4).timeout
|
||||
boss.play("whisper")
|
||||
await get_tree().create_timer(1).timeout
|
||||
boss_horse()
|
||||
|
||||
|
||||
func hit_detection():
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue