Tweaked birdy behaviour

master
Martin Felis 2021-07-18 16:59:23 +02:00
parent a79ee05ca7
commit 6a42af27db
2 changed files with 5 additions and 2 deletions

View File

@ -230,9 +230,9 @@ platform="Linux/X11"
runnable=true runnable=true
custom_features="" custom_features=""
export_filter="all_resources" export_filter="all_resources"
include_filter="thirdparty/gdhexgrid/HexGrid.gd" include_filter="*"
exclude_filter="" exclude_filter=""
export_path="export/linux/PirateTreasureRun.bin.x86_64" export_path="export/linux/PirateTreasureRun.x86_64"
script_export_mode=1 script_export_mode=1
script_encryption_key="" script_encryption_key=""

View File

@ -545,6 +545,9 @@ func _on_BirdyButton_pressed():
birdy_spring_xt = Vector2.ONE * 4 birdy_spring_xt = Vector2.ONE * 4
BirdyTimer.one_shot = true BirdyTimer.one_shot = true
BirdyTimer.start(birdy_duration) BirdyTimer.start(birdy_duration)
else:
BirdyTimer.stop()
birdy_spring_xt = Vector2.ONE
func _on_DigButton_pressed(): func _on_DigButton_pressed():