Added goose_talk() to the global event bus. And a goose.
This commit is contained in:
parent
614c5b5f78
commit
69b3b935ad
10 changed files with 80 additions and 3 deletions
|
|
@ -99,7 +99,7 @@ func set_shield(value: int):
|
|||
$Explosion/AnimationPlayer.play("explosion-one-shot")
|
||||
await $Explosion/AnimationPlayer.animation_finished
|
||||
EventBus.player_died.emit()
|
||||
|
||||
|
||||
|
||||
func _on_gun_cooldown_timeout() -> void:
|
||||
$HeadInflate.play()
|
||||
|
|
@ -108,7 +108,7 @@ func _on_gun_cooldown_timeout() -> void:
|
|||
await get_tree().create_timer(0.25).timeout
|
||||
var tween = create_tween().set_parallel(false)
|
||||
$Ship/Head.show()
|
||||
tween.tween_property($Ship/Head, "scale", Vector2(2,2), .15).set_trans(Tween.TRANS_BOUNCE)
|
||||
tween.tween_property($Ship/Head, "scale", Vector2(.25,2.5), .15).set_trans
|
||||
tween.tween_property($Ship/Head, "scale", Vector2(1,1), .10).set_trans(Tween.TRANS_BOUNCE)
|
||||
can_shoot = true
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue