Godot upload

This commit is contained in:
csd4ni3l
2026-02-28 13:55:12 +01:00
commit 738a94093a
94 changed files with 1902 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
[gd_scene format=3 uid="uid://id0pabbvhqyf"]
[ext_resource type="AudioStream" uid="uid://uofd453dcad6" path="res://assets/sfx/background_music.mp3" id="1_s1x8q"]
[node name="BackgroundMusic" type="Node2D" unique_id=1149003101]
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="." unique_id=1705185639]
stream = ExtResource("1_s1x8q")
autoplay = true
parameters/looping = true

View File

@@ -0,0 +1,62 @@
[gd_scene format=3 uid="uid://dgsxil03vytwi"]
[ext_resource type="Texture2D" uid="uid://c362isr3mm3oj" path="res://assets/graphics/background.png" id="1_ulj4j"]
[ext_resource type="Script" uid="uid://n4gqvy2ytjst" path="res://assets/scripts/background_scaler.gd" id="2_ulj4j"]
[ext_resource type="FontFile" uid="uid://bd4iri86plmvs" path="res://font.ttf" id="7_7o21g"]
[ext_resource type="Theme" uid="uid://b0kqa0xq44wmt" path="res://theme.tres" id="7_dd8ki"]
[ext_resource type="Script" uid="uid://65gtnts6kj5w" path="res://assets/scripts/credits_close_button.gd" id="8_7o21g"]
[sub_resource type="Theme" id="Theme_g3p6w"]
default_font = ExtResource("7_7o21g")
default_font_size = 32
RichTextLabel/colors/default_color = Color(0, 0, 0, 1)
[node name="Credits" type="Control" unique_id=1417362834]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="background" type="Sprite2D" parent="." unique_id=507322845]
position = Vector2(573, 323.5)
scale = Vector2(0.6, 0.6009259)
texture = ExtResource("1_ulj4j")
script = ExtResource("2_ulj4j")
[node name="credits_label" type="RichTextLabel" parent="." unique_id=1646312536]
layout_mode = 0
offset_left = 203.0
offset_top = 112.0
offset_right = 1075.0
offset_bottom = 623.0
theme = ExtResource("7_dd8ki")
theme_override_font_sizes/normal_font_size = 64
text = "csd4ni3l - Game Developer
Koni Rea - Graphics Designer
Marsh - Graphics Designer
Water splash sound effect from Pixabay
Music by Viacheslav Starostin from Pixabay"
[node name="close_button" type="Button" parent="." unique_id=1132807717]
layout_mode = 0
offset_left = 1034.0
offset_top = 23.0
offset_right = 1109.0
offset_bottom = 94.0
theme = SubResource("Theme_g3p6w")
theme_override_font_sizes/font_size = 32
text = "X"
script = ExtResource("8_7o21g")
[node name="title" type="RichTextLabel" parent="." unique_id=1072193387]
layout_mode = 0
offset_left = 412.0
offset_top = 1.0
offset_right = 755.0
offset_bottom = 105.0
theme = ExtResource("7_dd8ki")
theme_override_font_sizes/normal_font_size = 96
text = "Credits
"

View File

@@ -0,0 +1,24 @@
[gd_scene format=3 uid="uid://b44s3ql48fqgs"]
[ext_resource type="Texture2D" uid="uid://bdh8no6kvpber" path="res://assets/graphics/bubble.png" id="1_7wt87"]
[ext_resource type="Script" uid="uid://bouh46cbivutc" path="res://assets/scripts/cutscene.gd" id="1_hw5wm"]
[ext_resource type="Script" uid="uid://c02mfpu30mq5w" path="res://assets/scripts/bubble.gd" id="2_hw5wm"]
[ext_resource type="Texture2D" uid="uid://c362isr3mm3oj" path="res://assets/graphics/background.png" id="4_hjtv6"]
[ext_resource type="Script" uid="uid://n4gqvy2ytjst" path="res://assets/scripts/background_scaler.gd" id="5_y0eth"]
[node name="Cutscene" type="Node2D" unique_id=525358259]
script = ExtResource("1_hw5wm")
[node name="bubble_to_clone" type="Sprite2D" parent="." unique_id=764080502]
z_index = 99
position = Vector2(-757, 280.99997)
scale = Vector2(1, 0.88)
texture = ExtResource("1_7wt87")
script = ExtResource("2_hw5wm")
metadata/is_original = true
[node name="background" type="Sprite2D" parent="." unique_id=228251703]
position = Vector2(573, 323.5)
scale = Vector2(0.6, 0.6009259)
texture = ExtResource("4_hjtv6")
script = ExtResource("5_y0eth")

