feat: complete playtest parity improvements

This commit is contained in:
goose
2026-10-08 19:06:19 -04:00
parent cce25a1908
commit eca098b4b9
139 changed files with 3001 additions and 982 deletions
+99 -32
View File
@@ -1,10 +1,11 @@
[gd_scene load_steps=20 format=3]
[gd_scene load_steps=24 format=3]
[ext_resource type="Script" path="res://scripts/game/game.gd" id="1_game"]
[ext_resource type="Script" path="res://scripts/presentation/map_renderer.gd" id="2_map"]
[ext_resource type="Script" path="res://scripts/presentation/actor_view.gd" id="3_actor"]
[ext_resource type="Script" path="res://scripts/presentation/hud.gd" id="4_hud"]
[ext_resource type="Texture2D" path="res://assets/dcss/player.png" id="5_player"]
[ext_resource type="Texture2D" path="res://assets/dcss/war_dog.png" id="35_companion"]
[ext_resource type="Script" path="res://scripts/infrastructure/audio_library.gd" id="6_audio"]
[ext_resource type="Script" path="res://scripts/presentation/event_presenter.gd" id="7_presenter"]
[ext_resource type="PackedScene" path="res://scenes/overlays/CombatFeedback.tscn" id="8_feedback"]
@@ -23,6 +24,7 @@
[ext_resource type="PackedScene" path="res://scenes/ui/PartyPanel.tscn" id="19_party"]
[ext_resource type="PackedScene" path="res://scenes/ui/CharacterPanel.tscn" id="20_character"]
[ext_resource type="PackedScene" path="res://scenes/ui/ProgressionChoicePanel.tscn" id="21_progression_choice"]
[ext_resource type="PackedScene" path="res://scenes/ui/RaceClassChoicePanel.tscn" id="34_race_class_choice"]
[ext_resource type="PackedScene" path="res://scenes/ui/AchievementPanel.tscn" id="22_achievement"]
[ext_resource type="PackedScene" path="res://scenes/ui/AudiencePanel.tscn" id="23_audience"]
[ext_resource type="PackedScene" path="res://scenes/ui/RecapPanel.tscn" id="24_recap"]
@@ -50,6 +52,25 @@ content_margin_top = 8.0
content_margin_right = 12.0
content_margin_bottom = 8.0
[sub_resource type="StyleBoxFlat" id="StyleBox_xp_background"]
bg_color = Color(0.025, 0.055, 0.075, 1)
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color(0.35, 0.48, 0.62, 1)
corner_radius_top_left = 4
corner_radius_top_right = 4
corner_radius_bottom_right = 4
corner_radius_bottom_left = 4
[sub_resource type="StyleBoxFlat" id="StyleBox_xp_fill"]
bg_color = Color(0.35, 0.72, 1, 1)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
[sub_resource type="StyleBoxFlat" id="StyleBox_prompt_panel"]
bg_color = Color(0.08, 0.12, 0.16, 0.94)
border_width_left = 2
@@ -92,8 +113,7 @@ script = ExtResource("3_actor")
[node name="Enemies" type="Node2D" parent="World"]
[node name="Companion" type="Sprite2D" parent="World"]
texture = ExtResource("5_player")
modulate = Color(0.62, 0.87, 1, 1)
texture = ExtResource("35_companion")
script = ExtResource("3_actor")
[node name="Party" type="Node2D" parent="World"]
@@ -132,6 +152,8 @@ script = ExtResource("4_hud")
[node name="ProgressionChoicePanel" parent="HUD" instance=ExtResource("21_progression_choice")]
[node name="RaceClassChoicePanel" parent="HUD" instance=ExtResource("34_race_class_choice")]
[node name="AchievementPanel" parent="HUD" instance=ExtResource("22_achievement")]
[node name="AudiencePanel" parent="HUD" instance=ExtResource("23_audience")]
@@ -153,19 +175,29 @@ script = ExtResource("4_hud")
[node name="HelpPanel" parent="HUD" instance=ExtResource("30_help")]
[node name="AchievementToast" type="Label" parent="HUD"]
offset_left = 390.0
layout_mode = 1
anchors_preset = 10
anchor_left = 0.5
anchor_right = 0.5
offset_left = -360.0
offset_top = 18.0
offset_right = 890.0
offset_right = 360.0
offset_bottom = 48.0
grow_horizontal = 2
theme_override_colors/font_color = Color(1, 0.82, 0.42, 1)
theme_override_font_sizes/font_size = 18
horizontal_alignment = 1
[node name="TitleLabel" type="Label" parent="HUD"]
offset_left = 390.0
layout_mode = 1
anchors_preset = 10
anchor_left = 0.5
anchor_right = 0.5
offset_left = -360.0
offset_top = 48.0
offset_right = 890.0
offset_right = 360.0
offset_bottom = 74.0
grow_horizontal = 2
theme_override_colors/font_color = Color(0.75, 0.94, 0.55, 1)
theme_override_font_sizes/font_size = 16
horizontal_alignment = 1
@@ -184,8 +216,8 @@ layout_mode = 1
anchors_preset = 0
offset_left = 12.0
offset_top = 12.0
offset_right = 248.0
offset_bottom = 170.0
offset_right = 298.0
offset_bottom = 250.0
grow_horizontal = 0
grow_vertical = 0
theme_override_styles/panel = SubResource("StyleBox_hud_panel")
@@ -237,7 +269,7 @@ layout_mode = 1
anchors_preset = 0
offset_left = 26.0
offset_top = 26.0
offset_right = 236.0
offset_right = 286.0
offset_bottom = 46.0
grow_horizontal = 0
grow_vertical = 0
@@ -248,21 +280,54 @@ theme_override_font_sizes/font_size = 18
layout_mode = 1
anchors_preset = 0
offset_left = 26.0
offset_top = 48.0
offset_right = 236.0
offset_bottom = 68.0
offset_top = 47.0
offset_right = 286.0
offset_bottom = 73.0
grow_horizontal = 0
grow_vertical = 0
theme_override_colors/font_color = Color(0.7, 0.8, 1, 1)
theme_override_font_sizes/font_size = 18
[node name="ExperienceBar" type="ProgressBar" parent="HUD"]
layout_mode = 1
anchors_preset = 0
offset_left = 26.0
offset_top = 74.0
offset_right = 286.0
offset_bottom = 94.0
grow_horizontal = 0
grow_vertical = 0
mouse_filter = 2
theme_override_styles/background = SubResource("StyleBox_xp_background")
theme_override_styles/fill = SubResource("StyleBox_xp_fill")
show_percentage = false
[node name="ExperienceLabel" type="Label" parent="HUD"]
layout_mode = 1
anchors_preset = 0
offset_left = 30.0
offset_top = 74.0
offset_right = 282.0
offset_bottom = 94.0
grow_horizontal = 0
grow_vertical = 0
mouse_filter = 2
theme_override_colors/font_color = Color(0.92, 0.97, 1, 1)
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0.9)
theme_override_constants/shadow_offset_x = 1
theme_override_constants/shadow_offset_y = 1
theme_override_font_sizes/font_size = 14
text = "Niveau 1 — XP 0/100"
horizontal_alignment = 1
vertical_alignment = 1
[node name="GoldLabel" type="Label" parent="HUD"]
layout_mode = 1
anchors_preset = 0
offset_left = 26.0
offset_top = 70.0
offset_right = 236.0
offset_bottom = 90.0
offset_top = 96.0
offset_right = 286.0
offset_bottom = 122.0
grow_horizontal = 0
grow_vertical = 0
theme_override_colors/font_color = Color(1, 0.84, 0.35, 1)
@@ -273,9 +338,9 @@ text = "Or: 0"
layout_mode = 1
anchors_preset = 0
offset_left = 26.0
offset_top = 92.0
offset_right = 360.0
offset_bottom = 112.0
offset_top = 123.0
offset_right = 286.0
offset_bottom = 143.0
grow_horizontal = 0
grow_vertical = 0
theme_override_colors/font_color = Color(0.65, 1, 0.72, 1)
@@ -286,9 +351,9 @@ text = "Quêtes : aucune"
layout_mode = 1
anchors_preset = 0
offset_left = 26.0
offset_top = 92.0
offset_right = 360.0
offset_bottom = 112.0
offset_top = 144.0
offset_right = 286.0
offset_bottom = 164.0
grow_horizontal = 0
grow_vertical = 0
theme_override_colors/font_color = Color(0.82, 0.7, 1, 1)
@@ -298,9 +363,9 @@ theme_override_font_sizes/font_size = 14
layout_mode = 1
anchors_preset = 0
offset_left = 26.0
offset_top = 114.0
offset_right = 236.0
offset_bottom = 134.0
offset_top = 165.0
offset_right = 286.0
offset_bottom = 191.0
grow_horizontal = 0
grow_vertical = 0
theme_override_colors/font_color = Color(1, 0.8, 0.7, 1)
@@ -310,9 +375,9 @@ theme_override_font_sizes/font_size = 18
layout_mode = 1
anchors_preset = 0
offset_left = 26.0
offset_top = 114.0
offset_right = 236.0
offset_bottom = 134.0
offset_top = 192.0
offset_right = 286.0
offset_bottom = 215.0
grow_horizontal = 0
grow_vertical = 0
theme_override_colors/font_color = Color(1, 0.9, 0.5, 1)
@@ -322,13 +387,15 @@ theme_override_font_sizes/font_size = 16
layout_mode = 1
anchors_preset = 0
offset_left = 26.0
offset_top = 138.0
offset_right = 360.0
offset_bottom = 158.0
offset_top = 216.0
offset_right = 286.0
offset_bottom = 246.0
grow_horizontal = 0
grow_vertical = 0
theme_override_colors/font_color = Color(1, 0.76, 0.4, 1)
theme_override_font_sizes/font_size = 14
autowrap_mode = 2
clip_text = true
[node name="EventLog" type="RichTextLabel" parent="HUD"]
layout_mode = 1
@@ -378,6 +445,6 @@ grow_horizontal = 2
grow_vertical = 0
theme_override_colors/font_color = Color(0.82, 0.9, 1, 1)
theme_override_font_sizes/font_size = 14
text = "Déplacer : ZQSD / Flèches (nord-est : pavé num. 9) • Interagir : Espace ou E"
text = "Déplacer : ZQSD / Flèches (nord-est : pavé num. 9) • Interagir : Espace ou E • Distance : F • Familier : K • Sauvegarder : V / Ctrl+S • Aide : F1"
horizontal_alignment = 1
vertical_alignment = 1