Compare commits

...
38 Commits
Author SHA1 Message Date
Lncvrt e83b83218e Add linux x86 and arm64 support, and windows x86 support 2026-02-27 11:31:39 -07:00
Lncvrt ffe0a557f8 Fix 2026-02-24 16:28:59 -07:00
Lncvrt 00d71d1f60 Set app export paths 2026-02-24 16:04:08 -07:00
Lncvrt 0eca7068ca Fix iOS building 2026-02-24 16:01:04 -07:00
Lncvrt 6e4cdbce26 Fix mobile buttons 2026-02-24 15:57:30 -07:00
Lncvrt 48523c7591 Attempted fix did not fix 2026-02-24 15:44:02 -07:00
Lncvrt b116e210c3 Fix android internet access and add iOS build profile 2026-02-24 15:43:53 -07:00
Lncvrt 0d96f00c44 How did you manage this 2026-02-24 15:32:33 -07:00
Puppet 2738c04c09 hid the mobile buttons again 2026-02-24 14:25:08 -08:00
Puppet 1c7d34b623 Fixed anchoring stuff hopefully 2026-02-24 14:23:11 -08:00
Lncvrt 8094c3f7c2 Finish mobile support 2026-02-24 15:13:48 -07:00
Lncvrt 39ee3d4982 Use Node2D instead of Node 2026-02-24 15:04:29 -07:00
Lncvrt e25edbf475 Add android build preset and fix pausing 2026-02-24 15:02:23 -07:00
Lncvrt 50f31652f8 Add mobile game player support 2026-02-24 14:48:24 -07:00
Lncvrt 3cc809d457 Bump version to 1.1.0 2026-02-24 14:13:48 -07:00
Lncvrt 65f7792d7b Update gitignore 2026-02-24 14:13:10 -07:00
Lncvrt b862123d88 Update icon and add export presets 2026-02-24 14:12:47 -07:00
Lncvrt 6ac8ce1c5a Update license 2026-02-24 13:59:27 -07:00
Lncvrt c1d0f04e07 Use Dotnet 10 2026-02-24 13:58:21 -07:00
Lncvrt 2aa3bc172b Improve pause menu 2026-02-24 13:52:35 -07:00
Puppet d2607bf99a Fixed some berries being too loud 2026-02-24 12:51:24 -08:00
Puppet 0fb849e878 Fixed my retardation
I was using > instead of >= here for some reason
2026-02-24 11:06:28 -08:00
Lncvrt 34380b2370 Fix high score 2026-02-24 11:56:02 -07:00
Lncvrt fb4e4083bf Fix ultra berry not giving score 2026-02-24 11:53:24 -07:00
Puppet b67f9ca2d4 Added fps counter
for some reason high score just wont save and the ultra berry doesnt
give u score but I am NOT fucking dealing with this rn cuz I'm already
in a horrible mood.
2026-02-23 23:51:49 -08:00
Puppet cbefe77af7 Made menu music keep playing across all scenes but game
this was way more annoying than it should have been. Wanna know why?
Godot.
2026-02-23 23:23:40 -08:00
Puppet ac55503bab Updated to godot 4.6.1 2026-02-23 22:50:52 -08:00
Puppet 4c2960ff58 updated to godot 4.6 2026-01-29 12:22:36 -08:00
Puppet d40b71544b Made the background a bit lighter 2026-01-18 23:15:32 -08:00
Puppet 304933bb76 Fixed textures looking blurry and made berries a tiny bit bigger 2026-01-18 23:10:48 -08:00
Lncvrt 2fb4c01fd1 Fix berry size 2026-01-19 00:03:07 -07:00
Puppet ac67fcc693 Made berries smaller
lncvrt wanted them to be the same size as in normal bd
2026-01-18 22:58:20 -08:00
Puppet 1234956f2c Changed the endpoint 2026-01-18 22:54:48 -08:00
Puppet 7374d8f3ca Merge branch 'feat/settings' 2026-01-18 22:50:39 -08:00
Lncvrt d1579075cb Finish making settings 2026-01-18 23:40:22 -07:00
Puppet 82ccb1fca4 Fixed the font looking really weird
It was a really easy fix thankfully. Also I looked at the logo before
and after the fix and god this is a huge improvement
2025-11-17 17:21:45 -08:00
Puppet 268b1fd35b Made it so berry sounds cant cut off other berry sounds
was kinda annoying to fix but it was worth it
2025-11-10 23:13:16 -08:00
Puppet 28b0a1d72b Added settings to the settings menu
No logic yet cuz lncvrt is gonna add that (if he doesnt then I will
later)
2025-11-02 22:02:53 -08:00
50 changed files with 2287 additions and 155 deletions

No files matched your search

