Files
berry-dash-godot-remake/Scenes/MainMenu.tscn
T
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

222 lines
6.8 KiB
Plaintext

[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"]
[sub_resource type="LabelSettings" id="LabelSettings_tt5f1"]
font = ExtResource("1_tt5f1")
font_size = 486
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_tt5f1"]
bg_color = Color(1, 1, 1, 1)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_8saeu"]
bg_color = Color(0.830335, 0.830335, 0.830335, 1)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_853f1"]
bg_color = Color(0.95158, 0.95158, 0.95158, 1)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_df05h"]
bg_color = Color(0.953125, 0.953125, 0.953125, 1)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_8um5k"]
bg_color = Color(0.51171875, 0.51171875, 0.51171875, 1)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[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_ghw46")
[node name="Center" type="Control" parent="." unique_id=1489292265]
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
[node name="Title" type="Control" parent="Center" unique_id=57661156]
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 = -118.0
offset_right = 20.0
offset_bottom = -78.0
grow_horizontal = 2
grow_vertical = 2
[node name="Main" type="Label" parent="Center/Title" unique_id=1207683741]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -680.0
offset_top = -317.0
offset_right = 1938.0
offset_bottom = 291.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(0.52, 0.52)
theme_override_fonts/font = ExtResource("1_tt5f1")
theme_override_font_sizes/font_size = 191
text = "Berry Dash"
label_settings = SubResource("LabelSettings_tt5f1")
horizontal_alignment = 1
vertical_alignment = 1
[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
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = 375.0
offset_top = -85.0
offset_right = 1038.0
offset_bottom = 213.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(0.44, 0.44)
theme_override_fonts/font = ExtResource("1_tt5f1")
theme_override_font_sizes/font_size = 220
text = "Godot"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Buttons" type="Control" parent="Center" unique_id=2095190478]
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
[node name="HBoxContainer" type="HBoxContainer" parent="Center/Buttons" unique_id=1050417050]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -20.0
offset_top = -12.0
offset_right = 20.0
offset_bottom = 138.0
grow_horizontal = 2
theme_override_constants/separation = 30
[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)
theme_override_colors/font_focus_color = Color(0, 0, 0, 1)
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_tt5f1")
theme_override_font_sizes/font_size = 56
theme_override_styles/normal = SubResource("StyleBoxFlat_tt5f1")
theme_override_styles/pressed = SubResource("StyleBoxFlat_8saeu")
theme_override_styles/hover = SubResource("StyleBoxFlat_853f1")
text = "Play"
script = ExtResource("2_8saeu")
ScenePath = "res://Scenes/Game.tscn"
[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)
theme_override_colors/font_focus_color = Color(0, 0, 0, 1)
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_tt5f1")
theme_override_font_sizes/font_size = 56
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")
text = "Settings"
script = ExtResource("2_8saeu")
ScenePath = "res://Scenes/Settings.tscn"
[node name="VersionText" type="Control" parent="." unique_id=949548132]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -40.0
offset_bottom = 40.0
grow_horizontal = 0
[node name="Version" type="Label" parent="VersionText" unique_id=520173226]
layout_mode = 0
offset_left = -680.0
offset_top = 24.0
offset_right = 344.0
offset_bottom = 126.0
scale = Vector2(0.68, 0.68)
theme_override_fonts/font = ExtResource("1_tt5f1")
theme_override_font_sizes/font_size = 81
text = "Version: {Version Number}"
horizontal_alignment = 2
[node name="LatestVersion" type="Label" parent="VersionText" unique_id=463446398]
layout_mode = 0
offset_left = -880.0
offset_top = 104.0
offset_right = 438.0
offset_bottom = 206.0
scale = Vector2(0.68, 0.68)
theme_override_fonts/font = ExtResource("1_tt5f1")
theme_override_font_sizes/font_size = 81
text = "Latest Version: {Version Number}"
horizontal_alignment = 2
[node name="HTTPRequest" type="HTTPRequest" parent="VersionText/LatestVersion" unique_id=558472309]