168
assets/scenes/game.tscn Normal file
View File

@@ -0,0 +1,168 @@
[gd_scene format=3 uid="uid://cqdfva3dlq28y"]
[ext_resource type="Script" uid="uid://wwqm6xuj48lg" path="res://assets/scripts/game_manager.gd" id="1_fc420"]
[ext_resource type="Texture2D" uid="uid://c362isr3mm3oj" path="res://assets/graphics/background.png" id="2_kc0sw"]
[ext_resource type="Script" uid="uid://n4gqvy2ytjst" path="res://assets/scripts/background_scaler.gd" id="3_i358u"]
[ext_resource type="Script" uid="uid://qp6v3st8ix3v" path="res://assets/scripts/fish_area_2d.gd" id="6_5jdip"]
[ext_resource type="Theme" uid="uid://b0kqa0xq44wmt" path="res://theme.tres" id="8_rojm1"]
[ext_resource type="Texture2D" uid="uid://dh6okgkcp5222" path="res://assets/graphics/shop.png" id="9_pnywb"]
[ext_resource type="Script" uid="uid://24gsro7ny3g" path="res://assets/scripts/shop_clicker.gd" id="10_fx2rd"]
[ext_resource type="FontFile" uid="uid://bd4iri86plmvs" path="res://font.ttf" id="11_jdjof"]
[ext_resource type="Texture2D" uid="uid://co1iuyvs5t7cb" path="res://assets/graphics/blue_cod.png" id="12_h5j7u"]
[ext_resource type="Texture2D" uid="uid://bbhjrteldo3ki" path="res://assets/graphics/toucan.png" id="12_s2rys"]
[ext_resource type="Script" uid="uid://bqxust6gkydnx" path="res://assets/scripts/toucan.gd" id="13_fc420"]
[ext_resource type="Script" uid="uid://cprehixvgn0k1" path="res://assets/scripts/click_timer.gd" id="14_p2xyf"]
[ext_resource type="Script" uid="uid://c8ys3ls826d21" path="res://assets/scripts/spawn_timer.gd" id="15_xe33q"]
[ext_resource type="Texture2D" uid="uid://bdh8no6kvpber" path="res://assets/graphics/bubble.png" id="16_fqk1v"]
[ext_resource type="Texture2D" uid="uid://bfy0mfttvevvr" path="res://assets/graphics/blahaj.png" id="16_kc0sw"]
[ext_resource type="Script" uid="uid://c02mfpu30mq5w" path="res://assets/scripts/bubble.gd" id="17_5jdip"]
[ext_resource type="Script" uid="uid://doambvkr7546i" path="res://assets/scripts/blahaj.gd" id="17_fqk1v"]
[sub_resource type="GDScript" id="GDScript_fc0e3"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_5jdip"]
size = Vector2(168, 199.99992)
[sub_resource type="Theme" id="Theme_j5wjh"]
default_font = ExtResource("11_jdjof")
default_font_size = 32
RichTextLabel/colors/default_color = Color(0, 0, 0, 1)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_fc420"]
size = Vector2(163.33324, 153.09705)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_fqk1v"]
size = Vector2(82.5, 82)
[node name="Main" type="Node2D" unique_id=695523442]
script = ExtResource("1_fc420")
[node name="background" type="Sprite2D" parent="." unique_id=60202612]
position = Vector2(573, 323.5)
scale = Vector2(0.6, 0.6009259)
texture = ExtResource("2_kc0sw")
script = ExtResource("3_i358u")
[node name="fish_parent" type="Node2D" parent="." unique_id=692749356]
script = SubResource("GDScript_fc0e3")
[node name="fish_area2d" type="Area2D" parent="fish_parent" unique_id=158667042 groups=["fish"]]
position = Vector2(-1367, 397)
scale = Vector2(0.5, 0.34)
script = ExtResource("6_5jdip")
metadata/is_original = true
[node name="fish_button_to_clone" type="Sprite2D" parent="fish_parent/fish_area2d" unique_id=485461812]
texture = ExtResource("12_h5j7u")
metadata/is_original = true
[node name="fish_collider" type="CollisionShape2D" parent="fish_parent/fish_area2d" unique_id=1553468051]
position = Vector2(0, 2.941162)
shape = SubResource("RectangleShape2D_5jdip")
[node name="Control" type="Control" parent="." unique_id=645586738]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 1037.0
offset_top = 152.0
offset_right = 1037.0
offset_bottom = 152.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 1
[node name="shop_button" type="TextureButton" parent="Control" unique_id=477030571]
layout_mode = 0
offset_right = 130.0
offset_bottom = 130.0
mouse_filter = 1
theme = ExtResource("8_rojm1")
texture_normal = ExtResource("9_pnywb")
stretch_mode = 0
script = ExtResource("10_fx2rd")
[node name="shop_label" type="RichTextLabel" parent="Control" unique_id=653140448]
layout_mode = 1
anchors_preset = -1
anchor_right = 0.079
anchor_bottom = 0.062000003
offset_left = 32.0
offset_top = 116.0
offset_right = 128.84
offset_bottom = 158.52
mouse_filter = 2
theme = ExtResource("8_rojm1")
text = "Shop"
[node name="coins_label" type="RichTextLabel" parent="Control" unique_id=1668438805]
top_level = true
layout_mode = 0
offset_left = 1.0
offset_top = 1.0
offset_right = 1201.0
offset_bottom = 176.0
scale = Vector2(1.0200951, 1.1290053)
mouse_filter = 2
theme = SubResource("Theme_j5wjh")
text = "Coins: {}
CPS: {}
Hit Rate: {} %
"
[node name="click_timer" type="Timer" parent="." unique_id=1213150076]
wait_time = 3.0
autostart = true
script = ExtResource("14_p2xyf")
[node name="spawn_timer" type="Timer" parent="." unique_id=1014421546]
wait_time = 0.33
autostart = true
script = ExtResource("15_xe33q")
[node name="ClickSoundManager" type="AudioStreamPlayer2D" parent="." unique_id=2021202455]
volume_db = 15.0
[node name="toucan_area2d" type="Area2D" parent="." unique_id=855676345]
position = Vector2(-1151, 373)
scale = Vector2(0.6, 0.6009259)
metadata/is_original = true
[node name="toucan" type="Sprite2D" parent="toucan_area2d" unique_id=1093138591]
position = Vector2(4.999756, -4.992241)
scale = Vector2(5, 5)
texture = ExtResource("12_s2rys")
script = ExtResource("13_fc420")
[node name="toucan_collider" type="CollisionShape2D" parent="toucan_area2d" unique_id=279039260]
position = Vector2(-3.333374, 11.648682)
shape = SubResource("RectangleShape2D_fc420")
[node name="blahaj_area2d" type="Area2D" parent="." unique_id=1258170752]
position = Vector2(-1141, 498)
metadata/is_original = true
[node name="blahaj" type="Sprite2D" parent="blahaj_area2d" unique_id=888472474]
position = Vector2(10, -11)
scale = Vector2(6, 4.5)
texture = ExtResource("16_kc0sw")
script = ExtResource("17_fqk1v")
[node name="blahaj_collider" type="CollisionShape2D" parent="blahaj_area2d" unique_id=922647248]
position = Vector2(63, 8)
shape = SubResource("RectangleShape2D_fqk1v")
[node name="bubble_to_clone" type="Sprite2D" parent="." unique_id=1907261063]
z_index = 99
position = Vector2(-757, 280.99997)
scale = Vector2(1, 0.88)
texture = ExtResource("16_fqk1v")
script = ExtResource("17_5jdip")
metadata/is_original = true
[connection signal="area_entered" from="fish_parent/fish_area2d" to="fish_parent/fish_area2d" method="_on_area_entered"]
[connection signal="input_event" from="fish_parent/fish_area2d" to="fish_parent/fish_area2d" method="_on_input_event"]
[connection signal="timeout" from="click_timer" to="click_timer" method="_on_timeout"]
[connection signal="timeout" from="spawn_timer" to="spawn_timer" method="_on_timeout"]
[connection signal="area_entered" from="blahaj_area2d" to="blahaj_area2d/blahaj" method="blahaj_collide"]

View File

@@ -0,0 +1,63 @@
[gd_scene format=3 uid="uid://c2tl28kgehoia"]
[ext_resource type="Texture2D" uid="uid://c362isr3mm3oj" path="res://assets/graphics/background.png" id="1_ej4af"]
[ext_resource type="FontFile" uid="uid://bd4iri86plmvs" path="res://font.ttf" id="1_obrqb"]
[ext_resource type="Theme" uid="uid://b0kqa0xq44wmt" path="res://theme.tres" id="2_57ux2"]
[ext_resource type="Script" uid="uid://n4gqvy2ytjst" path="res://assets/scripts/background_scaler.gd" id="2_xmmar"]
[ext_resource type="Script" uid="uid://bqw60tl4be18a" path="res://assets/scripts/play_button.gd" id="3_f2xsc"]
[ext_resource type="Script" uid="uid://qe15irthfjxd" path="res://assets/scripts/credits_button.gd" id="9_tp4c4"]
[sub_resource type="Theme" id="Theme_7vrkn"]
default_font = ExtResource("1_obrqb")
default_font_size = 32
RichTextLabel/colors/default_color = Color(0, 0, 0, 1)
[node name="MainMenu" type="Control" unique_id=1443333066]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="background" type="Sprite2D" parent="." unique_id=1313136200]
position = Vector2(573, 323.5)
scale = Vector2(0.6, 0.6009259)
texture = ExtResource("1_ej4af")
script = ExtResource("2_xmmar")
[node name="shop_label" type="RichTextLabel" parent="." unique_id=111770834]
layout_mode = 0
offset_left = 335.0
offset_top = 171.0
offset_right = 841.0
offset_bottom = 268.0
theme = SubResource("Theme_7vrkn")
theme_override_font_sizes/normal_font_size = 64
text = "Fishy Fingers"
[node name="credits_button" type="Button" parent="." unique_id=2014728260]
layout_mode = 1
anchors_preset = -1
anchor_right = 0.46100003
anchor_bottom = 0.39600003
offset_left = 319.0
offset_top = 427.0
offset_right = 287.92798
offset_bottom = 295.39197
theme = ExtResource("2_57ux2")
text = "Credits"
script = ExtResource("9_tp4c4")
[node name="play_button" type="Button" parent="." unique_id=1330388568]
layout_mode = 1
anchors_preset = -1
anchor_right = 0.46100003
anchor_bottom = 0.39600003
offset_left = 318.0
offset_top = 283.0
offset_right = 286.92798
offset_bottom = 151.39197
theme = ExtResource("2_57ux2")
text = "Play"
script = ExtResource("3_f2xsc")

