Remove AccentBar from main menu and associated animation logic. Update menu background shader to enhance starfield effect and adjust aurora band parameters for improved visual quality.

This commit is contained in:
Leonid Pershin
2026-08-10 22:17:43 +03:00
parent dfc0f9a3b3
commit d9c8a1e0f6
4 changed files with 131 additions and 29 deletions
+88
View File
@@ -0,0 +1,88 @@
[gd_scene format=3 uid="uid://psbbnpm6g0nc"]
[ext_resource type="Script" 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 — пауза."
-7
View File
@@ -79,13 +79,6 @@ 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)