- Consumable-System: Tränke (HP/Mana) mit Stacking, Rechtsklick-Benutzung, Aktionsleisten-Zuweisung - Klassen-Ressourcen: ResourceType (NONE/MANA/RAGE/ENERGY) pro Klasse statt universelles Mana - Hauptmenü: Einstellungen für Auflösung, Fenstermodus, VSync, MSAA - Item-Icons: SVG-Icons für alle Equipment-Items und Tränke - Character Panel: Icon-Grid mit Hover-Tooltips statt Textanzeige - HUD: Ressourcen-Leiste mit klassenabhängiger Farbe - Loot: Consumable-Support in LootTable/LootWindow - Dokumentation vollständig aktualisiert Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
161 lines
4.5 KiB
Text
161 lines
4.5 KiB
Text
[gd_scene format=3 uid="uid://main_menu"]
|
|
|
|
[ext_resource type="Script" path="res://main_menu.gd" id="1_menu"]
|
|
|
|
[node name="MainMenu" type="CanvasLayer"]
|
|
script = ExtResource("1_menu")
|
|
|
|
[node name="MainPanel" type="Panel" parent="."]
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -200.0
|
|
offset_top = -180.0
|
|
offset_right = 200.0
|
|
offset_bottom = 180.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="MainPanel"]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 30.0
|
|
offset_top = 30.0
|
|
offset_right = -30.0
|
|
offset_bottom = -30.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/separation = 20
|
|
|
|
[node name="Title" type="Label" parent="MainPanel/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 32
|
|
text = "DungeonCrawler"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="Spacer" type="Control" parent="MainPanel/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
|
|
[node name="PlayBtn" type="Button" parent="MainPanel/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 50)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 20
|
|
text = "Spielen"
|
|
|
|
[node name="SettingsBtn" type="Button" parent="MainPanel/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 50)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 20
|
|
text = "Einstellungen"
|
|
|
|
[node name="QuitBtn" type="Button" parent="MainPanel/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 50)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 20
|
|
text = "Beenden"
|
|
|
|
[node name="SettingsPanel" type="Panel" parent="."]
|
|
visible = false
|
|
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 = -220.0
|
|
offset_right = 250.0
|
|
offset_bottom = 220.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="SettingsPanel"]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 20.0
|
|
offset_top = 20.0
|
|
offset_right = -20.0
|
|
offset_bottom = -20.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/separation = 15
|
|
|
|
[node name="Title" type="Label" parent="SettingsPanel/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 24
|
|
text = "Einstellungen"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="HSeparator" type="HSeparator" parent="SettingsPanel/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="ResolutionRow" type="HBoxContainer" parent="SettingsPanel/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="SettingsPanel/VBoxContainer/ResolutionRow"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 16
|
|
text = "Auflösung"
|
|
|
|
[node name="ResolutionOption" type="OptionButton" parent="SettingsPanel/VBoxContainer/ResolutionRow"]
|
|
custom_minimum_size = Vector2(200, 0)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 14
|
|
|
|
[node name="WindowModeRow" type="HBoxContainer" parent="SettingsPanel/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="SettingsPanel/VBoxContainer/WindowModeRow"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 16
|
|
text = "Fenstermodus"
|
|
|
|
[node name="WindowModeOption" type="OptionButton" parent="SettingsPanel/VBoxContainer/WindowModeRow"]
|
|
custom_minimum_size = Vector2(200, 0)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 14
|
|
|
|
[node name="VsyncRow" type="HBoxContainer" parent="SettingsPanel/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="SettingsPanel/VBoxContainer/VsyncRow"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 16
|
|
text = "VSync"
|
|
|
|
[node name="VsyncCheck" type="CheckBox" parent="SettingsPanel/VBoxContainer/VsyncRow"]
|
|
layout_mode = 2
|
|
text = "Aktiviert"
|
|
|
|
[node name="MSAARow" type="HBoxContainer" parent="SettingsPanel/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="SettingsPanel/VBoxContainer/MSAARow"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 16
|
|
text = "Anti-Aliasing"
|
|
|
|
[node name="MSAAOption" type="OptionButton" parent="SettingsPanel/VBoxContainer/MSAARow"]
|
|
custom_minimum_size = Vector2(200, 0)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 14
|
|
|
|
[node name="Spacer" type="Control" parent="SettingsPanel/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
|
|
[node name="BackBtn" type="Button" parent="SettingsPanel/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 45)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 18
|
|
text = "Zurück"
|