Added game pallete explosions to player and chickens; adjusted parallax

layer speed via speed scale.
This commit is contained in:
Henry 2026-02-14 23:54:54 +00:00
parent 2a7e1a2b6c
commit 1da24eb0e6
8 changed files with 207 additions and 16 deletions

View file

@ -12,13 +12,13 @@ func _on_goose_talk(frame_index: int):
if goose_talking == false:
print("QUACK")
#goose_talking = true
self.show()
$DapperGoose/Bubble.set_frame(frame_index)
var tween = create_tween()
tween.tween_property(self, "position:x", position.x - 50, .5).set_ease(tween.EASE_OUT)
await tween.finished
$DapperGoose/Bubble.show()
goose_talking = true
$DapperGoose/Quacking.start()
await $DapperGoose/Quacking.timeout
$DapperGoose/Bubble.hide()
@ -35,11 +35,8 @@ func _on_goose_talk(frame_index: int):
$DapperGoose/Quacking.start()
await $DapperGoose/Quacking.timeout
$DapperGoose/Bubble.hide()
goose_talking = false
tween = create_tween()
tween.tween_property(self, "position:x", position.x + 50, .5).set_ease(tween.EASE_IN)
await tween.finished
self.hide()
goose_talking = false
self.hide()