This commit is contained in:
Kirill
2025-11-20 10:02:20 +03:00
parent aecce7d1c4
commit 9f94114aa2
30 changed files with 294 additions and 129 deletions
+129
View File
@@ -0,0 +1,129 @@
[gd_scene load_steps=15 format=3 uid="uid://cdbqh3hvqvpab"]
[ext_resource type="Texture2D" uid="uid://5f80g4i46ycl" path="res://UI/TopMenu/BurgerButton/button.burger.normal.png" id="1_0ttbs"]
[ext_resource type="Script" uid="uid://co14qmemlpt4a" path="res://UI/TopMenu/top_menu.gd" id="1_jcwb6"]
[ext_resource type="Texture2D" uid="uid://cimgueu70lvqi" path="res://UI/TopMenu/BurgerButton/button.burger.focused.png" id="4_5mkgh"]
[ext_resource type="FontFile" uid="uid://deij0htxjmcs7" path="res://fonts/Roboto-Light.ttf" id="5_14pnr"]
[ext_resource type="Texture2D" uid="uid://dygbsqhhj1w0m" path="res://UI/TopMenu/DialogButton/button.dialog.normal.png" id="6_akqby"]
[ext_resource type="Texture2D" uid="uid://bc585jglf0ume" path="res://UI/TopMenu/DialogButton/button.dialog.focused.png" id="9_akek1"]
[ext_resource type="Texture2D" uid="uid://ddugmu7pri15w" path="res://UI/TopMenu/TravelButton/button.travel.normal.png" id="10_ec2ci"]
[ext_resource type="Texture2D" uid="uid://dl3hpyplnussi" path="res://UI/TopMenu/TravelButton/button.travel.focused.png" id="13_h3b68"]
[ext_resource type="Texture2D" uid="uid://cbyhnnkn05e7a" path="res://UI/TopMenu/CharsheetButton/button.charsheet.normal.png" id="14_tsmx8"]
[ext_resource type="Texture2D" uid="uid://k0dapodv6m1k" path="res://UI/TopMenu/CharsheetButton/button.charsheet.focused.png" id="17_44eei"]
[ext_resource type="Texture2D" uid="uid://wiqor0lfvlrg" path="res://UI/TopMenu/QuestlogButton/button.questlog.normal.png" id="18_17uyj"]
[ext_resource type="Texture2D" uid="uid://cwec0al16niw5" path="res://UI/TopMenu/QuestlogButton/button.questlog.focused.png" id="21_3ydck"]
[ext_resource type="Texture2D" uid="uid://cv6ikoaydi525" path="res://UI/TopMenu/StarshipButton/button.starship.normal.png" id="22_tt6k1"]
[ext_resource type="Texture2D" uid="uid://dhiwe7nueowle" path="res://UI/TopMenu/StarshipButton/button.starship.focused.png" id="25_my5kp"]
[node name="TopMenu" type="HBoxContainer" node_paths=PackedStringArray("BurgerButton", "DateTime", "Info", "TopMenuButtons")]
custom_minimum_size = Vector2(0, 128)
theme_override_constants/separation = 0
script = ExtResource("1_jcwb6")
BurgerButton = NodePath("BurgerButton")
DateTime = NodePath("InfoPanel/DateTime")
Info = NodePath("InfoPanel/Info")
TopMenuButtons = {
"Charsheet": NodePath("Control/CharsheetButton"),
"Dialog": NodePath("Control/DialogButton"),
"Questlog": NodePath("Control/QuestlogButton"),
"Starship": NodePath("Control/StarshipButton"),
"Travel": NodePath("Control/TravelButton")
}
[node name="BurgerButton" type="TextureButton" parent="."]
custom_minimum_size = Vector2(128, 128)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture_normal = ExtResource("1_0ttbs")
texture_focused = ExtResource("4_5mkgh")
[node name="InfoPanel" type="VBoxContainer" parent="."]
custom_minimum_size = Vector2(256, 0)
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/separation = 0
[node name="DateTime" type="Label" parent="InfoPanel"]
custom_minimum_size = Vector2(240, 64)
layout_mode = 2
theme_override_colors/font_color = Color(0, 0.6862745, 0, 1)
theme_override_fonts/font = ExtResource("5_14pnr")
theme_override_font_sizes/font_size = 36
text = "2025.11.16 09:23"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Info" type="Label" parent="InfoPanel"]
custom_minimum_size = Vector2(240, 64)
layout_mode = 2
theme_override_colors/font_color = Color(0, 0.6862745, 0, 1)
theme_override_fonts/font = ExtResource("5_14pnr")
theme_override_font_sizes/font_size = 36
horizontal_alignment = 1
vertical_alignment = 1
[node name="Control" type="Control" parent="."]
custom_minimum_size = Vector2(640, 128)
layout_mode = 2
[node name="DialogButton" type="TextureButton" parent="Control"]
custom_minimum_size = Vector2(128, 128)
layout_mode = 0
offset_right = 128.0
offset_bottom = 128.0
size_flags_horizontal = 4
size_flags_vertical = 4
texture_normal = ExtResource("6_akqby")
texture_focused = ExtResource("9_akek1")
[node name="TravelButton" type="TextureButton" parent="Control"]
custom_minimum_size = Vector2(128, 128)
layout_mode = 0
offset_left = 128.0
offset_right = 256.0
offset_bottom = 128.0
size_flags_horizontal = 4
size_flags_vertical = 4
texture_normal = ExtResource("10_ec2ci")
texture_focused = ExtResource("13_h3b68")
[node name="CharsheetButton" type="TextureButton" parent="Control"]
custom_minimum_size = Vector2(128, 128)
layout_mode = 0
offset_left = 256.0
offset_right = 384.0
offset_bottom = 128.0
size_flags_horizontal = 4
size_flags_vertical = 4
texture_normal = ExtResource("14_tsmx8")
texture_focused = ExtResource("17_44eei")
[node name="QuestlogButton" type="TextureButton" parent="Control"]
custom_minimum_size = Vector2(128, 128)
layout_mode = 0
offset_left = 384.0
offset_right = 512.0
offset_bottom = 128.0
size_flags_horizontal = 4
size_flags_vertical = 4
texture_normal = ExtResource("18_17uyj")
texture_focused = ExtResource("21_3ydck")
[node name="StarshipButton" type="TextureButton" parent="Control"]
custom_minimum_size = Vector2(128, 128)
layout_mode = 0
offset_left = 512.0
offset_right = 640.0
offset_bottom = 128.0
size_flags_horizontal = 4
size_flags_vertical = 4
texture_normal = ExtResource("22_tt6k1")
texture_focused = ExtResource("25_my5kp")
[connection signal="pressed" from="BurgerButton" to="." method="on_putton_pressed" binds= ["Burger"]]
[connection signal="pressed" from="Control/DialogButton" to="." method="on_putton_pressed" binds= ["Dialog"]]
[connection signal="pressed" from="Control/TravelButton" to="." method="on_putton_pressed" binds= ["Travel"]]
[connection signal="pressed" from="Control/CharsheetButton" to="." method="on_putton_pressed" binds= ["Charsheet"]]
[connection signal="pressed" from="Control/QuestlogButton" to="." method="on_putton_pressed" binds= ["Questlog"]]
[connection signal="pressed" from="Control/StarshipButton" to="." method="on_putton_pressed" binds= ["Starship"]]