diff options
author | Zoey Kitt <zoey.kitt@outlook.com> | 2024-11-17 13:41:01 -0600 |
---|---|---|
committer | Zoey Kitt <zoey.kitt@outlook.com> | 2024-11-17 15:03:55 -0600 |
commit | cd2144e9bb8320285a1e374588621a1d2ccefb57 (patch) | |
tree | 2327d5f89443cb5bbc928a81c25bbe4d1dcc9a56 /scenes/microgames/fishin | |
parent | 6b563d96d5c6e445df7c2f34734549b54518d649 (diff) |
THE WHALE
Diffstat (limited to 'scenes/microgames/fishin')
-rw-r--r-- | scenes/microgames/fishin/fishin.gd | 5 | ||||
-rw-r--r-- | scenes/microgames/fishin/node_2d.tscn | 7 |
2 files changed, 11 insertions, 1 deletions
diff --git a/scenes/microgames/fishin/fishin.gd b/scenes/microgames/fishin/fishin.gd index 1a734bf..9f62755 100644 --- a/scenes/microgames/fishin/fishin.gd +++ b/scenes/microgames/fishin/fishin.gd @@ -108,6 +108,9 @@ func _on_texture_button_button_up() -> void: # show fish var fish_choice: FishType = randi_range(0,len(fishes)) + + fish_choice = FishType.MOBY_DICK + match fish_choice: FishType.GAR: gar.visible = true @@ -140,6 +143,8 @@ func _on_texture_button_button_up() -> void: FishType.MOBY_DICK: moby_dick.visible = true fish_chosen.emit(moby_dick.get_node("Moby-DickSprite"), "Moby Dick") + $"Moby Dick".play() + success_timer.wait_time *= 2 FishType.LEAPING_SMACKEREL: leaping_smackerel.visible = true fish_chosen.emit(leaping_smackerel.get_node("LeapingSmackerelSprite"), "LEAPING SMACKEREL! WAHOO!") diff --git a/scenes/microgames/fishin/node_2d.tscn b/scenes/microgames/fishin/node_2d.tscn index 3f6f3b4..aff73ee 100644 --- a/scenes/microgames/fishin/node_2d.tscn +++ b/scenes/microgames/fishin/node_2d.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=29 format=3 uid="uid://c4s4pigu4pr48"] +[gd_scene load_steps=30 format=3 uid="uid://c4s4pigu4pr48"] [ext_resource type="Texture2D" uid="uid://voruypgyi77e" path="res://scenes/stockticker/UI-Background-Colour.png" id="1_cxqat"] [ext_resource type="Script" path="res://scenes/microgames/fishin/fishin.gd" id="1_srw8b"] @@ -24,6 +24,7 @@ [ext_resource type="Texture2D" uid="uid://bquf4lqso1h0e" path="res://scenes/microgames/fishin/LeapingSmackerel.png" id="21_mppni"] [ext_resource type="AudioStream" uid="uid://wtoxhk0tf8ev" path="res://funny_sounds/Cat Meow - Minecraft Sound Effect (HD).mp3" id="23_2n5pw"] [ext_resource type="AudioStream" uid="uid://cr34g4np4h508" path="res://funny_sounds/boney boark.mp3" id="24_rbg0g"] +[ext_resource type="AudioStream" uid="uid://ctg556dx3qm6g" path="res://funny_sounds/whale.mp3" id="25_dpi4g"] [ext_resource type="AudioStream" uid="uid://keguv7ldvk2e" path="res://funny_sounds/THE LEAPING SMACKEREL.mp3" id="25_qmt08"] [sub_resource type="Animation" id="Animation_bep6n"] @@ -343,6 +344,10 @@ stream = ExtResource("23_2n5pw") [node name="Bark" type="AudioStreamPlayer" parent="."] stream = ExtResource("24_rbg0g") +[node name="Moby Dick" type="AudioStreamPlayer" parent="."] +stream = ExtResource("25_dpi4g") +volume_db = 6.537 + [node name="THE LEAPING SMACKEREL!" type="AudioStreamPlayer" parent="."] stream = ExtResource("25_qmt08") |