CR 11: Gefechtskunde als interaktive Kontinent-Karte
Deveras Taktiktisch als Klick-Karte statt Menue: zehn Kanon-Regionen aus data/lessons/battle_map.json liegen fraktionsgefaerbt an relativen Ankern, ein Zeitbalken laeuft mit, und die Truppenbewegungen wandern als Pfeile ueber das Brett. lesson_teacher kennt den neuen Beat-Typ map_question: richtig gibt +1 Verstand und +1 Fachwissen (optional ein Wahrheits-Fragment), falsch kostet Staffel-Ansehen — Devera benennt den Fehler offen, dann liefert ein namentlicher Mitschueler die richtige Antwort nach. Schweigen bleibt folgenlos. Kanon-Zeitfilter Buch 1: offener Feind ist Poromiel mit seinen Greifen. Die Veneni werden in keinem sichtbaren Text benannt und erscheinen nur als unerklaerte Anomalien, die sich mit Wahrheit 1 verzahnen. Verifiziert mit dev_cr11_probe (18/18) und einem Boot-Check ueber sieben Szenen; Sonde vor dem Commit geloescht. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
2f8b920228
commit
8c85850fe3
9 changed files with 357 additions and 22 deletions
73
scenes/ui/battle_map.tscn
Normal file
73
scenes/ui/battle_map.tscn
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
[gd_scene load_steps=3 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/ui/battle_map.gd" id="1_map"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_panel"]
|
||||
content_margin_left = 14.0
|
||||
content_margin_top = 12.0
|
||||
content_margin_right = 14.0
|
||||
content_margin_bottom = 12.0
|
||||
bg_color = Color(0.11, 0.12, 0.15, 0.95)
|
||||
corner_radius_top_left = 6
|
||||
corner_radius_top_right = 6
|
||||
corner_radius_bottom_right = 6
|
||||
corner_radius_bottom_left = 6
|
||||
|
||||
[node name="BattleMap" type="CanvasLayer"]
|
||||
layer = 5
|
||||
script = ExtResource("1_map")
|
||||
|
||||
[node name="Root" type="Control" parent="."]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Panel" type="PanelContainer" parent="Root"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -460.0
|
||||
offset_top = -300.0
|
||||
offset_right = 460.0
|
||||
offset_bottom = 300.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_panel")
|
||||
|
||||
[node name="Margin" type="MarginContainer" parent="Root/Panel"]
|
||||
theme_override_constants/margin_left = 12
|
||||
theme_override_constants/margin_top = 10
|
||||
theme_override_constants/margin_right = 12
|
||||
theme_override_constants/margin_bottom = 10
|
||||
|
||||
[node name="Content" type="VBoxContainer" parent="Root/Panel/Margin"]
|
||||
theme_override_constants/separation = 8
|
||||
|
||||
[node name="PromptLabel" type="Label" parent="Root/Panel/Margin/Content"]
|
||||
theme_override_colors/font_color = Color(0.9, 0.92, 1, 1)
|
||||
theme_override_font_sizes/font_size = 19
|
||||
text = "Taktiktisch"
|
||||
autowrap_mode = 3
|
||||
|
||||
[node name="TimerBar" type="ProgressBar" parent="Root/Panel/Margin/Content"]
|
||||
custom_minimum_size = Vector2(0, 10)
|
||||
max_value = 1.0
|
||||
step = 0.001
|
||||
value = 1.0
|
||||
show_percentage = false
|
||||
|
||||
[node name="Board" type="Control" parent="Root/Panel/Margin/Content"]
|
||||
custom_minimum_size = Vector2(880, 480)
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="Arrows" type="Control" parent="Root/Panel/Margin/Content/Board"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
Loading…
Add table
Add a link
Reference in a new issue