- Charakter-Anlage (character_creation.tscn): Namenseingabe mit Default Tyrveil, Enter/confirm bestaetigt, cancel zurueck; Controller nutzt den Tastatur-Fallback mit bestaetigbarem Default (virtuelle Tastatur bewusst ausgelassen, nur Mobile/Web nativ); Name in GameState.player_name, erscheint in der Dialog-Box - Neues Spiel: Hauptmenue -> Charakter-Anlage -> Viadukt -> (Platzhalter- Uebergang) Reiterquadrant; Fortsetzen unveraendert - Viadukt (scenes/viaduct): vier kurze Segmente - schmaler Steg mit Sprung-Luecke und Gelaender-Stuecken, Kletter-Engstelle (Mechanik aus Phase 1b), Wren-Moment, Endplattform mit Uebergang; cineastischer Kamera-Schwenk beim Betreten (player.play_camera_pan, SPEC 2) - Wren-Moment: nicht abbrechbarer Entscheidungspunkt ueber das bestehende Dialog-System (can_abort:false sperrt cancel UND dialogue_abort); beide Optionen retten Wren (fixer Ausgang laut STORY.md), Klinge/Herz -10/+10, Beziehung +1/+3, Wahl als Story-Flag viaduct_wren_rescue (neues gespeichertes story_flags-Muster im GameState) - Permadeath: KillZone unter dem Steg - AN: Game Over ins Hauptmenue, AUS: Respawn am zuletzt erreichten Segment-Checkpoint - DialogueSystem: story_flag-Options-Tag, is_abort_allowed, Spielername aus GameState in der Box - .idea/ in .gitignore aufgenommen - Headless verifiziert (23 Checks): Namensfluss, Pan-Sperre, Respawn, Abbruch-Sperre im Wren-Moment, beide Pfade inkl. Flags, Endübergang, Game Over bei Permadeath AN Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
71 lines
2.1 KiB
Text
71 lines
2.1 KiB
Text
[gd_scene load_steps=2 format=3]
|
|
|
|
[ext_resource type="Script" path="res://scripts/ui/character_creation.gd" id="1_creation"]
|
|
|
|
[node name="CharacterCreation" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_creation")
|
|
|
|
[node name="Background" type="ColorRect" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
color = Color(0.07, 0.08, 0.1, 1)
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 16
|
|
|
|
[node name="TitleLabel" type="Label" parent="CenterContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 40
|
|
text = "Wer bist du, Gezeichneter?"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="HintLabel" type="Label" parent="CenterContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 16
|
|
theme_override_colors/font_color = Color(0.7, 0.7, 0.7, 1)
|
|
text = "Name eintippen (Tastatur) oder den Vorschlag bestätigen (Controller)."
|
|
horizontal_alignment = 1
|
|
|
|
[node name="TitleSpacer" type="Control" parent="CenterContainer/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 12)
|
|
layout_mode = 2
|
|
|
|
[node name="NameEdit" type="LineEdit" parent="CenterContainer/VBoxContainer"]
|
|
custom_minimum_size = Vector2(320, 44)
|
|
layout_mode = 2
|
|
max_length = 24
|
|
alignment = 1
|
|
|
|
[node name="Buttons" type="HBoxContainer" parent="CenterContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 12
|
|
alignment = 1
|
|
|
|
[node name="ConfirmButton" type="Button" parent="CenterContainer/VBoxContainer/Buttons"]
|
|
custom_minimum_size = Vector2(180, 44)
|
|
layout_mode = 2
|
|
text = "Bestätigen"
|
|
|
|
[node name="BackButton" type="Button" parent="CenterContainer/VBoxContainer/Buttons"]
|
|
custom_minimum_size = Vector2(180, 44)
|
|
layout_mode = 2
|
|
text = "Zurück"
|