From b2acf9c2f45838584a7d99f1c6fc90a4d09b7dbf Mon Sep 17 00:00:00 2001 From: Zoey Kitt Date: Sun, 17 Nov 2024 11:21:48 -0600 Subject: Balance Changes --- scenes/microgames/fishin/fishin.gd | 14 +++++++++++++- scenes/title.gd | 1 + 2 files changed, 14 insertions(+), 1 deletion(-) 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: diff --git a/scenes/title.gd b/scenes/title.gd index 7209e85..d5c2159 100644 --- a/scenes/title.gd +++ b/scenes/title.gd @@ -28,6 +28,7 @@ func _on_start_pressed() -> void: new_window.size = Vector2i(1280, 720) new_window.initial_position = Window.WINDOW_INITIAL_POSITION_CENTER_SCREEN_WITH_MOUSE_FOCUS #new_window.canvas_item_default_texture_filter = Viewport.DEFAULT_CANVAS_ITEM_TEXTURE_FILTER_NEAREST + new_window.unresizable = true var main_scene = preload("res://scenes/main.tscn") var main_scene_instance = main_scene.instantiate() new_window.add_child(main_scene_instance) -- cgit v1.2.3