149
assets/scenes/shop.tscn Normal file
View File

@@ -0,0 +1,149 @@
[gd_scene format=3 uid="uid://cdh481ubod11g"]
[ext_resource type="Script" uid="uid://deoyoa417jjia" path="res://assets/scripts/shop_manager.gd" id="1_6p2lh"]
[ext_resource type="Theme" uid="uid://b0kqa0xq44wmt" path="res://theme.tres" id="1_54clv"]
[ext_resource type="FontFile" uid="uid://bd4iri86plmvs" path="res://font.ttf" id="1_s3tas"]
[ext_resource type="Texture2D" uid="uid://bbhjrteldo3ki" path="res://assets/graphics/toucan.png" id="2_54clv"]
[ext_resource type="Script" uid="uid://cyc55s4f8xujd" path="res://assets/scripts/fish_spawn_buy.gd" id="2_kam1a"]
[ext_resource type="Script" uid="uid://c14tjf3qlxdi" path="res://assets/scripts/sell_cost_buy.gd" id="3_2uom1"]
[ext_resource type="Texture2D" uid="uid://bfy0mfttvevvr" path="res://assets/graphics/blahaj.png" id="3_fxg5x"]
[ext_resource type="Script" uid="uid://dpoooqbw6moto" path="res://assets/scripts/shop_close.gd" id="4_cxlow"]
[ext_resource type="Script" uid="uid://bm7jxybqhhny2" path="res://assets/scripts/toucan_buy.gd" id="4_fxg5x"]
[ext_resource type="Script" uid="uid://xye8ey43chew" path="res://assets/scripts/blahaj_buy.gd" id="7_cxlow"]
[ext_resource type="Texture2D" uid="uid://c362isr3mm3oj" path="res://assets/graphics/background.png" id="11_d6ybq"]
[ext_resource type="Script" uid="uid://n4gqvy2ytjst" path="res://assets/scripts/background_scaler.gd" id="12_nxakl"]
[sub_resource type="Theme" id="Theme_j5wjh"]
default_font = ExtResource("1_s3tas")
default_font_size = 32
RichTextLabel/colors/default_color = Color(0, 0, 0, 1)
[sub_resource type="Theme" id="Theme_2uom1"]
default_font = ExtResource("1_s3tas")
default_font_size = 32
RichTextLabel/colors/default_color = Color(0, 0, 0, 1)
[node name="Shop" type="Control" unique_id=1195647882]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 1.0
offset_top = 2.0
offset_right = 1.0
offset_bottom = 2.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_6p2lh")
[node name="background" type="Sprite2D" parent="." unique_id=1096635644]
position = Vector2(576.00006, 324.00003)
scale = Vector2(0.59999996, 0.60231483)
texture = ExtResource("11_d6ybq")
script = ExtResource("12_nxakl")
[node name="fish_spawn_upgrade" type="Button" parent="." unique_id=1358983973]
layout_mode = 0
offset_left = 878.0
offset_top = 157.0
offset_right = 1094.0
offset_bottom = 336.0
theme = ExtResource("1_54clv")
theme_override_font_sizes/font_size = 24
text = "Fish Spawn Speed
upgrade
(+1 / sec)
Owned: 0
Cost: 750$"
script = ExtResource("2_kam1a")
[node name="sell_cost_upgrade" type="Button" parent="." unique_id=2054873946]
layout_mode = 0
offset_left = 590.0
offset_top = 155.0
offset_right = 819.0
offset_bottom = 334.0
theme = ExtResource("1_54clv")
theme_override_font_sizes/font_size = 24
text = "Sell cost upgrade
(+0.5$)
Owned: 0
Cost: 500$"
script = ExtResource("3_2uom1")
[node name="shop_label" type="RichTextLabel" parent="." unique_id=58579959]
layout_mode = 0
offset_left = 443.0
offset_top = 30.0
offset_right = 634.0
offset_bottom = 120.0
theme = SubResource("Theme_j5wjh")
theme_override_font_sizes/normal_font_size = 64
text = "Shop"
[node name="toucan_label" type="RichTextLabel" parent="." unique_id=1078357010]
layout_mode = 0
offset_left = 67.0
offset_top = 266.0
offset_right = 326.0
offset_bottom = 391.0
theme = SubResource("Theme_j5wjh")
text = "Toucan
Owned: 0
Cost: 250$"
[node name="toucan_button" type="TextureButton" parent="." unique_id=1039683139]
layout_mode = 0
offset_left = 57.0
offset_top = 122.0
offset_right = 207.0
offset_bottom = 272.0
texture_normal = ExtResource("2_54clv")
ignore_texture_size = true
stretch_mode = 0
script = ExtResource("4_fxg5x")
[node name="blahaj_label" type="RichTextLabel" parent="." unique_id=474178222]
layout_mode = 0
offset_left = 305.0
offset_top = 266.0
offset_right = 568.0
offset_bottom = 377.0
theme = SubResource("Theme_j5wjh")
text = "Blahaj
Owned: 0
Cost: 1000$"
[node name="close_button" type="Button" parent="." unique_id=1862390014]
layout_mode = 0
offset_left = 1055.0
offset_top = 35.0
offset_right = 1130.0
offset_bottom = 106.0
theme = SubResource("Theme_j5wjh")
theme_override_font_sizes/font_size = 32
text = "X"
script = ExtResource("4_cxlow")
[node name="blahaj_button" type="TextureButton" parent="." unique_id=1677413315]
layout_mode = 0
offset_left = 324.0
offset_top = 110.0
offset_right = 504.0
offset_bottom = 290.0
texture_normal = ExtResource("3_fxg5x")
ignore_texture_size = true
stretch_mode = 0
script = ExtResource("7_cxlow")
[node name="coins_label" type="RichTextLabel" parent="." unique_id=1439188814]
top_level = true
layout_mode = 0
offset_left = 2.0
offset_top = 18.0
offset_right = 134.3406
offset_bottom = 63.17251
scale = Vector2(1.0200951, 1.1290053)
mouse_filter = 2
theme = SubResource("Theme_2uom1")
text = "Coins: {}"