Files
berry-dash-godot-remake/Scenes/MainMenu.tscn
T

185 lines
5.1 KiB
Plaintext

[gd_scene load_steps=9 format=3 uid="uid://bg4fa11htun38"]
[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")
font_size = 486
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_853f1"]
bg_color = Color(0.95158, 0.95158, 0.95158, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_8saeu"]
bg_color = Color(0.830335, 0.830335, 0.830335, 1)
[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
[node name="MainMenu" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Center" type="Control" parent="."]
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"]
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"]
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"]
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"]
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="Play" type="Button" parent="Center/Buttons"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -250.0
offset_top = -32.0
offset_right = 250.0
offset_bottom = 118.0
grow_horizontal = 2
grow_vertical = 2
theme_override_colors/font_disabled_color = Color(0, 0, 0, 1)
theme_override_colors/font_hover_pressed_color = Color(0, 0, 0, 1)
theme_override_colors/font_hover_color = Color(0, 0, 0, 1)
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_fonts/font = ExtResource("1_tt5f1")
theme_override_font_sizes/font_size = 56
theme_override_styles/hover = SubResource("StyleBoxFlat_853f1")
theme_override_styles/pressed = SubResource("StyleBoxFlat_8saeu")
theme_override_styles/normal = SubResource("StyleBoxFlat_tt5f1")
text = "Play"
script = ExtResource("2_8saeu")
ScenePath = "res://Scenes/Game.tscn"
[node name="VersionText" type="Control" parent="."]
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
script = ExtResource("3_ghw46")
[node name="Version" type="Label" parent="VersionText"]
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"]
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"]
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("2_853f1")
autoplay = true
parameters/looping = true