Refine fishing HUD feedback
This commit is contained in:
parent
070765741c
commit
c08dd99596
2 changed files with 17 additions and 16 deletions
|
|
@ -483,7 +483,7 @@ func _update_barrier_markers(
|
||||||
marker.color = (
|
marker.color = (
|
||||||
UIPalette.DISABLED
|
UIPalette.DISABLED
|
||||||
if defeated
|
if defeated
|
||||||
else UIPalette.SECONDARY
|
else UIPalette.PRIMARY
|
||||||
)
|
)
|
||||||
if barrier_index == active_index:
|
if barrier_index == active_index:
|
||||||
marker.color = UIPalette.TEXT
|
marker.color = UIPalette.TEXT
|
||||||
|
|
|
||||||
|
|
@ -12,16 +12,16 @@
|
||||||
[ext_resource type="PackedScene" path="res://ui/emote_radial_menu.tscn" id="10_emote"]
|
[ext_resource type="PackedScene" path="res://ui/emote_radial_menu.tscn" id="10_emote"]
|
||||||
|
|
||||||
[sub_resource type="StyleBoxFlat" id="StyleBox_chase_background"]
|
[sub_resource type="StyleBoxFlat" id="StyleBox_chase_background"]
|
||||||
bg_color = Color(0.055, 0.105, 0.125, 1)
|
bg_color = Color(0.032, 0.118, 0.15, 1)
|
||||||
|
|
||||||
[sub_resource type="StyleBoxFlat" id="StyleBox_chase_fill"]
|
[sub_resource type="StyleBoxFlat" id="StyleBox_chase_fill"]
|
||||||
bg_color = Color(0.937, 0.357, 0.384, 0.95)
|
bg_color = Color(0.071, 0.247, 0.306, 0.96)
|
||||||
|
|
||||||
[sub_resource type="StyleBoxFlat" id="StyleBox_catch_fill"]
|
[sub_resource type="StyleBoxFlat" id="StyleBox_catch_fill"]
|
||||||
bg_color = Color(0.275, 0.784, 0.471, 0.92)
|
bg_color = Color(0.208, 0.725, 0.78, 0.94)
|
||||||
|
|
||||||
[sub_resource type="StyleBoxFlat" id="StyleBox_fishing_panel"]
|
[sub_resource type="StyleBoxFlat" id="StyleBox_fishing_panel"]
|
||||||
bg_color = Color(0.055, 0.105, 0.125, 0.96)
|
bg_color = Color(0.051, 0.173, 0.227, 0.96)
|
||||||
border_width_left = 0
|
border_width_left = 0
|
||||||
border_width_top = 0
|
border_width_top = 0
|
||||||
border_width_right = 0
|
border_width_right = 0
|
||||||
|
|
@ -64,10 +64,10 @@ anchor_left = 0.5
|
||||||
anchor_top = 1.0
|
anchor_top = 1.0
|
||||||
anchor_right = 0.5
|
anchor_right = 0.5
|
||||||
anchor_bottom = 1.0
|
anchor_bottom = 1.0
|
||||||
offset_left = -260.0
|
offset_left = -190.0
|
||||||
offset_top = -150.0
|
offset_top = -210.0
|
||||||
offset_right = 260.0
|
offset_right = 190.0
|
||||||
offset_bottom = -68.0
|
offset_bottom = -140.0
|
||||||
grow_horizontal = 2
|
grow_horizontal = 2
|
||||||
grow_vertical = 0
|
grow_vertical = 0
|
||||||
mouse_filter = 2
|
mouse_filter = 2
|
||||||
|
|
@ -75,12 +75,13 @@ theme = ExtResource("3_theme")
|
||||||
theme_override_styles/panel = SubResource("StyleBox_fishing_panel")
|
theme_override_styles/panel = SubResource("StyleBox_fishing_panel")
|
||||||
|
|
||||||
[node name="MarginContainer" type="MarginContainer" parent="UIRoot/CanonicalStage/GameplayTransientHUD/FishingPanel"]
|
[node name="MarginContainer" type="MarginContainer" parent="UIRoot/CanonicalStage/GameplayTransientHUD/FishingPanel"]
|
||||||
theme_override_constants/margin_left = 0
|
theme_override_constants/margin_left = 12
|
||||||
theme_override_constants/margin_top = 0
|
theme_override_constants/margin_top = 4
|
||||||
theme_override_constants/margin_right = 0
|
theme_override_constants/margin_right = 12
|
||||||
theme_override_constants/margin_bottom = 0
|
theme_override_constants/margin_bottom = 4
|
||||||
|
|
||||||
[node name="VBoxContainer" type="VBoxContainer" parent="UIRoot/CanonicalStage/GameplayTransientHUD/FishingPanel/MarginContainer"]
|
[node name="VBoxContainer" type="VBoxContainer" parent="UIRoot/CanonicalStage/GameplayTransientHUD/FishingPanel/MarginContainer"]
|
||||||
|
alignment = 1
|
||||||
theme_override_constants/separation = 2
|
theme_override_constants/separation = 2
|
||||||
|
|
||||||
[node name="StatusLabel" type="Label" parent="UIRoot/CanonicalStage/GameplayTransientHUD/FishingPanel/MarginContainer/VBoxContainer"]
|
[node name="StatusLabel" type="Label" parent="UIRoot/CanonicalStage/GameplayTransientHUD/FishingPanel/MarginContainer/VBoxContainer"]
|
||||||
|
|
@ -161,9 +162,9 @@ anchor_top = 1.0
|
||||||
anchor_right = 0.5
|
anchor_right = 0.5
|
||||||
anchor_bottom = 1.0
|
anchor_bottom = 1.0
|
||||||
offset_left = -170.0
|
offset_left = -170.0
|
||||||
offset_top = -116.0
|
offset_top = -280.0
|
||||||
offset_right = 170.0
|
offset_right = 170.0
|
||||||
offset_bottom = -8.0
|
offset_bottom = -172.0
|
||||||
grow_horizontal = 2
|
grow_horizontal = 2
|
||||||
grow_vertical = 0
|
grow_vertical = 0
|
||||||
pivot_offset = Vector2(170, 55)
|
pivot_offset = Vector2(170, 55)
|
||||||
|
|
@ -186,7 +187,7 @@ unique_name_in_owner = true
|
||||||
visible = false
|
visible = false
|
||||||
text = "MASH!"
|
text = "MASH!"
|
||||||
horizontal_alignment = 1
|
horizontal_alignment = 1
|
||||||
theme_override_colors/font_color = Color(1, 0.84, 0.3, 1)
|
theme_override_colors/font_color = Color(0.208, 0.725, 0.78, 1)
|
||||||
theme_override_font_sizes/font_size = 63
|
theme_override_font_sizes/font_size = 63
|
||||||
|
|
||||||
[node name="BarrierHealth" type="Label" parent="UIRoot/CanonicalStage/GameplayTransientHUD/BarrierPromptPanel/Margin/Layout"]
|
[node name="BarrierHealth" type="Label" parent="UIRoot/CanonicalStage/GameplayTransientHUD/BarrierPromptPanel/Margin/Layout"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue