DungeonCrawler/class_selection_menu.tscn
Andre cbf50b56bf Redesign Klassenauswahl mit Portraits und Klassen-Lore
- class_selection_menu.tscn: Vollbild-Layout mit dunklem Hintergrund
- class_selection_menu.gd: Karten dynamisch per Code erzeugt mit Portrait,
  Lore-Text, Gameplay-Beschreibung, Flavor-Zitat, Stats und Auswahl-Button
- Drei Klassen-Portraits hinzugefügt: Warrior.png, Schurke.png, Magier.png
- Hover- und Auswahl-Highlighting per StyleBoxFlat

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-19 22:34:27 +01:00

80 lines
1.9 KiB
Text

[gd_scene format=3 uid="uid://class_selection_menu"]
[ext_resource type="Script" path="res://class_selection_menu.gd" id="1_menu"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_bg"]
bg_color = Color(0.04, 0.04, 0.07, 1.0)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_bottom"]
bg_color = Color(0.06, 0.05, 0.10, 0.9)
[node name="ClassSelectionMenu" type="CanvasLayer"]
script = ExtResource("1_menu")
[node name="Background" type="Panel" parent="."]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
theme_override_styles/panel = SubResource("StyleBoxFlat_bg")
[node name="Title" type="Label" parent="Background"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 1.0
anchor_bottom = 0.0
offset_top = 40.0
offset_bottom = 100.0
theme_override_font_sizes/font_size = 52
text = "Wähle deine Klasse"
horizontal_alignment = 1
vertical_alignment = 1
[node name="CardContainer" type="HBoxContainer" parent="Background"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.1
anchor_top = 0.12
anchor_right = 0.9
anchor_bottom = 0.88
offset_left = 0.0
offset_top = 0.0
offset_right = 0.0
offset_bottom = 0.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 40
alignment = 1
[node name="BottomBar" type="Panel" parent="Background"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.0
anchor_top = 0.88
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 0.0
offset_top = 0.0
offset_right = 0.0
offset_bottom = 0.0
grow_vertical = 0
theme_override_styles/panel = SubResource("StyleBoxFlat_bottom")
[node name="StartBtn" type="Button" parent="Background/BottomBar"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -150.0
offset_top = -30.0
offset_right = 150.0
offset_bottom = 30.0
grow_horizontal = 2
grow_vertical = 2
theme_override_font_sizes/font_size = 22
disabled = true
text = "Spiel starten"