Added goose_talk() to the global event bus. And a goose.

This commit is contained in:
Henry 2026-02-11 22:08:24 +00:00
parent 614c5b5f78
commit 69b3b935ad
10 changed files with 80 additions and 3 deletions

16
scenes/goose.gd Normal file
View file

@ -0,0 +1,16 @@
extends Area2D
func _ready() -> void:
EventBus.goose_talk.connect(_on_goose_talk)
func _on_goose_talk():
print("QUACK")
self.show()
#var tween = create_tween()
#tween.tween_property(self, "position:x", +5, .5).set_ease(tween.EASE_OUT)
await get_tree().create_timer(3).timeout
#tween.tween_property(self, "position:x", -5, .5)
self.hide()