first commit
This commit is contained in:
@@ -0,0 +1,88 @@
|
||||
[gd_scene format=3 uid="uid://bcryjj0nongyh"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://1viyqekbic0n" path="res://scripts/game/game_stub.gd" id="1_0sr1o"]
|
||||
[ext_resource type="PackedScene" uid="uid://cvx4ot7ugyprk" path="res://scenes/ui/pause_menu.tscn" id="1_7h61r"]
|
||||
[ext_resource type="Theme" uid="uid://c6kkopjj3snag" path="res://themes/main_menu.theme.tres" id="2_0sr1o"]
|
||||
|
||||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_kelw5"]
|
||||
sky_top_color = Color(0.039215688, 0.078431375, 0.15686275, 1)
|
||||
sky_horizon_color = Color(0.07058824, 0.1882353, 0.2509804, 1)
|
||||
ground_bottom_color = Color(0.019607844, 0.039215688, 0.07058824, 1)
|
||||
ground_horizon_color = Color(0.07058824, 0.1882353, 0.2509804, 1)
|
||||
|
||||
[sub_resource type="Sky" id="Sky_lfrn8"]
|
||||
sky_material = SubResource("ProceduralSkyMaterial_kelw5")
|
||||
|
||||
[sub_resource type="Environment" id="Environment_5i0tg"]
|
||||
background_mode = 2
|
||||
sky = SubResource("Sky_lfrn8")
|
||||
ambient_light_source = 2
|
||||
ambient_light_color = Color(0.2, 0.22, 0.35, 1)
|
||||
ambient_light_energy = 0.4
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_bdhmt"]
|
||||
albedo_color = Color(0.07450981, 0.16470589, 0.2, 1)
|
||||
roughness = 0.95
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_87uf6"]
|
||||
size = Vector2(60, 60)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_2a8rs"]
|
||||
albedo_color = Color(0.18039216, 0.9019608, 0.77254903, 1)
|
||||
metallic = 0.1
|
||||
roughness = 0.4
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_4j704"]
|
||||
size = Vector3(2, 2, 2)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_kp23o"]
|
||||
albedo_color = Color(0.48235294, 0.41960785, 0.9607843, 1)
|
||||
metallic = 0.1
|
||||
roughness = 0.5
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_5jirj"]
|
||||
size = Vector3(1.2, 3.4, 1.2)
|
||||
|
||||
[node name="Game" type="Node3D" unique_id=1106458558]
|
||||
script = ExtResource("1_0sr1o")
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=1519444008]
|
||||
environment = SubResource("Environment_5i0tg")
|
||||
|
||||
[node name="Sun" type="DirectionalLight3D" parent="." unique_id=1139733157]
|
||||
transform = Transform3D(-0.6946583, 0.53457373, -0.48133233, 0, 0.66913056, 0.74314487, 0.7193399, 0.5162317, -0.46481708, 0, 0, 0)
|
||||
light_color = Color(0.7490196, 0.9019608, 1, 1)
|
||||
light_energy = 0.9
|
||||
shadow_enabled = true
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="." unique_id=2037025428]
|
||||
transform = Transform3D(0.809017, -0.18163563, 0.559017, 0, 0.95105654, 0.309017, -0.58778524, -0.25, 0.7694209, 6.5, 4.2, 8.5)
|
||||
current = true
|
||||
|
||||
[node name="Ground" type="MeshInstance3D" parent="." unique_id=1318815356]
|
||||
material_override = SubResource("StandardMaterial3D_bdhmt")
|
||||
mesh = SubResource("PlaneMesh_87uf6")
|
||||
|
||||
[node name="BoxA" type="MeshInstance3D" parent="." unique_id=1331389928]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
||||
material_override = SubResource("StandardMaterial3D_2a8rs")
|
||||
mesh = SubResource("BoxMesh_4j704")
|
||||
|
||||
[node name="BoxB" type="MeshInstance3D" parent="." unique_id=535287837]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.2, 1.7, -2.4)
|
||||
material_override = SubResource("StandardMaterial3D_kp23o")
|
||||
mesh = SubResource("BoxMesh_5jirj")
|
||||
|
||||
[node name="PauseMenu" parent="." unique_id=1649378803 instance=ExtResource("1_7h61r")]
|
||||
|
||||
[node name="Hud" type="CanvasLayer" parent="." unique_id=824330719]
|
||||
|
||||
[node name="Hint" type="Label" parent="Hud" unique_id=47403933]
|
||||
offset_left = 40.0
|
||||
offset_top = 40.0
|
||||
offset_right = 279.0
|
||||
offset_bottom = 63.0
|
||||
theme = ExtResource("2_0sr1o")
|
||||
theme_override_colors/font_color = Color(0.56078434, 0.64705884, 0.7294118, 1)
|
||||
theme_override_font_sizes/font_size = 18
|
||||
text = "Сцена-заглушка. Esc — пауза."
|
||||
@@ -0,0 +1,252 @@
|
||||
[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 = "G–WORLD"
|
||||
|
||||
[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]G–WORLD[/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
|
||||
@@ -0,0 +1,90 @@
|
||||
[gd_scene format=3 uid="uid://cvx4ot7ugyprk"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bajc7dq7tn5ik" path="res://scripts/ui/pause_menu.gd" id="1_f6eus"]
|
||||
[ext_resource type="Theme" uid="uid://c6kkopjj3snag" path="res://themes/main_menu.theme.tres" id="2_8uki6"]
|
||||
[ext_resource type="PackedScene" uid="uid://o1xvvu6dik4j" path="res://scenes/ui/settings_menu.tscn" id="3_0bnpd"]
|
||||
[ext_resource type="PackedScene" uid="uid://c5o5t7wvc84wx" path="res://scenes/ui/save_menu.tscn" id="4_8uki6"]
|
||||
|
||||
[node name="PauseMenu" type="CanvasLayer" unique_id=1649378803]
|
||||
process_mode = 3
|
||||
layer = 100
|
||||
script = ExtResource("1_f6eus")
|
||||
|
||||
[node name="Root" type="Control" parent="." unique_id=43845941]
|
||||
visible = false
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
theme = ExtResource("2_8uki6")
|
||||
|
||||
[node name="Dim" type="ColorRect" parent="Root" unique_id=323746296]
|
||||
layout_mode = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
color = Color(0.015686275, 0.02745098, 0.05490196, 0.72156864)
|
||||
|
||||
[node name="Center" type="CenterContainer" parent="Root" unique_id=1362666031]
|
||||
layout_mode = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Card" type="PanelContainer" parent="Root/Center" unique_id=866077063]
|
||||
custom_minimum_size = Vector2(560, 0)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Body" type="VBoxContainer" parent="Root/Center/Card" unique_id=1905446803]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 16
|
||||
|
||||
[node name="Heading" type="Label" parent="Root/Center/Card/Body" unique_id=1834344209]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.9490196, 0.96862745, 0.9843137, 1)
|
||||
theme_override_font_sizes/font_size = 34
|
||||
text = "ПАУЗА"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="Rule" type="ColorRect" parent="Root/Center/Card/Body" unique_id=831667691]
|
||||
custom_minimum_size = Vector2(0, 1)
|
||||
layout_mode = 2
|
||||
color = Color(1, 1, 1, 0.101960786)
|
||||
|
||||
[node name="Menu" type="VBoxContainer" parent="Root/Center/Card/Body" unique_id=1777657070]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 4
|
||||
|
||||
[node name="ResumeButton" type="Button" parent="Root/Center/Card/Body/Menu" unique_id=1905018000]
|
||||
layout_mode = 2
|
||||
text = "Продолжить"
|
||||
|
||||
[node name="SaveButton" type="Button" parent="Root/Center/Card/Body/Menu" unique_id=1361920180]
|
||||
layout_mode = 2
|
||||
text = "Сохранить"
|
||||
|
||||
[node name="LoadButton" type="Button" parent="Root/Center/Card/Body/Menu" unique_id=1867566868]
|
||||
layout_mode = 2
|
||||
text = "Загрузить"
|
||||
|
||||
[node name="SettingsButton" type="Button" parent="Root/Center/Card/Body/Menu" unique_id=902083290]
|
||||
layout_mode = 2
|
||||
text = "Настройки"
|
||||
|
||||
[node name="MainMenuButton" type="Button" parent="Root/Center/Card/Body/Menu" unique_id=2049760939]
|
||||
layout_mode = 2
|
||||
text = "В главное меню"
|
||||
|
||||
[node name="QuitButton" type="Button" parent="Root/Center/Card/Body/Menu" unique_id=1925579036]
|
||||
layout_mode = 2
|
||||
text = "Выйти из игры"
|
||||
|
||||
[node name="SettingsScreen" parent="Root" unique_id=1927393822 instance=ExtResource("3_0bnpd")]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="SaveScreen" parent="Root" unique_id=9036454 instance=ExtResource("4_8uki6")]
|
||||
layout_mode = 1
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
@@ -0,0 +1,74 @@
|
||||
[gd_scene format=3 uid="uid://c5o5t7wvc84wx"]
|
||||
|
||||
[ext_resource type="Theme" uid="uid://c6kkopjj3snag" path="res://themes/main_menu.theme.tres" id="1_ne8v6"]
|
||||
[ext_resource type="Script" uid="uid://dtjbpbm5rqb72" path="res://scripts/ui/save_menu.gd" id="2_nemxf"]
|
||||
|
||||
[node name="SaveMenu" type="Control" unique_id=9036454]
|
||||
visible = false
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
theme = ExtResource("1_ne8v6")
|
||||
script = ExtResource("2_nemxf")
|
||||
|
||||
[node name="Dim" type="ColorRect" parent="." unique_id=1034925462]
|
||||
layout_mode = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
color = Color(0.015686275, 0.02745098, 0.05490196, 0.8509804)
|
||||
|
||||
[node name="Center" type="CenterContainer" parent="." unique_id=379596925]
|
||||
layout_mode = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Card" type="PanelContainer" parent="Center" unique_id=1985092479]
|
||||
custom_minimum_size = Vector2(980, 720)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Body" type="VBoxContainer" parent="Center/Card" unique_id=1336393202]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 18
|
||||
|
||||
[node name="Heading" type="Label" parent="Center/Card/Body" unique_id=1418385183]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.9490196, 0.96862745, 0.9843137, 1)
|
||||
theme_override_font_sizes/font_size = 34
|
||||
text = "СОХРАНЕНИЯ"
|
||||
|
||||
[node name="Rule" type="ColorRect" parent="Center/Card/Body" unique_id=746798963]
|
||||
custom_minimum_size = Vector2(0, 1)
|
||||
layout_mode = 2
|
||||
color = Color(1, 1, 1, 0.101960786)
|
||||
|
||||
[node name="Scroll" type="ScrollContainer" parent="Center/Card/Body" unique_id=330714434]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
horizontal_scroll_mode = 0
|
||||
|
||||
[node name="Slots" type="VBoxContainer" parent="Center/Card/Body/Scroll" unique_id=773697773]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_constants/separation = 10
|
||||
|
||||
[node name="Rule2" type="ColorRect" parent="Center/Card/Body" unique_id=877993095]
|
||||
custom_minimum_size = Vector2(0, 1)
|
||||
layout_mode = 2
|
||||
color = Color(1, 1, 1, 0.101960786)
|
||||
|
||||
[node name="Actions" type="HBoxContainer" parent="Center/Card/Body" unique_id=1027603836]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 12
|
||||
|
||||
[node name="Status" type="Label" parent="Center/Card/Body/Actions" unique_id=1997283300]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_colors/font_color = Color(0.3647059, 0.44705883, 0.53333336, 1)
|
||||
theme_override_font_sizes/font_size = 16
|
||||
|
||||
[node name="BackButton" type="Button" parent="Center/Card/Body/Actions" unique_id=723453195]
|
||||
custom_minimum_size = Vector2(220, 0)
|
||||
layout_mode = 2
|
||||
text = "Назад"
|
||||
@@ -0,0 +1,212 @@
|
||||
[gd_scene format=3 uid="uid://o1xvvu6dik4j"]
|
||||
|
||||
[ext_resource type="Theme" uid="uid://c6kkopjj3snag" path="res://themes/main_menu.theme.tres" id="1_mhswj"]
|
||||
[ext_resource type="Script" uid="uid://jkhpwi3ngait" path="res://scripts/ui/settings_menu.gd" id="2_x3vyp"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mhswj"]
|
||||
content_margin_left = 22.0
|
||||
content_margin_top = 14.0
|
||||
content_margin_right = 22.0
|
||||
content_margin_bottom = 14.0
|
||||
bg_color = Color(1, 1, 1, 0.05882353)
|
||||
border_width_left = 1
|
||||
border_width_top = 1
|
||||
border_width_right = 1
|
||||
border_width_bottom = 1
|
||||
border_color = Color(1, 1, 1, 0.14901961)
|
||||
corner_radius_top_left = 6
|
||||
corner_radius_top_right = 6
|
||||
corner_radius_bottom_right = 6
|
||||
corner_radius_bottom_left = 6
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_x3vyp"]
|
||||
content_margin_left = 26.0
|
||||
content_margin_top = 16.0
|
||||
content_margin_right = 26.0
|
||||
content_margin_bottom = 16.0
|
||||
bg_color = Color(0.18039216, 0.9019608, 0.77254903, 0.14901961)
|
||||
border_width_left = 1
|
||||
border_width_top = 1
|
||||
border_width_right = 1
|
||||
border_width_bottom = 1
|
||||
border_color = Color(0.18039216, 0.9019608, 0.77254903, 0.54901963)
|
||||
corner_radius_top_left = 6
|
||||
corner_radius_top_right = 6
|
||||
corner_radius_bottom_right = 6
|
||||
corner_radius_bottom_left = 6
|
||||
|
||||
[node name="SettingsMenu" type="Control" unique_id=1927393822]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
theme = ExtResource("1_mhswj")
|
||||
script = ExtResource("2_x3vyp")
|
||||
|
||||
[node name="Dim" type="ColorRect" parent="." unique_id=1358217210]
|
||||
layout_mode = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
color = Color(0.015686275, 0.02745098, 0.05490196, 0.8509804)
|
||||
|
||||
[node name="Center" type="CenterContainer" parent="." unique_id=1673833279]
|
||||
layout_mode = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Card" type="PanelContainer" parent="Center" unique_id=1902065458]
|
||||
custom_minimum_size = Vector2(1000, 700)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Body" type="VBoxContainer" parent="Center/Card" unique_id=1117582341]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 18
|
||||
|
||||
[node name="Heading" type="Label" parent="Center/Card/Body" unique_id=661708833]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.9490196, 0.96862745, 0.9843137, 1)
|
||||
theme_override_font_sizes/font_size = 34
|
||||
text = "НАСТРОЙКИ"
|
||||
|
||||
[node name="Rule" type="ColorRect" parent="Center/Card/Body" unique_id=1046238764]
|
||||
custom_minimum_size = Vector2(0, 1)
|
||||
layout_mode = 2
|
||||
color = Color(1, 1, 1, 0.101960786)
|
||||
|
||||
[node name="Tabs" type="TabContainer" parent="Center/Card/Body" unique_id=1317139586]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
current_tab = 0
|
||||
|
||||
[node name="VideoTab" type="MarginContainer" parent="Center/Card/Body/Tabs" unique_id=967887173]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_top = 6
|
||||
metadata/_tab_index = 0
|
||||
|
||||
[node name="Rows" type="VBoxContainer" parent="Center/Card/Body/Tabs/VideoTab" unique_id=1964139496]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 14
|
||||
|
||||
[node name="WindowModeRow" type="HBoxContainer" parent="Center/Card/Body/Tabs/VideoTab/Rows" unique_id=965687739]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Caption" type="Label" parent="Center/Card/Body/Tabs/VideoTab/Rows/WindowModeRow" unique_id=2117469931]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Режим окна"
|
||||
|
||||
[node name="WindowModeOption" type="OptionButton" parent="Center/Card/Body/Tabs/VideoTab/Rows/WindowModeRow" unique_id=775949120]
|
||||
custom_minimum_size = Vector2(320, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
|
||||
[node name="ResolutionRow" type="HBoxContainer" parent="Center/Card/Body/Tabs/VideoTab/Rows" unique_id=843455360]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Caption" type="Label" parent="Center/Card/Body/Tabs/VideoTab/Rows/ResolutionRow" unique_id=1913756792]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Разрешение окна"
|
||||
|
||||
[node name="ResolutionOption" type="OptionButton" parent="Center/Card/Body/Tabs/VideoTab/Rows/ResolutionRow" unique_id=1126807051]
|
||||
custom_minimum_size = Vector2(320, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
|
||||
[node name="VsyncRow" type="HBoxContainer" parent="Center/Card/Body/Tabs/VideoTab/Rows" unique_id=967859150]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Caption" type="Label" parent="Center/Card/Body/Tabs/VideoTab/Rows/VsyncRow" unique_id=1807973676]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Вертикальная синхронизация"
|
||||
|
||||
[node name="VsyncToggle" type="Button" parent="Center/Card/Body/Tabs/VideoTab/Rows/VsyncRow" unique_id=495664079]
|
||||
custom_minimum_size = Vector2(320, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
theme_override_font_sizes/font_size = 20
|
||||
toggle_mode = true
|
||||
text = "Вкл"
|
||||
|
||||
[node name="FpsRow" type="HBoxContainer" parent="Center/Card/Body/Tabs/VideoTab/Rows" unique_id=808439030]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Caption" type="Label" parent="Center/Card/Body/Tabs/VideoTab/Rows/FpsRow" unique_id=261904982]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Ограничение кадров"
|
||||
|
||||
[node name="FpsOption" type="OptionButton" parent="Center/Card/Body/Tabs/VideoTab/Rows/FpsRow" unique_id=2080423748]
|
||||
custom_minimum_size = Vector2(320, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
|
||||
[node name="Hint" type="Label" parent="Center/Card/Body/Tabs/VideoTab/Rows" unique_id=954192669]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.3647059, 0.44705883, 0.53333336, 1)
|
||||
theme_override_font_sizes/font_size = 16
|
||||
text = "Разрешение применяется только в оконном режиме."
|
||||
|
||||
[node name="AudioTab" type="MarginContainer" parent="Center/Card/Body/Tabs" unique_id=1009219885]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_top = 6
|
||||
metadata/_tab_index = 1
|
||||
|
||||
[node name="Rows" type="VBoxContainer" parent="Center/Card/Body/Tabs/AudioTab" unique_id=1543186127]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 18
|
||||
|
||||
[node name="ControlsTab" type="MarginContainer" parent="Center/Card/Body/Tabs" unique_id=641448439]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_top = 6
|
||||
metadata/_tab_index = 2
|
||||
|
||||
[node name="Wrap" type="VBoxContainer" parent="Center/Card/Body/Tabs/ControlsTab" unique_id=728196337]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 10
|
||||
|
||||
[node name="Scroll" type="ScrollContainer" parent="Center/Card/Body/Tabs/ControlsTab/Wrap" unique_id=1879224442]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
horizontal_scroll_mode = 0
|
||||
|
||||
[node name="Bindings" type="VBoxContainer" parent="Center/Card/Body/Tabs/ControlsTab/Wrap/Scroll" unique_id=1976953054]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_constants/separation = 6
|
||||
|
||||
[node name="Hint" type="Label" parent="Center/Card/Body/Tabs/ControlsTab/Wrap" unique_id=71595213]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.3647059, 0.44705883, 0.53333336, 1)
|
||||
theme_override_font_sizes/font_size = 16
|
||||
text = "Нажмите на клавишу справа и введите новую. Esc — отмена."
|
||||
|
||||
[node name="Rule2" type="ColorRect" parent="Center/Card/Body" unique_id=634678966]
|
||||
custom_minimum_size = Vector2(0, 1)
|
||||
layout_mode = 2
|
||||
color = Color(1, 1, 1, 0.101960786)
|
||||
|
||||
[node name="Actions" type="HBoxContainer" parent="Center/Card/Body" unique_id=2133549410]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 12
|
||||
|
||||
[node name="ResetButton" type="Button" parent="Center/Card/Body/Actions" unique_id=1287304788]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 20
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_mhswj")
|
||||
text = "Сбросить всё"
|
||||
|
||||
[node name="Spacer" type="Control" parent="Center/Card/Body/Actions" unique_id=692961999]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="DoneButton" type="Button" parent="Center/Card/Body/Actions" unique_id=1510089731]
|
||||
custom_minimum_size = Vector2(220, 0)
|
||||
layout_mode = 2
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_x3vyp")
|
||||
text = "Готово"
|
||||
Reference in New Issue
Block a user