CR 8d: Encounter-Umbau — Sparring und Tag-9 auf dem echten Kampfsystem
- EnemyCombatant: Gegner-KI auf CombatActor-Basis, nähert sich, hält Distanz, kündigt Schläge sichtbar an und blockt gelegentlich; Werte über Exports, damit Partner und Schergen dieselbe Klasse nutzen - CombatEncounter: gemeinsamer Rahmen (Kampf-Kern scharf, Gegner aktiv, HUD, Sieg/Niederlage über finished) — bewusst ohne Story-Logik - Kampf-HUD (scenes/ui/combat_hud.tscn): HP + Ausdauer, ein Balken je Gegner, Waffe und Waffenskill - Sparring: Timing-Duell ersetzt durch echten Encounter gegen den Staffel-Partner; Bewegung bleibt frei, nie tödlich (Niederlage führt in sparring_loss statt in den Respawn) - Tag-9-Hinterhalt: QTE-Kette samt UI entfernt, Cassian und beide Schergen kämpfen gleichzeitig; Niederlage = Tod → letzter Spielstand (CR 16), Sieg führt unverändert in die Herz/Klinge-Weiche - Option B gewahrt: keine Kampf-Gegner im Hub - Buchführung: 8d nach CHANGEREQUESTS_DONE, ROADMAP nachgezogen Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
e662648522
commit
b96b07b7d9
6 changed files with 493 additions and 304 deletions
69
scenes/ui/combat_hud.tscn
Normal file
69
scenes/ui/combat_hud.tscn
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
[gd_scene load_steps=2 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/ui/combat_hud.gd" id="1_hud"]
|
||||
|
||||
[node name="CombatHud" type="CanvasLayer"]
|
||||
layer = 3
|
||||
script = ExtResource("1_hud")
|
||||
|
||||
[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="PlayerBox" type="VBoxContainer" parent="Root"]
|
||||
anchors_preset = 2
|
||||
anchor_top = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 24.0
|
||||
offset_top = -96.0
|
||||
offset_right = 344.0
|
||||
offset_bottom = -24.0
|
||||
grow_vertical = 0
|
||||
theme_override_constants/separation = 6
|
||||
|
||||
[node name="NameLabel" type="Label" parent="Root/PlayerBox"]
|
||||
theme_override_font_sizes/font_size = 15
|
||||
text = "Tyrveil"
|
||||
|
||||
[node name="HealthBar" type="ProgressBar" parent="Root/PlayerBox"]
|
||||
custom_minimum_size = Vector2(320, 18)
|
||||
modulate = Color(0.35, 0.7, 0.4, 1)
|
||||
max_value = 100.0
|
||||
value = 100.0
|
||||
show_percentage = false
|
||||
|
||||
[node name="StaminaBar" type="ProgressBar" parent="Root/PlayerBox"]
|
||||
custom_minimum_size = Vector2(320, 12)
|
||||
modulate = Color(0.85, 0.75, 0.35, 1)
|
||||
max_value = 100.0
|
||||
value = 100.0
|
||||
show_percentage = false
|
||||
|
||||
[node name="EnemyBox" type="VBoxContainer" parent="Root"]
|
||||
anchors_preset = 5
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
offset_left = -160.0
|
||||
offset_top = 24.0
|
||||
offset_right = 160.0
|
||||
offset_bottom = 120.0
|
||||
grow_horizontal = 2
|
||||
theme_override_constants/separation = 8
|
||||
|
||||
[node name="WeaponLabel" type="Label" parent="Root"]
|
||||
anchors_preset = 1
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
offset_left = -300.0
|
||||
offset_top = 24.0
|
||||
offset_right = -24.0
|
||||
offset_bottom = 50.0
|
||||
grow_horizontal = 0
|
||||
theme_override_colors/font_color = Color(1, 0.9, 0.6, 1)
|
||||
theme_override_font_sizes/font_size = 18
|
||||
text = ""
|
||||
horizontal_alignment = 2
|
||||
Loading…
Add table
Add a link
Reference in a new issue