+1
View File
@@ -18,4 +18,5 @@ mono_crash.*.json
.vscode/
android/
builds/
.DS_STORE
+2 -2
View File
@@ -1,6 +1,6 @@
<Project Sdk="Godot.NET.Sdk/4.5.1">
<Project Sdk="Godot.NET.Sdk/4.6.1">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<EnableDynamicLoading>true</EnableDynamicLoading>
<RootNamespace>BerryDashGodotRemake</RootNamespace>
</PropertyGroup>
-7
View File
@@ -1,7 +0,0 @@
<Project Sdk="Godot.NET.Sdk/4.4.1">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<EnableDynamicLoading>true</EnableDynamicLoading>
<RootNamespace>BerryDashGodotRemake</RootNamespace>
</PropertyGroup>
</Project>
-7
View File
@@ -1,7 +0,0 @@
<Project Sdk="Godot.NET.Sdk/4.5.0">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<EnableDynamicLoading>true</EnableDynamicLoading>
<RootNamespace>BerryDashGodotRemake</RootNamespace>
</PropertyGroup>
</Project>
+2 -2
View File
@@ -631,7 +631,7 @@ to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
Berry Dash Godot Remake Copyright (C) 2025 Lncvrt & Puppet
Berry Dash Godot Remake Copyright (C) 2026 Lncvrt & Puppet
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -651,7 +651,7 @@ Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
Berry Dash Godot Remake Copyright (C) 2025 Lncvrt & Puppet
Berry Dash Godot Remake Copyright (C) 2026 Lncvrt & Puppet
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
+3 -2
View File
@@ -4,13 +4,14 @@
[ext_resource type="Texture2D" uid="uid://keupgfuijdl7" path="res://Textures/Berries/Berry.png" id="1_g0wxr"]
[sub_resource type="CircleShape2D" id="CircleShape2D_0wwwo"]
radius = 107.52
radius = 68.007355
[node name="Berry" type="Node2D"]
script = ExtResource("1_0wwwo")
[node name="Sprite" type="Sprite2D" parent="."]
scale = Vector2(1.52344, 1.52344)
texture_filter = 3
scale = Vector2(1.1, 1.1)
texture = ExtResource("1_g0wxr")
[node name="Hitbox" type="Area2D" parent="."]
@@ -1,9 +1,9 @@
[gd_scene load_steps=8 format=3 uid="uid://cs22tndewcohw"]
[gd_scene format=3 uid="uid://cs22tndewcohw"]
[ext_resource type="FontFile" uid="uid://dq7nkk7n7wrq4" path="res://Fonts/Lexend.ttf" id="1_lj4oq"]
[ext_resource type="Script" uid="uid://bc4miccifwrk0" path="res://Scripts/SceneSwitcher.cs" id="2_qwhev"]
[ext_resource type="Script" uid="uid://cmvj0ubia5hbv" path="res://Scripts/PauseMenuContinueButton.cs" id="3_5w4ur"]
[ext_resource type="Script" uid="uid://cqvgtx6usjjys" path="res://Scripts/BackToMenuLogic.cs" id="3_ey1tb"]
[ext_resource type="FontFile" uid="uid://dq7nkk7n7wrq4" path="res://Fonts/Lexend.ttf" id="1_bech0"]
[ext_resource type="Script" uid="uid://bc4miccifwrk0" path="res://Scripts/SceneSwitcher.cs" id="2_s3wmd"]
[ext_resource type="Script" uid="uid://cqvgtx6usjjys" path="res://Scripts/BackToMenuLogic.cs" id="3_yl41b"]
[ext_resource type="Script" uid="uid://cmvj0ubia5hbv" path="res://Scripts/PauseMenuContinueButton.cs" id="4_adtx4"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_qwhev"]
bg_color = Color(1, 1, 1, 1)
@@ -26,7 +26,7 @@ corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[node name="PauseMenu" type="Control"]
[node name="PauseMenu" type="Control" unique_id=1316440612]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
@@ -34,7 +34,7 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Background" type="ColorRect" parent="."]
[node name="Background" type="ColorRect" parent="." unique_id=1691929068]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@@ -43,7 +43,7 @@ grow_horizontal = 2
grow_vertical = 2
color = Color(0, 0, 0, 0.49803922)
[node name="Buttons" type="HBoxContainer" parent="."]
[node name="Buttons" type="HBoxContainer" parent="." unique_id=33125127]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
@@ -59,7 +59,7 @@ grow_vertical = 2
theme_override_constants/separation = 50
alignment = 1
[node name="Menu" type="Button" parent="Buttons"]
[node name="Menu" type="Button" parent="Buttons" unique_id=1222672524]
custom_minimum_size = Vector2(500, 0)
layout_mode = 2
theme_override_colors/font_color = Color(0, 0, 0, 1)
@@ -68,22 +68,22 @@ theme_override_colors/font_pressed_color = Color(0, 0, 0, 1)
theme_override_colors/font_hover_color = Color(0, 0, 0, 1)
theme_override_colors/font_hover_pressed_color = Color(0, 0, 0, 1)
theme_override_colors/font_disabled_color = Color(0, 0, 0, 1)
theme_override_fonts/font = ExtResource("1_lj4oq")
theme_override_fonts/font = ExtResource("1_bech0")
theme_override_font_sizes/font_size = 56
theme_override_styles/normal = SubResource("StyleBoxFlat_qwhev")
theme_override_styles/pressed = SubResource("StyleBoxFlat_5w4ur")
theme_override_styles/hover = SubResource("StyleBoxFlat_ey1tb")
text = "Back to Menu"
script = ExtResource("2_qwhev")
script = ExtResource("2_s3wmd")
ScenePath = "res://Scenes/MainMenu.tscn"
[node name="BackToMenuLogic" type="Control" parent="Buttons/Menu"]
[node name="BackToMenuLogic" type="Control" parent="Buttons/Menu" unique_id=930904135]
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
script = ExtResource("3_ey1tb")
script = ExtResource("3_yl41b")
[node name="Continue" type="Button" parent="Buttons"]
[node name="Continue" type="Button" parent="Buttons" unique_id=767344177]
custom_minimum_size = Vector2(500, 0)
layout_mode = 2
theme_override_colors/font_color = Color(0, 0, 0, 1)
@@ -92,13 +92,13 @@ theme_override_colors/font_pressed_color = Color(0, 0, 0, 1)
theme_override_colors/font_hover_color = Color(0, 0, 0, 1)
theme_override_colors/font_hover_pressed_color = Color(0, 0, 0, 1)
theme_override_colors/font_disabled_color = Color(0, 0, 0, 1)
theme_override_fonts/font = ExtResource("1_lj4oq")
theme_override_fonts/font = ExtResource("1_bech0")
theme_override_font_sizes/font_size = 56
theme_override_styles/normal = SubResource("StyleBoxFlat_qwhev")
theme_override_styles/pressed = SubResource("StyleBoxFlat_5w4ur")
theme_override_styles/hover = SubResource("StyleBoxFlat_ey1tb")
text = "Continue"
script = ExtResource("3_5w4ur")
script = ExtResource("4_adtx4")
[connection signal="button_up" from="Buttons/Menu" to="Buttons/Menu/BackToMenuLogic" method="_on_menu_button_up"]
[connection signal="button_up" from="Buttons/Continue" to="Buttons/Continue" method="_on_button_up"]
+146 -16
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=17 format=3 uid="uid://bgt46l5p8qrwc"]
[gd_scene format=3 uid="uid://bgt46l5p8qrwc"]
[ext_resource type="Script" uid="uid://dfv3cmvcskd6t" path="res://Scripts/Player.cs" id="1_gl6un"]
[ext_resource type="Texture2D" uid="uid://5ecdlqnn0u6g" path="res://Textures/Icons/Bird1.png" id="1_iukft"]
@@ -8,9 +8,15 @@
[ext_resource type="AudioStream" uid="uid://7ahbsuq3jt4v" path="res://Audio/SFX/Jump.mp3" id="4_wxwew"]
[ext_resource type="AudioStream" uid="uid://cryo6mtltnnyk" path="res://Audio/Music/Game/PixelPeekerPolka.mp3" id="6_fgofq"]
[ext_resource type="AudioStream" uid="uid://btl7lrqmikaro" path="res://Audio/Music/Game/FluffingADuck.mp3" id="7_2irst"]
[ext_resource type="Script" uid="uid://c6eb8owotqy45" path="res://Scripts/Fps.cs" id="7_acvyw"]
[ext_resource type="AudioStream" uid="uid://js133askfgfd" path="res://Audio/Music/Game/AmazingPlan.mp3" id="8_3cx6b"]
[ext_resource type="Texture2D" uid="uid://dryavksejt84w" path="res://Textures/Buttons/Circle.svg" id="8_4q8tf"]
[ext_resource type="Texture2D" uid="uid://cdl6h5fqjke4f" path="res://Textures/Buttons/ArrowLeft.svg" id="8_alh3a"]
[ext_resource type="Texture2D" uid="uid://d2kxub8e1gl4x" path="res://Textures/Buttons/Pause.svg" id="9_tfod6"]
[ext_resource type="AudioStream" uid="uid://dnnjkxgsh0vf6" path="res://Audio/Music/Game/Hyperfun.mp3" id="9_wxwew"]
[ext_resource type="Texture2D" uid="uid://cud8l2dwwi6y4" path="res://Textures/Buttons/ArrowRight.svg" id="9_x3xnh"]
[ext_resource type="AudioStream" uid="uid://cds2k1ijtf5ol" path="res://Audio/Music/Game/QuirkyDog.mp3" id="10_acvyw"]
[ext_resource type="Texture2D" uid="uid://b54itl2db5w64" path="res://Textures/Buttons/CheveronUp.svg" id="11_8r6kd"]
[ext_resource type="AudioStream" uid="uid://em0ro3lwpp0a" path="res://Audio/Music/Game/Wallpaper.mp3" id="11_alh3a"]
[ext_resource type="AudioStream" uid="uid://c51he0x017y6d" path="res://Audio/Music/Game/WhoLikesToParty.mp3" id="12_4q8tf"]
[ext_resource type="AudioStream" uid="uid://g432tiqm4b41" path="res://Audio/Music/Game/LatinIndustries.mp3" id="13_x3xnh"]
@@ -30,36 +36,37 @@ stream_5 = ExtResource("11_alh3a")
stream_6 = ExtResource("12_4q8tf")
stream_7 = ExtResource("13_x3xnh")
[node name="Game" type="Node2D"]
[node name="Game" type="Node2D" unique_id=859033263]
[node name="Center" type="Node2D" parent="."]
[node name="Center" type="Node2D" parent="." unique_id=2117748061]
position = Vector2(960, 540)
[node name="Berries" type="Node2D" parent="."]
[node name="Berries" type="Node2D" parent="." unique_id=1540125835]
position = Vector2(960, 0)
script = ExtResource("1_kldst")
[node name="Player" type="Node2D" parent="."]
[node name="Player" type="Node2D" parent="." unique_id=930665884]
position = Vector2(960, 978)
script = ExtResource("1_gl6un")
[node name="Texture" type="Sprite2D" parent="Player"]
[node name="Texture" type="Sprite2D" parent="Player" unique_id=1806119991]
texture_filter = 3
scale = Vector2(1.675, 1.675)
texture = ExtResource("1_iukft")
[node name="Hitbox" type="Area2D" parent="Player"]
[node name="Hitbox" type="Area2D" parent="Player" unique_id=325775908]
position = Vector2(-5, 23)
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player/Hitbox"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player/Hitbox" unique_id=1123246713]
shape = SubResource("CircleShape2D_j5yw3")
debug_color = Color(1, 1, 1, 0.188235)
[node name="JumpSoundPlayer" type="AudioStreamPlayer" parent="Player"]
[node name="JumpSoundPlayer" type="AudioStreamPlayer" parent="Player" unique_id=468694173]
stream = ExtResource("4_wxwew")
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="CanvasLayer" type="CanvasLayer" parent="." unique_id=719018327]
[node name="ScoreText" type="Control" parent="CanvasLayer"]
[node name="ScoreText" type="Control" parent="CanvasLayer" unique_id=2115137187]
layout_mode = 3
anchors_preset = 5
anchor_left = 0.5
@@ -70,7 +77,7 @@ offset_bottom = 40.0
grow_horizontal = 2
script = ExtResource("4_b2bpf")
[node name="ScoreLabel" type="Label" parent="CanvasLayer/ScoreText"]
[node name="ScoreLabel" type="Label" parent="CanvasLayer/ScoreText" unique_id=2145902877]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
@@ -86,7 +93,7 @@ text = "Score: 0"
horizontal_alignment = 1
vertical_alignment = 1
[node name="HighScoreLabel" type="Label" parent="CanvasLayer/ScoreText"]
[node name="HighScoreLabel" type="Label" parent="CanvasLayer/ScoreText" unique_id=660941160]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
@@ -103,7 +110,7 @@ text = "High Score: 0"
horizontal_alignment = 1
vertical_alignment = 1
[node name="EffectTimerLabel" type="Label" parent="CanvasLayer/ScoreText"]
[node name="EffectTimerLabel" type="Label" parent="CanvasLayer/ScoreText" unique_id=684343472]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
@@ -120,8 +127,131 @@ text = "{Effect} expires in: {Time}"
horizontal_alignment = 1
vertical_alignment = 1
[node name="MusicPlayer" type="AudioStreamPlayer" parent="."]
[node name="FPS" type="Label" parent="CanvasLayer" unique_id=1751047754]
offset_left = 12.0
offset_right = 360.0
offset_bottom = 137.0
scale = Vector2(0.6, 0.6)
theme_override_fonts/font = ExtResource("4_kldst")
theme_override_font_sizes/font_size = 109
text = "FPS: {}"
script = ExtResource("7_acvyw")
[node name="MobileButtons" type="Control" parent="CanvasLayer" unique_id=2110753273]
visible = false
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="PauseButton" type="Button" parent="CanvasLayer/MobileButtons" unique_id=1375970461]
z_index = 10
layout_mode = 1
offset_left = 80.0
offset_top = 80.0
offset_right = 320.0002
offset_bottom = 320.0
icon_alignment = 1
expand_icon = true
[node name="Circle" type="Sprite2D" parent="CanvasLayer/MobileButtons/PauseButton" unique_id=32602554]
position = Vector2(120, 120)
scale = Vector2(0.35, 0.35)
texture = ExtResource("8_4q8tf")
[node name="Texture" type="Sprite2D" parent="CanvasLayer/MobileButtons/PauseButton" unique_id=23048453]
position = Vector2(120, 120)
scale = Vector2(0.2, 0.2)
texture = ExtResource("9_tfod6")
[node name="LeftMoveButton" type="Button" parent="CanvasLayer/MobileButtons" unique_id=1778119021]
z_index = 10
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 80.0
offset_top = -320.0
offset_right = 320.0002
offset_bottom = -80.0
grow_vertical = 0
icon_alignment = 1
expand_icon = true
[node name="Circle" type="Sprite2D" parent="CanvasLayer/MobileButtons/LeftMoveButton" unique_id=549488896]
position = Vector2(120, 120)
scale = Vector2(0.35, 0.35)
texture = ExtResource("8_4q8tf")
[node name="Texture" type="Sprite2D" parent="CanvasLayer/MobileButtons/LeftMoveButton" unique_id=934604812]
position = Vector2(120, 120)
scale = Vector2(0.2, 0.2)
texture = ExtResource("8_alh3a")
[node name="RightMoveButton" type="Button" parent="CanvasLayer/MobileButtons" unique_id=2046843618]
z_index = 10
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -320.0
offset_top = -320.0
offset_right = -80.0
offset_bottom = -80.0
grow_horizontal = 0
grow_vertical = 0
icon_alignment = 1
expand_icon = true
[node name="Circle" type="Sprite2D" parent="CanvasLayer/MobileButtons/RightMoveButton" unique_id=838628165]
position = Vector2(120, 120)
scale = Vector2(0.35, 0.35)
texture = ExtResource("8_4q8tf")
[node name="Texture" type="Sprite2D" parent="CanvasLayer/MobileButtons/RightMoveButton" unique_id=1284265984]
position = Vector2(120, 120)
scale = Vector2(0.2, 0.2)
texture = ExtResource("9_x3xnh")
[node name="JumpMoveButton" type="Button" parent="CanvasLayer/MobileButtons" unique_id=139483553]
z_index = 10
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -320.0
offset_top = -560.0
offset_right = -80.0
offset_bottom = -320.0
grow_horizontal = 0
grow_vertical = 0
icon_alignment = 1
expand_icon = true
[node name="Circle" type="Sprite2D" parent="CanvasLayer/MobileButtons/JumpMoveButton" unique_id=1010572167]
position = Vector2(120, 120)
scale = Vector2(0.35, 0.35)
texture = ExtResource("8_4q8tf")
[node name="Texture" type="Sprite2D" parent="CanvasLayer/MobileButtons/JumpMoveButton" unique_id=1571586741]
position = Vector2(120, 120)
scale = Vector2(0.2, 0.2)
texture = ExtResource("11_8r6kd")
[node name="MusicPlayer" type="AudioStreamPlayer" parent="." unique_id=1201627685]
stream = SubResource("AudioStreamPlaylist_bf53h")
autoplay = true
[node name="BerrySoundPlayer" type="AudioStreamPlayer" parent="."]
[connection signal="pressed" from="CanvasLayer/MobileButtons/PauseButton" to="Player" method="MobilePausePressed"]
[connection signal="button_down" from="CanvasLayer/MobileButtons/LeftMoveButton" to="Player" method="MobileLeftMoveDown"]
[connection signal="button_up" from="CanvasLayer/MobileButtons/LeftMoveButton" to="Player" method="MobileLeftMoveUp"]
[connection signal="button_down" from="CanvasLayer/MobileButtons/RightMoveButton" to="Player" method="MobileRightMoveDown"]
[connection signal="button_up" from="CanvasLayer/MobileButtons/RightMoveButton" to="Player" method="MobileRightMoveUp"]
[connection signal="button_down" from="CanvasLayer/MobileButtons/JumpMoveButton" to="Player" method="MobileJumpMoveDown"]
[connection signal="button_up" from="CanvasLayer/MobileButtons/JumpMoveButton" to="Player" method="MobileJumpMoveUp"]
+16 -44
View File
@@ -1,10 +1,8 @@
[gd_scene load_steps=12 format=3 uid="uid://bg4fa11htun38"]
[gd_scene format=3 uid="uid://bg4fa11htun38"]
[ext_resource type="Script" uid="uid://crsloi4abxhqh" path="res://Scripts/LoadSaveFIle.cs" id="1_df05h"]
[ext_resource type="Script" uid="uid://cyo278cd6hfm" path="res://Scripts/FirstLoad.cs" id="1_ghw46"]
[ext_resource type="FontFile" uid="uid://dq7nkk7n7wrq4" path="res://Fonts/Lexend.ttf" id="1_tt5f1"]
[ext_resource type="Script" uid="uid://bc4miccifwrk0" path="res://Scripts/SceneSwitcher.cs" id="2_8saeu"]
[ext_resource type="AudioStream" uid="uid://6v4630hrkeg6" path="res://Audio/Music/Menu.mp3" id="2_853f1"]
[ext_resource type="Script" uid="uid://c61hc1raouekv" path="res://Scripts/VersionChecker.cs" id="3_ghw46"]
[sub_resource type="LabelSettings" id="LabelSettings_tt5f1"]
font = ExtResource("1_tt5f1")
@@ -45,16 +43,16 @@ corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[node name="MainMenu" type="Control"]
[node name="MainMenu" type="Control" unique_id=636482050]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_df05h")
script = ExtResource("1_ghw46")
[node name="Center" type="Control" parent="."]
[node name="Center" type="Control" parent="." unique_id=1489292265]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
@@ -68,7 +66,7 @@ offset_bottom = 20.0
grow_horizontal = 2
grow_vertical = 2
[node name="Title" type="Control" parent="Center"]
[node name="Title" type="Control" parent="Center" unique_id=57661156]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
@@ -82,7 +80,7 @@ offset_bottom = -78.0
grow_horizontal = 2
grow_vertical = 2
[node name="Main" type="Label" parent="Center/Title"]
[node name="Main" type="Label" parent="Center/Title" unique_id=1207683741]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
@@ -103,7 +101,7 @@ label_settings = SubResource("LabelSettings_tt5f1")
horizontal_alignment = 1
vertical_alignment = 1
[node name="GodotText" type="Label" parent="Center/Title"]
[node name="GodotText" type="Label" parent="Center/Title" unique_id=403155134]
modulate = Color(0.3019, 0.560815, 0.753292, 1)
layout_mode = 1
anchors_preset = 8
@@ -124,7 +122,7 @@ text = "Godot"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Buttons" type="Control" parent="Center"]
[node name="Buttons" type="Control" parent="Center" unique_id=2095190478]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
@@ -138,7 +136,7 @@ offset_bottom = 20.0
grow_horizontal = 2
grow_vertical = 2
[node name="HBoxContainer" type="HBoxContainer" parent="Center/Buttons"]
[node name="HBoxContainer" type="HBoxContainer" parent="Center/Buttons" unique_id=1050417050]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
@@ -150,7 +148,7 @@ offset_bottom = 138.0
grow_horizontal = 2
theme_override_constants/separation = 30
[node name="Play" type="Button" parent="Center/Buttons/HBoxContainer"]
[node name="Play" type="Button" parent="Center/Buttons/HBoxContainer" unique_id=2304701]
custom_minimum_size = Vector2(500, 0)
layout_mode = 2
theme_override_colors/font_color = Color(0, 0, 0, 1)
@@ -168,7 +166,7 @@ text = "Play"
script = ExtResource("2_8saeu")
ScenePath = "res://Scenes/Game.tscn"
[node name="Settings" type="Button" parent="Center/Buttons/HBoxContainer"]
[node name="Settings" type="Button" parent="Center/Buttons/HBoxContainer" unique_id=1480005274]
custom_minimum_size = Vector2(500, 0)
layout_mode = 2
theme_override_colors/font_color = Color(0, 0, 0, 1)
@@ -183,31 +181,11 @@ theme_override_styles/normal = SubResource("StyleBoxFlat_tt5f1")
theme_override_styles/pressed = SubResource("StyleBoxFlat_8saeu")
theme_override_styles/hover = SubResource("StyleBoxFlat_df05h")
theme_override_styles/disabled = SubResource("StyleBoxFlat_8um5k")
disabled = true
text = "Settings"
script = ExtResource("2_8saeu")
ScenePath = "res://Scenes/Settings.tscn"
[node name="Label" type="Label" parent="Center/Buttons/HBoxContainer/Settings"]
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -250.0
offset_top = -57.0
offset_right = 250.0
grow_horizontal = 2
grow_vertical = 0
theme_override_colors/font_color = Color(1, 0.9609375, 0, 1)
theme_override_fonts/font = ExtResource("1_tt5f1")
theme_override_font_sizes/font_size = 35
text = "Coming Soon!"
horizontal_alignment = 1
vertical_alignment = 1
[node name="VersionText" type="Control" parent="."]
[node name="VersionText" type="Control" parent="." unique_id=949548132]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
@@ -215,9 +193,8 @@ anchor_right = 1.0
offset_left = -40.0
offset_bottom = 40.0
grow_horizontal = 0
script = ExtResource("3_ghw46")
[node name="Version" type="Label" parent="VersionText"]
[node name="Version" type="Label" parent="VersionText" unique_id=520173226]
layout_mode = 0
offset_left = -680.0
offset_top = 24.0
@@ -229,7 +206,7 @@ theme_override_font_sizes/font_size = 81
text = "Version: {Version Number}"
horizontal_alignment = 2
[node name="LatestVersion" type="Label" parent="VersionText"]
[node name="LatestVersion" type="Label" parent="VersionText" unique_id=463446398]
layout_mode = 0
offset_left = -880.0
offset_top = 104.0
@@ -241,9 +218,4 @@ theme_override_font_sizes/font_size = 81
text = "Latest Version: {Version Number}"
horizontal_alignment = 2
[node name="HTTPRequest" type="HTTPRequest" parent="VersionText/LatestVersion"]
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("2_853f1")
autoplay = true
parameters/looping = true
[node name="HTTPRequest" type="HTTPRequest" parent="VersionText/LatestVersion" unique_id=558472309]
+144 -3
View File
@@ -1,7 +1,10 @@
[gd_scene load_steps=6 format=3 uid="uid://ctb5p8ymhcshq"]
[gd_scene format=3 uid="uid://ctb5p8ymhcshq"]
[ext_resource type="FontFile" uid="uid://dq7nkk7n7wrq4" path="res://Fonts/Lexend.ttf" id="1_flfri"]
[ext_resource type="Script" uid="uid://bc4miccifwrk0" path="res://Scripts/SceneSwitcher.cs" id="2_yrknh"]
[ext_resource type="Script" uid="uid://jpjswk46hc64" path="res://Scripts/SettingsContainer.cs" id="3_mjqtt"]
[ext_resource type="Texture2D" uid="uid://c0gvup8f48soq" path="res://Textures/MenuIcons/square-check-solid-full-recolored.svg" id="3_w1nw0"]
[ext_resource type="Texture2D" uid="uid://uph0cthbcrxs" path="res://Textures/MenuIcons/square-solid-full.svg" id="4_mjqtt"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_w1nw0"]
bg_color = Color(1, 1, 1, 1)
@@ -16,7 +19,7 @@ bg_color = Color(0.830335, 0.830335, 0.830335, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ppjuv"]
bg_color = Color(0.95158, 0.95158, 0.95158, 1)
[node name="Settings" type="Control"]
[node name="Settings" type="Control" unique_id=1371896601]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
@@ -24,7 +27,7 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Play" type="Button" parent="."]
[node name="Back" type="Button" parent="." unique_id=1537294544]
layout_mode = 1
offset_left = 40.0
offset_top = 40.0
@@ -44,3 +47,141 @@ theme_override_styles/hover = SubResource("StyleBoxFlat_ppjuv")
text = "Back"
script = ExtResource("2_yrknh")
ScenePath = "res://Scenes/MainMenu.tscn"
[node name="SettingsContainer" type="VBoxContainer" parent="." unique_id=1809676807]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -20.0
offset_top = -20.0
offset_right = -20.0
offset_bottom = 20.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 179
alignment = 1
script = ExtResource("3_mjqtt")
[node name="Fullscreen" type="Control" parent="SettingsContainer" unique_id=499515635]
layout_mode = 2
[node name="CheckBox" type="CheckBox" parent="SettingsContainer/Fullscreen" unique_id=2060186930]
layout_mode = 1
anchors_preset = 6
anchor_left = 1.0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_left = -219.0
offset_top = -63.0
offset_right = -91.0
offset_bottom = 65.0
grow_horizontal = 0
grow_vertical = 2
theme_override_constants/icon_max_width = 120
theme_override_icons/checked = ExtResource("3_w1nw0")
theme_override_icons/unchecked = ExtResource("4_mjqtt")
icon_alignment = 1
[node name="Label" type="Label" parent="SettingsContainer/Fullscreen" unique_id=110687269]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -59.5
offset_top = -47.5
offset_right = 309.5
offset_bottom = 47.5
grow_horizontal = 2
grow_vertical = 2
theme_override_fonts/font = ExtResource("1_flfri")
theme_override_font_sizes/font_size = 76
text = "Fullscreen"
vertical_alignment = 1
[node name="VSync" type="Control" parent="SettingsContainer" unique_id=193073500]
layout_mode = 2
[node name="CheckBox" type="CheckBox" parent="SettingsContainer/VSync" unique_id=1778104483]
layout_mode = 1
anchors_preset = 6
anchor_left = 1.0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_left = -219.0
offset_top = -63.0
offset_right = -91.0
offset_bottom = 65.0
grow_horizontal = 0
grow_vertical = 2
theme_override_constants/icon_max_width = 120
theme_override_icons/checked = ExtResource("3_w1nw0")
theme_override_icons/unchecked = ExtResource("4_mjqtt")
icon_alignment = 1
[node name="Label" type="Label" parent="SettingsContainer/VSync" unique_id=497093617]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -59.5
offset_top = -47.5
offset_right = 309.5
offset_bottom = 47.5
grow_horizontal = 2
grow_vertical = 2
theme_override_fonts/font = ExtResource("1_flfri")
theme_override_font_sizes/font_size = 76
text = "Vsync"
vertical_alignment = 1
[node name="ShowFPS" type="Control" parent="SettingsContainer" unique_id=446297884]
layout_mode = 2
[node name="CheckBox" type="CheckBox" parent="SettingsContainer/ShowFPS" unique_id=1193185044]
layout_mode = 1
anchors_preset = 6
anchor_left = 1.0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_left = -219.0
offset_top = -63.0
offset_right = -91.0
offset_bottom = 65.0
grow_horizontal = 0
grow_vertical = 2
theme_override_constants/icon_max_width = 120
theme_override_icons/checked = ExtResource("3_w1nw0")
theme_override_icons/unchecked = ExtResource("4_mjqtt")
icon_alignment = 1
[node name="Label" type="Label" parent="SettingsContainer/ShowFPS" unique_id=948287068]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -59.5
offset_top = -47.5
offset_right = 309.5
offset_bottom = 47.5
grow_horizontal = 2
grow_vertical = 2
theme_override_fonts/font = ExtResource("1_flfri")
theme_override_font_sizes/font_size = 76
text = "Show FPS"
vertical_alignment = 1
[connection signal="toggled" from="SettingsContainer/Fullscreen/CheckBox" to="SettingsContainer" method="Fullscreen_Toggled"]
[connection signal="toggled" from="SettingsContainer/VSync/CheckBox" to="SettingsContainer" method="VSync_Toggled"]
[connection signal="toggled" from="SettingsContainer/ShowFPS/CheckBox" to="SettingsContainer" method="ShowFPS_Toggled"]
-1
View File
@@ -1,5 +1,4 @@
using Godot;
using System;
public partial class BackToMenuLogic : Control {
public void _on_menu_button_up() {
+1
View File
@@ -2,6 +2,7 @@ using Godot;
public partial class BazookaManager : Node {
public static string HighScore = "0";
public static string Settings = "1";
public static string Read(string saveKey, string defaultValue) {
string path = "user://" + saveKey + ".txt";
+20 -21
View File
@@ -1,9 +1,19 @@
using Godot;
using System;
public partial class BerryLogic : Node2D {
string BerryType = "";
void PlaySound(string path, float volume) {
var player = new AudioStreamPlayer {
Stream = (AudioStream)GD.Load(path),
VolumeDb = Globals.SoundEffectVolume * volume
};
GetNode<Node2D>("/root/Game").AddChild(player);
player.Play();
player.Finished += () => player.QueueFree(); // clean up after playing
}
private void _on_hitbox_area_entered(Area2D area) {
Texture2D Sprite = GetNode<Sprite2D>("Sprite").Texture;
@@ -21,28 +31,23 @@ public partial class BerryLogic : Node2D {
}
int ScoreAdder = (BerryType == "normal") ? 1 :
(BerryType == "poison" || BerryType == "slow") ? 0 :
(BerryType == "ultra") ? 5 :
(BerryType == "speedy") ? 10 : 0;
Globals.Score += ScoreAdder;
if (Globals.Score > Globals.HighScore) {
Globals.HighScore += ScoreAdder;
if (Globals.Score >= Globals.HighScore) {
Globals.HighScore = Globals.Score + ScoreAdder;
}
Globals.Score += ScoreAdder;
AudioStreamPlayer BerrySoundPlayer = GetNode<AudioStreamPlayer>("/root/Game/BerrySoundPlayer");
if (BerryType == "normal") {
BerrySoundPlayer.Stream = (AudioStream)GD.Load("res://Audio/SFX/Eat.mp3");
BerrySoundPlayer.VolumeDb = Globals.SoundEffectVolume * 0.08f;
BerrySoundPlayer.Play();
PlaySound("res://Audio/SFX/Eat.mp3", 0.05f);
} else if (BerryType == "poison") {
Globals.EffectTimer = 0f;
Globals.Score = 0;
BazookaManager.Write(BazookaManager.HighScore, Globals.HighScore.ToString());
BerrySoundPlayer.Stream = (AudioStream)GD.Load("res://Audio/SFX/Death.mp3");
BerrySoundPlayer.VolumeDb = Globals.SoundEffectVolume * 0.05f;
BerrySoundPlayer.Play();
PlaySound("res://Audio/SFX/Death.mp3", 0.05f);
} else if (BerryType == "slow") {
if (Globals.ActiveEffect == "slow") {
Globals.EffectTimer += 10f;
@@ -52,9 +57,7 @@ public partial class BerryLogic : Node2D {
Globals.ActiveEffect = "slow";
BerrySoundPlayer.Stream = (AudioStream)GD.Load("res://Audio/SFX/Downgrade.mp3");
BerrySoundPlayer.VolumeDb = Globals.SoundEffectVolume * 0.005f;
BerrySoundPlayer.Play();
PlaySound("res://Audio/SFX/Downgrade.mp3", -0.05f);
} else if (BerryType == "ultra") {
if (Globals.ActiveEffect == "ultra") {
Globals.EffectTimer += 10f;
@@ -64,9 +67,7 @@ public partial class BerryLogic : Node2D {
Globals.ActiveEffect = "ultra";
BerrySoundPlayer.Stream = (AudioStream)GD.Load("res://Audio/SFX/Powerup.mp3");
BerrySoundPlayer.VolumeDb = Globals.SoundEffectVolume * 0.005f;
BerrySoundPlayer.Play();
PlaySound("res://Audio/SFX/Powerup.mp3", -0.05f);
} else if (BerryType == "speedy") {
if (Globals.ActiveEffect == "speedy") {
Globals.EffectTimer += 10f;
@@ -76,9 +77,7 @@ public partial class BerryLogic : Node2D {
Globals.ActiveEffect = "speedy";
BerrySoundPlayer.Stream = (AudioStream)GD.Load("res://Audio/SFX/SpeedyPowerup.mp3");
BerrySoundPlayer.VolumeDb = Globals.SoundEffectVolume * 0.005f;
BerrySoundPlayer.Play();
PlaySound("res://Audio/SFX/SpeedyPowerup.mp3", -0.05f);
}
QueueFree();
@@ -1,25 +1,32 @@
using Godot;
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
public partial class VersionChecker : Control {
public partial class FirstLoad : Control {
public override void _Ready() {
Label VersionLabel = GetNode<Label>("Version");
Label VersionLabel = GetNode<Label>("VersionText/Version");
string GameVersion = ProjectSettings.GetSetting("application/config/version").AsString();
VersionLabel.Text = "Version: " + GameVersion;
if (Globals.VersionChecked) {
Label LatestVersionLabel = GetNode<Label>("LatestVersion");
if (Globals.FirstLoadDone) {
Label LatestVersionLabel = GetNode<Label>("VersionText/LatestVersion");
LatestVersionLabel.Text = "Latest Version: " + Globals.LatestVersion;
} else {
HttpRequest GetLatestVersionNode = GetNode<HttpRequest>("LatestVersion/HTTPRequest");
//Load savefile stuff
List<string> settings = Utils.LoadSettings();
string fullscreen = settings.ElementAtOrDefault(0) ?? "1";
Utils.ToggleFullscreen(fullscreen == "1", settings); //This will also load VSync
Globals.HighScore = int.Parse(BazookaManager.Read(BazookaManager.HighScore, "0"));
//Version checking
HttpRequest GetLatestVersionNode = GetNode<HttpRequest>("VersionText/LatestVersion/HTTPRequest");
GetLatestVersionNode.RequestCompleted += OnRequestCompleted;
GetLatestVersionNode.Request("https://games.lncvrt.xyz/database/canLoadClient.php", [
GetLatestVersionNode.Request("https://games.lncvrt.xyz/api/can-load-client", [
"Requester: BerryDashGodotClient",
"ClientVersion: " + GameVersion,
"ClientPlatform: " + OS.GetName()
@@ -36,11 +43,11 @@ public partial class VersionChecker : Control {
Globals.AccessLevel = ResponseValues[0];
Globals.LatestVersion = ResponseValues[1];
Label LatestVersionLabel = GetNode<Label>("LatestVersion");
Label LatestVersionLabel = GetNode<Label>("VersionText/LatestVersion");
LatestVersionLabel.Text = "Latest Version: " + Globals.LatestVersion;
Globals.VersionChecked = true;
Globals.FirstLoadDone = true;
string GameVersion = ProjectSettings.GetSetting("application/config/version").AsString();
+1
View File
@@ -0,0 +1 @@
uid://cyo278cd6hfm
+18
View File
@@ -0,0 +1,18 @@
using Godot;
using System.Collections.Generic;
using System.Linq;
public partial class Fps : Label {
public override void _Ready() {
List<string> settings = Utils.LoadSettings();
bool showFPS = settings.ElementAtOrDefault(2) == "1";
if (!showFPS) {
Visible = false;
}
}
public override void _Process(double delta) {
Text = "FPS: " + Engine.GetFramesPerSecond();
}
}
+1
View File
@@ -0,0 +1 @@
uid://c6eb8owotqy45
+1 -2
View File
@@ -1,10 +1,9 @@
using Godot;
using System;
public partial class Globals : Node {
public static string LatestVersion = "";
public static string AccessLevel = "";
public static bool VersionChecked = false;
public static bool FirstLoadDone = false;
public static float MovementSpeed = 800f;
public static float DefaultMovementSpeed = MovementSpeed;
-8
View File
@@ -1,8 +0,0 @@
using Godot;
using System;
public partial class LoadSaveFIle : Control {
public override void _Ready() {
Globals.HighScore = int.Parse(BazookaManager.Read(BazookaManager.HighScore, "0"));
}
}
-1
View File
@@ -1 +0,0 @@
uid://crsloi4abxhqh
+43
View File
@@ -0,0 +1,43 @@
using Godot;
public partial class MusicManager : Node {
private AudioStreamPlayer _player;
private Node _lastScene;
private AudioStream _menuMusic;
public override void _Ready() {
_player = new AudioStreamPlayer();
AddChild(_player);
_menuMusic = GD.Load<AudioStream>("res://Audio/Music/Menu.mp3");
_player.Stream = _menuMusic;
_player.Play();
_lastScene = GetTree().CurrentScene;
}
public override void _Process(double delta) {
Node currentScene = GetTree().CurrentScene;
if (currentScene != _lastScene) {
OnSceneChanged(currentScene);
_lastScene = currentScene;
}
}
private void OnSceneChanged(Node newScene) {
if (_player == null) return;
if (newScene == null) return;
if (newScene.Name == "Game") {
if (_player.Playing)
_player.Stop();
} else {
if (_player.Stream != _menuMusic || !_player.Playing) {
_player.Stream = _menuMusic;
_player.Play();
}
}
}
}
+1
View File
@@ -0,0 +1 @@
uid://cke40vv76wbqq
-1
View File
@@ -1,5 +1,4 @@
using Godot;
using System;
public partial class OutdatedVersionLogic : Control {
public override void _Ready() {
+2 -1
View File
@@ -1,5 +1,4 @@
using Godot;
using System;
public partial class PauseMenuContinueButton : Button {
public void _on_button_up() {
@@ -9,5 +8,7 @@ public partial class PauseMenuContinueButton : Button {
Globals.IsPaused = false;
GetNode<Control>("../..").QueueFree();
if (Utils.IsMobile()) GetNode<Control>("/root/Game/CanvasLayer/MobileButtons").Visible = true;
}
}
+46 -7
View File
@@ -1,9 +1,11 @@
using Godot;
using System;
public partial class Player : Node2D {
private float ScreenBorders = 120f;
private float VelocityY = 0f;
private bool doLeft = false;
private bool doRight = false;
private bool doJump = false;
public override void _Ready() {
var ScreenSize = GetViewport().GetVisibleRect().Size;
@@ -11,6 +13,8 @@ public partial class Player : Node2D {
var WindowScale = WindowSize / ScreenSize;
Position = new Vector2(x: DisplayServer.WindowGetSize().X / 2, y: (WindowSize.Y / WindowScale.Y) - 100);
if (Utils.IsMobile()) GetNode<Control>("/root/Game/CanvasLayer/MobileButtons").Visible = true;
}
public override void _Process(double delta) {
@@ -21,23 +25,24 @@ public partial class Player : Node2D {
Vector2 Pos = Position;
if (!Globals.IsPaused) {
if ((Input.IsKeyPressed((Key)Key.Left) || Input.IsKeyPressed((Key)Key.A)) && Pos.X > ScreenBorders) {
if ((Utils.IsMobile() ? doLeft : Input.IsKeyPressed(Key.Left) || Input.IsKeyPressed(Key.A)) && Pos.X > ScreenBorders) {
GetNode<Sprite2D>("Texture").FlipH = false;
Pos.X -= Globals.MovementSpeed * (float)delta;
}
float ScreenWidth = (WindowSize.X / WindowScale.X) - ScreenBorders;
if ((Input.IsKeyPressed((Key)Key.Right) || Input.IsKeyPressed((Key)Key.D)) && Pos.X < ScreenWidth) {
if ((Utils.IsMobile() ? doRight : Input.IsKeyPressed(Key.Right) || Input.IsKeyPressed(Key.D)) && Pos.X < ScreenWidth) {
GetNode<Sprite2D>("Texture").FlipH = true;
Pos.X += Globals.MovementSpeed * (float)delta;
}
if (Input.IsKeyPressed((Key)Key.Space) && Pos.Y >= 976) {
if ((Utils.IsMobile() ? doJump : Input.IsKeyPressed(Key.Space)) && Pos.Y >= 976) {
VelocityY = Globals.JumpHeight;
GetNode<AudioStreamPlayer>("JumpSoundPlayer").Play();
}
}
if (!Globals.IsPaused) {
if (VelocityY < 600f) {
VelocityY += Globals.Gravity * (float)delta;
}
@@ -50,6 +55,7 @@ public partial class Player : Node2D {
}
Position = Pos;
}
// Effect handling
if (Globals.ActiveEffect != "none" && !Globals.IsPaused) {
@@ -75,8 +81,42 @@ public partial class Player : Node2D {
Globals.BerrySpeed = Globals.DefaultBerrySpeed * 2f;
}
if (Input.IsActionJustPressed("EscapeKey") && !Globals.IsPaused) {
PackedScene PauseMenu = GD.Load<PackedScene>("res://Scenes/PauseMenu.tscn");
if (!Utils.IsMobile() && Input.IsActionJustPressed("EscapeKey")) {
if (!Globals.IsPaused) {
PackedScene PauseMenu = GD.Load<PackedScene>("res://Prefabs/PauseMenu.tscn");
Control PauseMenuInstance = PauseMenu.Instantiate<Control>();
PauseMenuInstance.Position = new Vector2(x: 0, y: 0);
PauseMenuInstance.ZIndex = -1;
GetNode<CanvasLayer>("/root/Game/CanvasLayer").AddChild(PauseMenuInstance);
Globals.IsPaused = true;
AudioStreamPlayer MusicPlayer = GetNode<AudioStreamPlayer>("/root/Game/MusicPlayer");
MusicPlayer.StreamPaused = !MusicPlayer.StreamPaused;
} else {
AudioStreamPlayer MusicPlayer = GetNode<AudioStreamPlayer>("/root/Game/MusicPlayer");
MusicPlayer.StreamPaused = !MusicPlayer.StreamPaused;
Globals.IsPaused = false;
GetNode<Control>("/root/Game/CanvasLayer/PauseMenu").QueueFree();
}
}
}
private void MobileLeftMoveDown() => doLeft = true;
private void MobileLeftMoveUp() => doLeft = false;
private void MobileRightMoveDown() => doRight = true;
private void MobileRightMoveUp() => doRight = false;
private void MobileJumpMoveDown() => doJump = true;
private void MobileJumpMoveUp() => doJump = false;
private void MobilePausePressed() {
if (Utils.IsMobile()) GetNode<Control>("/root/Game/CanvasLayer/MobileButtons").Visible = false;
PackedScene PauseMenu = GD.Load<PackedScene>("res://Prefabs/PauseMenu.tscn");
Control PauseMenuInstance = PauseMenu.Instantiate<Control>();
@@ -90,5 +130,4 @@ public partial class Player : Node2D {
MusicPlayer.StreamPaused = !MusicPlayer.StreamPaused;
}
}
}
+53
View File
@@ -0,0 +1,53 @@
using Godot;
using System.Collections.Generic;
using System.Linq;
public partial class SettingsContainer : VBoxContainer
{
private static bool ignoreToggle = true;
public override void _Ready() {
List<string> settings = Utils.LoadSettings();
string showfps = settings.ElementAtOrDefault(2) ?? "0";
if (Utils.IsMobile()) {
GetNode<Control>("Fullscreen").Visible = false;
GetNode<Control>("VSync").Visible = false;
} else {
string fullscreen = settings.ElementAtOrDefault(0) ?? "1";
string vsync = settings.ElementAtOrDefault(1) ?? "1";
GetNode<CheckBox>("Fullscreen/CheckBox").ButtonPressed = fullscreen == "1";
GetNode<CheckBox>("VSync/CheckBox").ButtonPressed = vsync == "1";
}
GetNode<CheckBox>("ShowFPS/CheckBox").ButtonPressed = showfps == "1";
ignoreToggle = false;
}
public static void Fullscreen_Toggled(bool on)
{
if (ignoreToggle || Utils.IsMobile()) return;
Toggle(0, on);
Utils.ToggleFullscreen(on);
}
public static void VSync_Toggled(bool on)
{
if (ignoreToggle || Utils.IsMobile()) return;
Toggle(1, on);
Utils.ToggleVSync(on);
}
public static void ShowFPS_Toggled(bool on)
{
if (ignoreToggle) return;
Toggle(2, on);
}
private static void Toggle(int id, bool on) {
List<string> values = Utils.LoadSettings();
while (values.Count <= id) values.Add("0");
values[id] = on ? "1" : "0";
string newValue = string.Join(":", values);
BazookaManager.Write(BazookaManager.Settings, newValue);
}
}
+1
View File
@@ -0,0 +1 @@
uid://jpjswk46hc64
+33
View File
@@ -0,0 +1,33 @@
using System.Collections.Generic;
using System.Linq;
using Godot;
public class Utils {
public static void ToggleFullscreen(bool on, List<string> settings)
{
if (IsMobile()) return;
DisplayServer.WindowSetMode(on ? DisplayServer.WindowMode.Fullscreen : DisplayServer.WindowMode.Maximized);
string vsync = settings.ElementAtOrDefault(1) ?? "1";
ToggleVSync(vsync == "1");
}
public static void ToggleFullscreen(bool on)
{
List<string> settings = LoadSettings();
ToggleFullscreen(on, settings);
}
public static void ToggleVSync(bool on)
{
if (!IsMobile()) DisplayServer.WindowSetVsyncMode(on ? DisplayServer.VSyncMode.Enabled : DisplayServer.VSyncMode.Disabled);
}
public static List<string> LoadSettings() {
string value = BazookaManager.Read(BazookaManager.Settings, "");
List<string> values = [.. value.Split(':')];
return values;
}
public static bool IsMobile() => OS.GetName() == "iOS" || OS.GetName() == "Android";
}
+1
View File
@@ -0,0 +1 @@
uid://bnh8syp13bsom
-1
View File
@@ -1 +0,0 @@
uid://c61hc1raouekv
+37
View File
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 640 640"
version="1.1"
id="svg1"
sodipodi:docname="ArrowLeft.svg"
inkscape:version="1.4.3 (0d15f75, 2025-12-25)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="1.2875"
inkscape:cx="320.38835"
inkscape:cy="320"
inkscape:window-width="1920"
inkscape:window-height="1027"
inkscape:window-x="0"
inkscape:window-y="25"
inkscape:window-maximized="1"
inkscape:current-layer="svg1" />
<!--!Font Awesome Free 7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.-->
<path
d="M73.4 297.4C60.9 309.9 60.9 330.2 73.4 342.7L233.4 502.7C245.9 515.2 266.2 515.2 278.7 502.7C291.2 490.2 291.2 469.9 278.7 457.4L173.3 352L544 352C561.7 352 576 337.7 576 320C576 302.3 561.7 288 544 288L173.3 288L278.7 182.6C291.2 170.1 291.2 149.8 278.7 137.3C266.2 124.8 245.9 124.8 233.4 137.3L73.4 297.3z"
id="path1"
style="fill:#ffffff;fill-opacity:1" />
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

+43
View File
@@ -0,0 +1,43 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cdl6h5fqjke4f"
path="res://.godot/imported/ArrowLeft.svg-4dfaccbf798c65e049f8e3cd4a3d0747.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Textures/Buttons/ArrowLeft.svg"
dest_files=["res://.godot/imported/ArrowLeft.svg-4dfaccbf798c65e049f8e3cd4a3d0747.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false
+37
View File
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 640 640"
version="1.1"
id="svg1"
sodipodi:docname="ArrowRight.svg"
inkscape:version="1.4.3 (0d15f75, 2025-12-25)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="1.2875"
inkscape:cx="320.38835"
inkscape:cy="320"
inkscape:window-width="1024"
inkscape:window-height="1027"
inkscape:window-x="0"
inkscape:window-y="25"
inkscape:window-maximized="0"
inkscape:current-layer="svg1" />
<!--!Font Awesome Free 7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.-->
<path
d="M566.6 342.6C579.1 330.1 579.1 309.8 566.6 297.3L406.6 137.3C394.1 124.8 373.8 124.8 361.3 137.3C348.8 149.8 348.8 170.1 361.3 182.6L466.7 288L96 288C78.3 288 64 302.3 64 320C64 337.7 78.3 352 96 352L466.7 352L361.3 457.4C348.8 469.9 348.8 490.2 361.3 502.7C373.8 515.2 394.1 515.2 406.6 502.7L566.6 342.7z"
id="path1"
style="fill:#ffffff;fill-opacity:1" />
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

+43
View File
@@ -0,0 +1,43 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cud8l2dwwi6y4"
path="res://.godot/imported/ArrowRight.svg-8d3e04814a9134af7ace3c7c22a319e2.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Textures/Buttons/ArrowRight.svg"
dest_files=["res://.godot/imported/ArrowRight.svg-8d3e04814a9134af7ace3c7c22a319e2.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false
+37
View File
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 640 640"
version="1.1"
id="svg1"
sodipodi:docname="CheveronUp.svg"
inkscape:version="1.4.3 (0d15f75, 2025-12-25)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="1.2859375"
inkscape:cx="320"
inkscape:cy="319.61118"
inkscape:window-width="1024"
inkscape:window-height="1027"
inkscape:window-x="0"
inkscape:window-y="25"
inkscape:window-maximized="0"
inkscape:current-layer="svg1" />
<!--!Font Awesome Free 7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.-->
<path
d="M297.4 169.4C309.9 156.9 330.2 156.9 342.7 169.4L534.7 361.4C547.2 373.9 547.2 394.2 534.7 406.7C522.2 419.2 501.9 419.2 489.4 406.7L320 237.3L150.6 406.6C138.1 419.1 117.8 419.1 105.3 406.6C92.8 394.1 92.8 373.8 105.3 361.3L297.3 169.3z"
id="path1"
style="fill:#ffffff;fill-opacity:1" />
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

+43
View File
@@ -0,0 +1,43 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b54itl2db5w64"
path="res://.godot/imported/CheveronUp.svg-37a0417511606868317e28db72e7533d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Textures/Buttons/CheveronUp.svg"
dest_files=["res://.godot/imported/CheveronUp.svg-37a0417511606868317e28db72e7533d.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false
+37
View File
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 640 640"
version="1.1"
id="svg1"
sodipodi:docname="Circle.svg"
inkscape:version="1.4.3 (0d15f75, 2025-12-25)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="1.2875"
inkscape:cx="320.38835"
inkscape:cy="320"
inkscape:window-width="1024"
inkscape:window-height="1027"
inkscape:window-x="0"
inkscape:window-y="25"
inkscape:window-maximized="0"
inkscape:current-layer="svg1" />
<!--!Font Awesome Free 7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.-->
<path
d="M528 320C528 205.1 434.9 112 320 112C205.1 112 112 205.1 112 320C112 434.9 205.1 528 320 528C434.9 528 528 434.9 528 320zM64 320C64 178.6 178.6 64 320 64C461.4 64 576 178.6 576 320C576 461.4 461.4 576 320 576C178.6 576 64 461.4 64 320z"
id="path1"
style="fill:#ffffff;fill-opacity:1" />
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

+43
View File
@@ -0,0 +1,43 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dryavksejt84w"
path="res://.godot/imported/Circle.svg-53a3381bf2240bf268087c20933de2a2.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Textures/Buttons/Circle.svg"
dest_files=["res://.godot/imported/Circle.svg-53a3381bf2240bf268087c20933de2a2.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false
+37
View File
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 640 640"
version="1.1"
id="svg1"
sodipodi:docname="Pause.svg"
inkscape:version="1.4.3 (0d15f75, 2025-12-25)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="1.2859375"
inkscape:cx="320"
inkscape:cy="319.61118"
inkscape:window-width="1024"
inkscape:window-height="1027"
inkscape:window-x="0"
inkscape:window-y="25"
inkscape:window-maximized="0"
inkscape:current-layer="svg1" />
<!--!Font Awesome Free 7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.-->
<path
d="M176 96C149.5 96 128 117.5 128 144L128 496C128 522.5 149.5 544 176 544L240 544C266.5 544 288 522.5 288 496L288 144C288 117.5 266.5 96 240 96L176 96zM400 96C373.5 96 352 117.5 352 144L352 496C352 522.5 373.5 544 400 544L464 544C490.5 544 512 522.5 512 496L512 144C512 117.5 490.5 96 464 96L400 96z"
id="path1"
style="fill:#ffffff;fill-opacity:1" />
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

+43
View File
@@ -0,0 +1,43 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://d2kxub8e1gl4x"
path="res://.godot/imported/Pause.svg-5a73753987311e9e720e35d4f36618dc.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Textures/Buttons/Pause.svg"
dest_files=["res://.godot/imported/Pause.svg-5a73753987311e9e720e35d4f36618dc.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Free 7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path fill="#ffffff" d="M480 96C515.3 96 544 124.7 544 160L544 480C544 515.3 515.3 544 480 544L160 544C124.7 544 96 515.3 96 480L96 160C96 124.7 124.7 96 160 96L480 96zM438 209.7C427.3 201.9 412.3 204.3 404.5 215L285.1 379.2L233 327.1C223.6 317.7 208.4 317.7 199.1 327.1C189.8 336.5 189.7 351.7 199.1 361L271.1 433C276.1 438 283 440.5 289.9 440C296.8 439.5 303.3 435.9 307.4 430.2L443.3 243.2C451.1 232.5 448.7 217.5 438 209.7z"/></svg>

After

Width:  |  Height:  |  Size: 649 B

@@ -0,0 +1,43 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c0gvup8f48soq"
path="res://.godot/imported/square-check-solid-full-recolored.svg-b33662d0953d560bcb9ec3baf78ff230.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Textures/MenuIcons/square-check-solid-full-recolored.svg"
dest_files=["res://.godot/imported/square-check-solid-full-recolored.svg-b33662d0953d560bcb9ec3baf78ff230.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false
+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Free 7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path fill="#ffffff" d="M160 96L480 96C515.3 96 544 124.7 544 160L544 480C544 515.3 515.3 544 480 544L160 544C124.7 544 96 515.3 96 480L96 160C96 124.7 124.7 96 160 96z"/></svg>

After

Width:  |  Height:  |  Size: 390 B

@@ -0,0 +1,43 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://uph0cthbcrxs"
path="res://.godot/imported/square-solid-full.svg-b98e84979385e05d7d22bf0a6a2deb14.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Textures/MenuIcons/square-solid-full.svg"
dest_files=["res://.godot/imported/square-solid-full.svg-b98e84979385e05d7d22bf0a6a2deb14.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false
+1137
View File
File diff suppressed because it is too large. Load diff
Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

+40
View File
@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ddyrig6qjjvx4"
path="res://.godot/imported/icon.png-d1b269abce4c61d818c5589654ffbcc2.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://icon.icon/Assets/icon.png"
dest_files=["res://.godot/imported/icon.png-d1b269abce4c61d818c5589654ffbcc2.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
+45
View File
@@ -0,0 +1,45 @@
{
"fill" : {
"linear-gradient" : [
"srgb:0.14552,0.58862,0.80977,1.00000",
"srgb:0.13542,0.05283,0.39680,1.00000"
]
},
"groups" : [
{
"blur-material" : null,
"layers" : [
{
"blend-mode" : "normal",
"fill" : "none",
"glass" : false,
"hidden" : false,
"image-name" : "icon.png",
"name" : "icon",
"opacity" : 1,
"position" : {
"scale" : 0.45,
"translation-in-points" : [
0,
-100
]
}
}
],
"shadow" : {
"kind" : "neutral",
"opacity" : 0.5
},
"translucency" : {
"enabled" : true,
"value" : 0.5
}
}
],
"supported-platforms" : {
"circles" : [
"watchOS"
],
"squares" : "shared"
}
}
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB

+9 -4
View File
@@ -8,23 +8,28 @@
config_version=5
[animation]
compatibility/default_parent_skeleton_in_mesh_instance_3d=true
[application]
config/name="Berry Dash Godot Remake"
config/version="1.0.0"
config/version="1.1.0"
run/main_scene="uid://bg4fa11htun38"
config/features=PackedStringArray("4.5", "C#", "Mobile")
config/features=PackedStringArray("4.6", "C#", "Mobile")
config/icon="res://icon.png"
[autoload]
Globals="*res://Scripts/Globals.cs"
MusicManager="*uid://cke40vv76wbqq"
[display]
window/size/viewport_width=1920
window/size/viewport_height=1080
window/stretch/mode="viewport"
window/stretch/mode="canvas_items"
window/stretch/aspect="expand"
window/vsync/vsync_mode=0
@@ -43,4 +48,4 @@ EscapeKey={
[rendering]
textures/vram_compression/import_etc2_astc=true
environment/defaults/default_clear_color=Color(0.0627451, 0.0627451, 0.0627451, 1)
environment/defaults/default_clear_color=Color(0.09411765, 0.09411765, 0.09411765, 1)