Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e83b83218e
|
||
|
|
ffe0a557f8
|
||
|
|
00d71d1f60
|
||
|
|
0eca7068ca
|
||
|
|
6e4cdbce26
|
||
|
|
48523c7591
|
||
|
|
b116e210c3
|
||
|
|
0d96f00c44
|
||
|
|
2738c04c09 | ||
|
|
1c7d34b623 | ||
|
|
8094c3f7c2
|
||
|
|
39ee3d4982
|
||
|
|
e25edbf475
|
||
|
|
50f31652f8
|
||
|
|
3cc809d457
|
||
|
|
65f7792d7b
|
||
|
|
b862123d88
|
||
|
|
6ac8ce1c5a
|
||
|
|
c1d0f04e07
|
||
|
|
2aa3bc172b
|
||
|
|
d2607bf99a | ||
|
|
0fb849e878 | ||
|
|
34380b2370
|
||
|
|
fb4e4083bf
|
||
|
|
b67f9ca2d4 | ||
|
|
cbefe77af7 | ||
|
|
ac55503bab |
No files matched your search
@@ -18,4 +18,5 @@ mono_crash.*.json
|
||||
.vscode/
|
||||
|
||||
android/
|
||||
builds/
|
||||
.DS_STORE
|
||||
@@ -1,6 +1,6 @@
|
||||
<Project Sdk="Godot.NET.Sdk/4.6.0">
|
||||
<Project Sdk="Godot.NET.Sdk/4.6.1">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<EnableDynamicLoading>true</EnableDynamicLoading>
|
||||
<RootNamespace>BerryDashGodotRemake</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -1,7 +0,0 @@
|
||||
<Project Sdk="Godot.NET.Sdk/4.5.1">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<EnableDynamicLoading>true</EnableDynamicLoading>
|
||||
<RootNamespace>BerryDashGodotRemake</RootNamespace>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -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.
|
||||
|
||||
@@ -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"]
|
||||
@@ -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,37 +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
|
||||
@@ -71,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
|
||||
@@ -87,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
|
||||
@@ -104,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
|
||||
@@ -121,6 +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
|
||||
|
||||
[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"]
|
||||
@@ -1,9 +1,8 @@
|
||||
[gd_scene load_steps=11 format=3 uid="uid://bg4fa11htun38"]
|
||||
[gd_scene format=3 uid="uid://bg4fa11htun38"]
|
||||
|
||||
[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"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_tt5f1"]
|
||||
font = ExtResource("1_tt5f1")
|
||||
@@ -44,7 +43,7 @@ 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
|
||||
@@ -53,7 +52,7 @@ grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
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
|
||||
@@ -67,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
|
||||
@@ -81,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
|
||||
@@ -102,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
|
||||
@@ -123,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
|
||||
@@ -137,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
|
||||
@@ -149,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)
|
||||
@@ -167,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)
|
||||
@@ -186,7 +185,7 @@ text = "Settings"
|
||||
script = ExtResource("2_8saeu")
|
||||
ScenePath = "res://Scenes/Settings.tscn"
|
||||
|
||||
[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
|
||||
@@ -195,7 +194,7 @@ offset_left = -40.0
|
||||
offset_bottom = 40.0
|
||||
grow_horizontal = 0
|
||||
|
||||
[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
|
||||
@@ -207,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
|
||||
@@ -219,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]
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=9 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"]
|
||||
@@ -19,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
|
||||
@@ -27,7 +27,7 @@ anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Back" type="Button" parent="."]
|
||||
[node name="Back" type="Button" parent="." unique_id=1537294544]
|
||||
layout_mode = 1
|
||||
offset_left = 40.0
|
||||
offset_top = 40.0
|
||||
@@ -48,7 +48,7 @@ text = "Back"
|
||||
script = ExtResource("2_yrknh")
|
||||
ScenePath = "res://Scenes/MainMenu.tscn"
|
||||
|
||||
[node name="SettingsContainer" type="VBoxContainer" parent="."]
|
||||
[node name="SettingsContainer" type="VBoxContainer" parent="." unique_id=1809676807]
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
@@ -65,10 +65,10 @@ theme_override_constants/separation = 179
|
||||
alignment = 1
|
||||
script = ExtResource("3_mjqtt")
|
||||
|
||||
[node name="Fullscreen" type="Control" parent="SettingsContainer"]
|
||||
[node name="Fullscreen" type="Control" parent="SettingsContainer" unique_id=499515635]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="CheckBox" type="CheckBox" parent="SettingsContainer/Fullscreen"]
|
||||
[node name="CheckBox" type="CheckBox" parent="SettingsContainer/Fullscreen" unique_id=2060186930]
|
||||
layout_mode = 1
|
||||
anchors_preset = 6
|
||||
anchor_left = 1.0
|
||||
@@ -86,7 +86,7 @@ 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"]
|
||||
[node name="Label" type="Label" parent="SettingsContainer/Fullscreen" unique_id=110687269]
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
@@ -104,10 +104,10 @@ theme_override_font_sizes/font_size = 76
|
||||
text = "Fullscreen"
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="VSync" type="Control" parent="SettingsContainer"]
|
||||
[node name="VSync" type="Control" parent="SettingsContainer" unique_id=193073500]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="CheckBox" type="CheckBox" parent="SettingsContainer/VSync"]
|
||||
[node name="CheckBox" type="CheckBox" parent="SettingsContainer/VSync" unique_id=1778104483]
|
||||
layout_mode = 1
|
||||
anchors_preset = 6
|
||||
anchor_left = 1.0
|
||||
@@ -125,7 +125,7 @@ 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"]
|
||||
[node name="Label" type="Label" parent="SettingsContainer/VSync" unique_id=497093617]
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
@@ -143,10 +143,10 @@ theme_override_font_sizes/font_size = 76
|
||||
text = "Vsync"
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="ShowFPS" type="Control" parent="SettingsContainer"]
|
||||
[node name="ShowFPS" type="Control" parent="SettingsContainer" unique_id=446297884]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="CheckBox" type="CheckBox" parent="SettingsContainer/ShowFPS"]
|
||||
[node name="CheckBox" type="CheckBox" parent="SettingsContainer/ShowFPS" unique_id=1193185044]
|
||||
layout_mode = 1
|
||||
anchors_preset = 6
|
||||
anchor_left = 1.0
|
||||
@@ -164,7 +164,7 @@ 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"]
|
||||
[node name="Label" type="Label" parent="SettingsContainer/ShowFPS" unique_id=948287068]
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
|
||||
@@ -4,9 +4,10 @@ public partial class BerryLogic : Node2D {
|
||||
string BerryType = "";
|
||||
|
||||
void PlaySound(string path, float volume) {
|
||||
var player = new AudioStreamPlayer();
|
||||
player.Stream = (AudioStream)GD.Load(path);
|
||||
player.VolumeDb = Globals.SoundEffectVolume * (volume / 1000);
|
||||
var player = new AudioStreamPlayer {
|
||||
Stream = (AudioStream)GD.Load(path),
|
||||
VolumeDb = Globals.SoundEffectVolume * volume
|
||||
};
|
||||
GetNode<Node2D>("/root/Game").AddChild(player);
|
||||
player.Play();
|
||||
|
||||
@@ -30,23 +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;
|
||||
|
||||
if (BerryType == "normal") {
|
||||
PlaySound("res://Audio/SFX/Eat.mp3", 80f);
|
||||
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());
|
||||
|
||||
PlaySound("res://Audio/SFX/Death.mp3", 20f);
|
||||
PlaySound("res://Audio/SFX/Death.mp3", 0.05f);
|
||||
} else if (BerryType == "slow") {
|
||||
if (Globals.ActiveEffect == "slow") {
|
||||
Globals.EffectTimer += 10f;
|
||||
@@ -56,7 +57,7 @@ public partial class BerryLogic : Node2D {
|
||||
|
||||
Globals.ActiveEffect = "slow";
|
||||
|
||||
PlaySound("res://Audio/SFX/Downgrade.mp3", 5f);
|
||||
PlaySound("res://Audio/SFX/Downgrade.mp3", -0.05f);
|
||||
} else if (BerryType == "ultra") {
|
||||
if (Globals.ActiveEffect == "ultra") {
|
||||
Globals.EffectTimer += 10f;
|
||||
@@ -66,7 +67,7 @@ public partial class BerryLogic : Node2D {
|
||||
|
||||
Globals.ActiveEffect = "ultra";
|
||||
|
||||
PlaySound("res://Audio/SFX/Powerup.mp3", 5f);
|
||||
PlaySound("res://Audio/SFX/Powerup.mp3", -0.05f);
|
||||
} else if (BerryType == "speedy") {
|
||||
if (Globals.ActiveEffect == "speedy") {
|
||||
Globals.EffectTimer += 10f;
|
||||
@@ -76,7 +77,7 @@ public partial class BerryLogic : Node2D {
|
||||
|
||||
Globals.ActiveEffect = "speedy";
|
||||
|
||||
PlaySound("res://Audio/SFX/SpeedyPowerup.mp3", 5f);
|
||||
PlaySound("res://Audio/SFX/SpeedyPowerup.mp3", -0.05f);
|
||||
}
|
||||
|
||||
QueueFree();
|
||||
|
||||
@@ -15,10 +15,11 @@ public partial class FirstLoad : Control {
|
||||
|
||||
LatestVersionLabel.Text = "Latest Version: " + Globals.LatestVersion;
|
||||
} else {
|
||||
//Load settings
|
||||
//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");
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
uid://c6eb8owotqy45
|
||||
@@ -1,7 +0,0 @@
|
||||
using Godot;
|
||||
|
||||
public partial class LoadSaveFIle : Control {
|
||||
public override void _Ready() {
|
||||
Globals.HighScore = int.Parse(BazookaManager.Read(BazookaManager.HighScore, "0"));
|
||||
}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
uid://crsloi4abxhqh
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
uid://cke40vv76wbqq
|
||||
@@ -8,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;
|
||||
}
|
||||
}
|
||||
@@ -3,6 +3,9 @@ using Godot;
|
||||
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;
|
||||
@@ -10,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) {
|
||||
@@ -20,23 +25,24 @@ public partial class Player : Node2D {
|
||||
Vector2 Pos = Position;
|
||||
|
||||
if (!Globals.IsPaused) {
|
||||
if ((Input.IsKeyPressed(Key.Left) || Input.IsKeyPressed(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.Right) || Input.IsKeyPressed(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.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;
|
||||
}
|
||||
@@ -49,6 +55,7 @@ public partial class Player : Node2D {
|
||||
}
|
||||
|
||||
Position = Pos;
|
||||
}
|
||||
|
||||
// Effect handling
|
||||
if (Globals.ActiveEffect != "none" && !Globals.IsPaused) {
|
||||
@@ -74,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,4 +131,3 @@ public partial class Player : Node2D {
|
||||
MusicPlayer.StreamPaused = !MusicPlayer.StreamPaused;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -9,26 +9,30 @@ public partial class SettingsContainer : VBoxContainer
|
||||
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";
|
||||
string showfps = settings.ElementAtOrDefault(2) ?? "0";
|
||||
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) return;
|
||||
if (ignoreToggle || Utils.IsMobile()) return;
|
||||
Toggle(0, on);
|
||||
Utils.ToggleFullscreen(on);
|
||||
}
|
||||
|
||||
public static void VSync_Toggled(bool on)
|
||||
{
|
||||
if (ignoreToggle) return;
|
||||
if (ignoreToggle || Utils.IsMobile()) return;
|
||||
Toggle(1, on);
|
||||
Utils.ToggleVSync(on);
|
||||
}
|
||||
|
||||
@@ -5,6 +5,7 @@ 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";
|
||||
@@ -19,7 +20,7 @@ public class Utils {
|
||||
|
||||
public static void ToggleVSync(bool on)
|
||||
{
|
||||
DisplayServer.WindowSetVsyncMode(on ? DisplayServer.VSyncMode.Enabled : DisplayServer.VSyncMode.Disabled);
|
||||
if (!IsMobile()) DisplayServer.WindowSetVsyncMode(on ? DisplayServer.VSyncMode.Enabled : DisplayServer.VSyncMode.Disabled);
|
||||
}
|
||||
|
||||
public static List<string> LoadSettings() {
|
||||
@@ -27,4 +28,6 @@ public class Utils {
|
||||
List<string> values = [.. value.Split(':')];
|
||||
return values;
|
||||
}
|
||||
|
||||
public static bool IsMobile() => OS.GetName() == "iOS" || OS.GetName() == "Android";
|
||||
}
|
||||
@@ -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 |
@@ -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
|
||||
@@ -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 |
@@ -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
|
||||
@@ -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 |
@@ -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
|
||||
@@ -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 |
@@ -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
|
||||
@@ -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 |
@@ -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
|
||||
|
After Width: | Height: | Size: 81 KiB |
@@ -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
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.5 MiB |
@@ -15,7 +15,7 @@ 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.6", "C#", "Mobile")
|
||||
config/icon="res://icon.png"
|
||||
@@ -23,6 +23,7 @@ config/icon="res://icon.png"
|
||||
[autoload]
|
||||
|
||||
Globals="*res://Scripts/Globals.cs"
|
||||
MusicManager="*uid://cke40vv76wbqq"
|
||||
|
||||
[display]
|
||||
|
||||
|
||||