Files
g-world/scenes/ui/main_menu.tscn
T
2026-08-10 20:39:06 +03:00

253 lines
9.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[gd_scene format=3 uid="uid://b6mhe7465wwge"]
[ext_resource type="Theme" uid="uid://c6kkopjj3snag" path="res://themes/main_menu.theme.tres" id="1_1g8jr"]
[ext_resource type="Script" uid="uid://3plo51qjjlpl" path="res://scripts/ui/main_menu.gd" id="2_m1kxf"]
[ext_resource type="PackedScene" uid="uid://bcryjj0nongyh" path="res://scenes/game/game.tscn" id="3_uhagc"]
[ext_resource type="Material" uid="uid://6nshffib001t" path="res://shaders/menu_background_material.tres" id="3_x2yvf"]
[ext_resource type="PackedScene" uid="uid://o1xvvu6dik4j" path="res://scenes/ui/settings_menu.tscn" id="4_m1kxf"]
[ext_resource type="PackedScene" uid="uid://c5o5t7wvc84wx" path="res://scenes/ui/save_menu.tscn" id="6_uhagc"]
[sub_resource type="Gradient" id="Gradient_uhagc"]
offsets = PackedFloat32Array(0, 0.55, 1)
colors = PackedColorArray(0.019607844, 0.03529412, 0.07058824, 0.93333334, 0.019607844, 0.03529412, 0.07058824, 0.6, 0.019607844, 0.03529412, 0.07058824, 0)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_btxxm"]
gradient = SubResource("Gradient_uhagc")
width = 512
height = 8
[node name="MainMenu" type="Control" unique_id=217071775]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("1_1g8jr")
script = ExtResource("2_m1kxf")
game_scene = ExtResource("3_uhagc")
[node name="Background" type="ColorRect" parent="." unique_id=443859816]
material = ExtResource("3_x2yvf")
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
color = Color(0.039215688, 0.0627451, 0.1254902, 1)
[node name="LeftScrim" type="TextureRect" parent="." unique_id=2086614072]
custom_minimum_size = Vector2(1100, 0)
layout_mode = 0
anchor_bottom = 1.0
mouse_filter = 2
texture = SubResource("GradientTexture2D_btxxm")
[node name="Content" type="MarginContainer" parent="." unique_id=1092556099]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
theme_override_constants/margin_left = 150
theme_override_constants/margin_top = 110
theme_override_constants/margin_right = 150
theme_override_constants/margin_bottom = 90
[node name="Column" type="VBoxContainer" parent="Content" unique_id=1477224023]
layout_mode = 2
mouse_filter = 2
theme_override_constants/separation = 0
alignment = 1
[node name="Header" type="VBoxContainer" parent="Content/Column" unique_id=313853754]
layout_mode = 2
size_flags_horizontal = 0
mouse_filter = 2
theme_override_constants/separation = 10
[node name="Eyebrow" type="Label" parent="Content/Column/Header" unique_id=2144609206]
layout_mode = 2
theme_override_colors/font_color = Color(0.18039216, 0.9019608, 0.77254903, 1)
theme_override_font_sizes/font_size = 17
text = "О Т К Р Ы Т Ы Й М И Р · A L P H A"
[node name="Title" type="Label" parent="Content/Column/Header" unique_id=2127668771]
layout_mode = 2
theme_override_colors/font_color = Color(0.9490196, 0.96862745, 0.9843137, 1)
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0.627451)
theme_override_constants/shadow_offset_x = 0
theme_override_constants/shadow_offset_y = 6
theme_override_font_sizes/font_size = 104
text = "GWORLD"
[node name="AccentBar" type="ColorRect" parent="Content/Column/Header" unique_id=59922137]
custom_minimum_size = Vector2(140, 3)
layout_mode = 2
size_flags_horizontal = 0
mouse_filter = 2
color = Color(0.18039216, 0.9019608, 0.77254903, 1)
[node name="Tagline" type="Label" parent="Content/Column/Header" unique_id=1086917135]
layout_mode = 2
theme_override_colors/font_color = Color(0.56078434, 0.64705884, 0.7294118, 1)
theme_override_font_sizes/font_size = 22
text = "Мир, который помнит каждый твой шаг."
[node name="HeaderSpacer" type="Control" parent="Content/Column" unique_id=190376422]
custom_minimum_size = Vector2(0, 64)
layout_mode = 2
mouse_filter = 2
[node name="Menu" type="VBoxContainer" parent="Content/Column" unique_id=1293462100]
layout_mode = 2
size_flags_horizontal = 0
theme_override_constants/separation = 4
[node name="ContinueButton" type="Button" parent="Content/Column/Menu" unique_id=731426710]
custom_minimum_size = Vector2(380, 0)
layout_mode = 2
size_flags_horizontal = 0
text = "Продолжить"
alignment = 0
[node name="NewGameButton" type="Button" parent="Content/Column/Menu" unique_id=1054244506]
custom_minimum_size = Vector2(380, 0)
layout_mode = 2
size_flags_horizontal = 0
text = "Новая игра"
alignment = 0
[node name="LoadButton" type="Button" parent="Content/Column/Menu" unique_id=309907470]
custom_minimum_size = Vector2(380, 0)
layout_mode = 2
size_flags_horizontal = 0
text = "Загрузить"
alignment = 0
[node name="SettingsButton" type="Button" parent="Content/Column/Menu" unique_id=1954927801]
custom_minimum_size = Vector2(380, 0)
layout_mode = 2
size_flags_horizontal = 0
text = "Настройки"
alignment = 0
[node name="AboutButton" type="Button" parent="Content/Column/Menu" unique_id=1219298484]
custom_minimum_size = Vector2(380, 0)
layout_mode = 2
size_flags_horizontal = 0
text = "Об игре"
alignment = 0
[node name="QuitButton" type="Button" parent="Content/Column/Menu" unique_id=681092216]
custom_minimum_size = Vector2(380, 0)
layout_mode = 2
size_flags_horizontal = 0
text = "Выйти"
alignment = 0
[node name="Footer" type="HBoxContainer" parent="." unique_id=2118014385]
layout_mode = 0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 60.0
offset_top = -60.0
offset_right = -60.0
offset_bottom = -60.0
mouse_filter = 2
theme_override_constants/separation = 24
[node name="Hint" type="Label" parent="Footer" unique_id=1938012268]
layout_mode = 2
theme_override_colors/font_color = Color(0.3647059, 0.44705883, 0.53333336, 1)
theme_override_font_sizes/font_size = 16
text = "↑ ↓ — выбор Enter — подтвердить Esc — назад"
[node name="Spacer" type="Control" parent="Footer" unique_id=1732658354]
layout_mode = 2
size_flags_horizontal = 3
mouse_filter = 2
[node name="Version" type="Label" parent="Footer" unique_id=373006578]
layout_mode = 2
theme_override_colors/font_color = Color(0.3647059, 0.44705883, 0.53333336, 1)
theme_override_font_sizes/font_size = 16
text = "v0.1.0 · build alpha"
[node name="AboutOverlay" type="Control" parent="." unique_id=1447245354]
visible = false
anchors_preset = 0
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 1
[node name="Dim" type="ColorRect" parent="AboutOverlay" unique_id=232093839]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
color = Color(0.015686275, 0.02745098, 0.05490196, 0.8)
[node name="Center" type="CenterContainer" parent="AboutOverlay" unique_id=145975878]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
[node name="Card" type="PanelContainer" parent="AboutOverlay/Center" unique_id=1256580392]
custom_minimum_size = Vector2(760, 0)
layout_mode = 2
[node name="Body" type="VBoxContainer" parent="AboutOverlay/Center/Card" unique_id=302031906]
layout_mode = 2
theme_override_constants/separation = 22
[node name="Heading" type="Label" parent="AboutOverlay/Center/Card/Body" unique_id=202973722]
layout_mode = 2
theme_override_colors/font_color = Color(0.9490196, 0.96862745, 0.9843137, 1)
theme_override_font_sizes/font_size = 32
text = "ОБ ИГРЕ"
[node name="Rule" type="ColorRect" parent="AboutOverlay/Center/Card/Body" unique_id=214574186]
custom_minimum_size = Vector2(0, 1)
layout_mode = 2
color = Color(1, 1, 1, 0.101960786)
[node name="Text" type="RichTextLabel" parent="AboutOverlay/Center/Card/Body" unique_id=195881129]
custom_minimum_size = Vector2(640, 240)
layout_mode = 2
theme_override_colors/default_color = Color(0.7254902, 0.7882353, 0.84705883, 1)
theme_override_font_sizes/normal_font_size = 20
bbcode_enabled = true
text = "[b][color=#2ee6c5]GWORLD[/color][/b] — песочница с открытым миром, где мир реагирует на действия игрока и запоминает их.
[color=#8fa5ba]Движок:[/color] Godot 4.7
[color=#8fa5ba]Статус:[/color] ранняя альфа
[color=#8fa5ba]Управление:[/color] клавиатура, мышь, геймпад
[i]Это заглушка — замените текст на реальное описание проекта.[/i]"
scroll_active = false
[node name="Rule2" type="ColorRect" parent="AboutOverlay/Center/Card/Body" unique_id=1659886745]
custom_minimum_size = Vector2(0, 1)
layout_mode = 2
color = Color(1, 1, 1, 0.101960786)
[node name="Actions" type="HBoxContainer" parent="AboutOverlay/Center/Card/Body" unique_id=1190263035]
layout_mode = 2
alignment = 2
[node name="AboutBackButton" type="Button" parent="AboutOverlay/Center/Card/Body/Actions" unique_id=660198001]
custom_minimum_size = Vector2(200, 0)
layout_mode = 2
text = "Назад"
[node name="SettingsScreen" parent="." unique_id=1927393822 instance=ExtResource("4_m1kxf")]
visible = false
layout_mode = 1
grow_horizontal = 2
grow_vertical = 2
[node name="SaveScreen" parent="." unique_id=9036454 instance=ExtResource("6_uhagc")]
layout_mode = 1
grow_horizontal = 2
grow_vertical = 2