summaryrefslogtreecommitdiff
path: root/scenes/microgames/fishin/fishin.gd
diff options
context:
space:
mode:
Diffstat (limited to 'scenes/microgames/fishin/fishin.gd')
-rw-r--r--scenes/microgames/fishin/fishin.gd14
1 files changed, 13 insertions, 1 deletions
diff --git a/scenes/microgames/fishin/fishin.gd b/scenes/microgames/fishin/fishin.gd
index 3a7a704..d556b75 100644
--- a/scenes/microgames/fishin/fishin.gd
+++ b/scenes/microgames/fishin/fishin.gd
@@ -38,6 +38,9 @@ func _ready() -> void:
succfail_timer = $SuccessFail
success_timer = $Success
+ get_window().title = "Relaxing Fishing Game 🙂"
+
+
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
@@ -70,10 +73,13 @@ func _on_texture_button_button_up() -> void:
in_game_timer.wait_time = IN_GAME_WAIT_TIME
success_timer.start()
$"Yippee!".play()
+
+ get_window().title = "Yippee!"
+
func _on_start_game_timeout() -> void:
- if randf() < 0.1:
+ if randf() < 0.5:
start_game_timer.stop()
in_game_timer.start()
@@ -91,6 +97,8 @@ func _on_start_game_timeout() -> void:
num_clicks = randi_range(5,21)
#num_clicks = 21
+
+ get_window().title = "MASH MASH MASH MASH MASH"
# YOU LOSE
@@ -110,6 +118,8 @@ func _on_in_game_timeout() -> void:
in_game_timer.stop()
succfail_timer.start()
$"Fart".play()
+
+ get_window().title = "🙂👎"
func _on_success_fail_timeout() -> void:
@@ -118,6 +128,8 @@ func _on_success_fail_timeout() -> void:
you.visible = true
succfail_timer.stop()
start_game_timer.start()
+
+ get_window().title = "Relaxing Fishing Game 🙂"
func _on_success_timeout() -> void: