major rework on pickups, hud now shows the number and icon of pickup
This commit is contained in:
5
hud.tscn
5
hud.tscn
@@ -161,6 +161,7 @@ layout_mode = 2
|
||||
theme = ExtResource("1_22trs")
|
||||
theme_type_variation = &"TextShadow"
|
||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
||||
theme_override_constants/outline_size = 15
|
||||
text = "Gun Name"
|
||||
horizontal_alignment = 2
|
||||
|
||||
@@ -174,17 +175,19 @@ alignment = 2
|
||||
[node name="AmmoCurrent" type="Label" parent="GunInfo/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("1_22trs")
|
||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
||||
theme_override_constants/outline_size = 15
|
||||
text = "XXX"
|
||||
horizontal_alignment = 2
|
||||
|
||||
[node name="Label" type="Label" parent="GunInfo/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/outline_size = 15
|
||||
text = "-"
|
||||
|
||||
[node name="AmmoReserve" type="Label" parent="GunInfo/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("1_22trs")
|
||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
||||
theme_override_constants/outline_size = 15
|
||||
text = "YYY"
|
||||
horizontal_alignment = 2
|
||||
|
||||
Reference in New Issue
Block a user