Expand and stage boss encounter

This commit is contained in:
Loïc Wisniewski 2026-09-03 22:00:26 +02:00
commit 66b314f51a
17 changed files with 485 additions and 64 deletions

View file

@ -1,7 +1,8 @@
[gd_scene load_steps=5 format=3]
[gd_scene load_steps=6 format=3]
[ext_resource type="Script" path="res://boss/BossEncounter.gd" id="1"]
[ext_resource type="PackedScene" path="res://boss/OctopusBoss.tscn" id="2"]
[ext_resource type="Script" path="res://ui/IconButton.gd" id="icon_button"]
[sub_resource type="StyleBoxFlat" id="StyleBox_health_background"]
bg_color = Color(0.08, 0.005, 0.055, 0.92)
@ -35,9 +36,9 @@ mouse_filter = 2
anchor_left = 0.5
anchor_right = 0.5
offset_left = -520.0
offset_top = 280.0
offset_top = 166.0
offset_right = 520.0
offset_bottom = 310.0
offset_bottom = 196.0
theme_override_colors/font_color = Color(1, 0.55, 0.76, 1)
theme_override_colors/font_outline_color = Color(0.04, 0.005, 0.035, 0.95)
theme_override_constants/outline_size = 4
@ -50,9 +51,9 @@ mouse_filter = 2
anchor_left = 0.5
anchor_right = 0.5
offset_left = -520.0
offset_top = 312.0
offset_top = 198.0
offset_right = 520.0
offset_bottom = 344.0
offset_bottom = 230.0
theme_override_styles/background = SubResource("StyleBox_health_background")
theme_override_styles/fill = SubResource("StyleBox_health_fill")
max_value = 18.0
@ -61,10 +62,12 @@ show_percentage = false
[node name="StatusLabel" type="Label" parent="EncounterUI"]
mouse_filter = 2
offset_left = 20.0
offset_top = 354.0
offset_right = 700.0
offset_bottom = 396.0
anchor_left = 0.5
anchor_right = 0.5
offset_left = -600.0
offset_top = 240.0
offset_right = 600.0
offset_bottom = 282.0
theme_override_colors/font_color = Color(1, 0.45, 0.72, 1)
theme_override_colors/font_outline_color = Color(0.04, 0.005, 0.035, 0.95)
theme_override_constants/outline_size = 4
@ -74,13 +77,35 @@ horizontal_alignment = 1
[node name="HintLabel" type="Label" parent="EncounterUI"]
mouse_filter = 2
offset_left = 20.0
offset_top = 396.0
offset_right = 700.0
offset_bottom = 436.0
anchor_left = 0.5
anchor_right = 0.5
offset_left = -600.0
offset_top = 282.0
offset_right = 600.0
offset_bottom = 322.0
theme_override_colors/font_color = Color(0.45, 0.9, 1, 1)
theme_override_colors/font_outline_color = Color(0.04, 0.005, 0.035, 0.95)
theme_override_constants/outline_size = 3
theme_override_font_sizes/font_size = 17
theme_override_font_sizes/font_size = 20
text = "DESTROY GOLDEN HATCHLINGS · FOLLOW THEIR LIGHT · BREAK THE OPEN EYES"
horizontal_alignment = 1
[node name="BossIndicator" type="Control" parent="EncounterUI"]
mouse_filter = 2
offset_right = 112.0
offset_bottom = 112.0
script = ExtResource("icon_button")
icon = 4
glow_color = Color(1, 0.32, 0.66, 1)
round_frame = true
[node name="IndicatorLabel" type="Label" parent="EncounterUI"]
mouse_filter = 2
offset_right = 292.0
offset_bottom = 42.0
theme_override_colors/font_color = Color(1, 0.45, 0.72, 1)
theme_override_colors/font_outline_color = Color(0.04, 0.005, 0.035, 0.95)
theme_override_constants/outline_size = 4
theme_override_font_sizes/font_size = 22
text = "HOSTILE SIGNAL"
horizontal_alignment = 1