diff options
-rw-r--r-- | scenes/main.tscn | 9 | ||||
-rw-r--r-- | scenes/microgames/fishin/fishin.gd | 4 | ||||
-rw-r--r-- | scenes/microgames/fishin/node_2d.tscn | 6 |
3 files changed, 8 insertions, 11 deletions
diff --git a/scenes/main.tscn b/scenes/main.tscn index 8878ce0..637f3a4 100644 --- a/scenes/main.tscn +++ b/scenes/main.tscn @@ -5,10 +5,10 @@ [ext_resource type="Texture2D" uid="uid://voruypgyi77e" path="res://scenes/stockticker/UI-Background-Colour.png" id="2_fkfik"] [ext_resource type="Theme" uid="uid://ve18rbkeiwti" path="res://UI/text.tres" id="3_d7ku7"] [ext_resource type="AudioStream" uid="uid://wtoxhk0tf8ev" path="res://funny_sounds/Cat Meow - Minecraft Sound Effect (HD).mp3" id="3_gatxj"] -[ext_resource type="PackedScene" uid="uid://g2veoq55y14i" path="res://scenes/stockticker/Stock Ticker.tscn" id="4_0ankd"] [ext_resource type="PackedScene" uid="uid://bbg7lnak6kup7" path="res://scenes/LegallyDistinctPaperclipAssistant/window.tscn" id="5_6agvn"] [ext_resource type="Script" path="res://scenes/score_window/score_window.gd" id="6_gvoxs"] [ext_resource type="Texture2D" uid="uid://dohsqvvi8y64h" path="res://UI/fish-spinning-ezgif.com-gif-to-sprite-converter.png" id="8_oj2tc"] +[ext_resource type="PackedScene" uid="uid://c4s4pigu4pr48" path="res://scenes/microgames/fishin/node_2d.tscn" id="10_sx2ad"] [sub_resource type="AtlasTexture" id="AtlasTexture_uyge7"] atlas = ExtResource("8_oj2tc") @@ -299,8 +299,6 @@ wait_time = 10.0 [node name="Meow" type="AudioStreamPlayer" parent="."] stream = ExtResource("3_gatxj") -[node name="Stock ticker" parent="." instance=ExtResource("4_0ankd")] - [node name="Clippette" parent="." instance=ExtResource("5_6agvn")] visible = false @@ -334,6 +332,7 @@ text = "Net worth: $00000000000000000000" +[node name="Fishin" parent="." instance=ExtResource("10_sx2ad")] +position = Vector2(0, 0) + [connection signal="timeout" from="Microgame spawn timer" to="." method="_on_microgame_spawn_timer_timeout"] -[connection signal="buy" from="Stock ticker" to="Score window (real)/Score window" method="_on_stock_ticker_buy"] -[connection signal="sell" from="Stock ticker" to="Score window (real)/Score window" method="_on_stock_ticker_sell"] diff --git a/scenes/microgames/fishin/fishin.gd b/scenes/microgames/fishin/fishin.gd index 44b60db..c6f62d9 100644 --- a/scenes/microgames/fishin/fishin.gd +++ b/scenes/microgames/fishin/fishin.gd @@ -1,4 +1,4 @@ -extends MicrogameWindow +extends Node2D const IN_GAME_WAIT_TIME = 10 @@ -84,7 +84,7 @@ func _on_start_game_timeout() -> void: mouse.visible = true num_clicks = randi_range(5,21) - num_clicks = 21 + #num_clicks = 21 # YOU LOSE diff --git a/scenes/microgames/fishin/node_2d.tscn b/scenes/microgames/fishin/node_2d.tscn index 969ec34..c763777 100644 --- a/scenes/microgames/fishin/node_2d.tscn +++ b/scenes/microgames/fishin/node_2d.tscn @@ -48,10 +48,8 @@ _data = { "mash": SubResource("Animation_fxbt5") } -[node name="Node2D2" type="Window"] -position = Vector2i(0, 36) -size = Vector2i(930, 560) -unresizable = true +[node name="Fishin" type="Node2D"] +position = Vector2(0, 36) script = ExtResource("1_srw8b") [node name="background" type="Sprite2D" parent="."] |