summaryrefslogtreecommitdiff
path: root/Stages/Wintermaul/hud_tower.tscn
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-11-19 15:24:50 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-11-19 15:24:50 +0100
commit72863ffa31e27f4c6be862d80472cfb897fccaea (patch)
treece04be8d77b10c797c8ff854c8ff1a219eb1af46 /Stages/Wintermaul/hud_tower.tscn
parent63d2a59042fb9d90a586ad85d8364de7c38aea8e (diff)
next commitHEADmain
Diffstat (limited to 'Stages/Wintermaul/hud_tower.tscn')
-rw-r--r--Stages/Wintermaul/hud_tower.tscn30
1 files changed, 29 insertions, 1 deletions
diff --git a/Stages/Wintermaul/hud_tower.tscn b/Stages/Wintermaul/hud_tower.tscn
index e8c6487..b31f6a8 100644
--- a/Stages/Wintermaul/hud_tower.tscn
+++ b/Stages/Wintermaul/hud_tower.tscn
@@ -1,10 +1,11 @@
-[gd_scene load_steps=6 format=3 uid="uid://ei0ai7om3mkw"]
+[gd_scene load_steps=7 format=3 uid="uid://ei0ai7om3mkw"]
[ext_resource type="Texture2D" uid="uid://ba3dmlce1wv2p" path="res://Towers/Components/Assets/frost-component.png" id="1_1rlop"]
[ext_resource type="Script" path="res://Stages/Wintermaul/hud_tower.gd" id="1_aog4m"]
[ext_resource type="Texture2D" uid="uid://dx07y4scyi5a1" path="res://Towers/Components/Assets/range-component.png" id="2_epopi"]
[ext_resource type="Texture2D" uid="uid://2djpswd6sgng" path="res://Towers/Components/Assets/burn-component.png" id="2_gcd2r"]
[ext_resource type="Texture2D" uid="uid://gbknvb38euuq" path="res://Towers/Components/Assets/attack-component.png" id="3_xygpi"]
+[ext_resource type="Texture2D" uid="uid://rkeldjv41ww8" path="res://Towers/Components/Assets/poison-component.png" id="6_0uft1"]
[node name="HUDTower" type="VBoxContainer"]
offset_left = 64.0
@@ -135,6 +136,29 @@ layout_mode = 2
mouse_default_cursor_shape = 2
text = "+Level"
+[node name="Poison" type="HBoxContainer" parent="Components"]
+layout_mode = 2
+mouse_default_cursor_shape = 2
+
+[node name="TextureRect" type="TextureRect" parent="Components/Poison"]
+custom_minimum_size = Vector2(32, 0)
+layout_mode = 2
+texture = ExtResource("6_0uft1")
+stretch_mode = 5
+
+[node name="Label" type="Label" parent="Components/Poison"]
+layout_mode = 2
+text = "Poison"
+
+[node name="Level" type="Label" parent="Components/Poison"]
+layout_mode = 2
+text = ": 1"
+
+[node name="PoisonLevelUp" type="Button" parent="Components/Poison"]
+layout_mode = 2
+mouse_default_cursor_shape = 2
+text = "+Level"
+
[connection signal="mouse_entered" from="HBoxContainer/RangePlus" to="." method="_on_range_plus_mouse_entered"]
[connection signal="pressed" from="HBoxContainer/RangePlus" to="." method="_on_range_plus_pressed"]
[connection signal="mouse_entered" from="HBoxContainer/PowerPlus" to="." method="_on_power_plus_mouse_entered"]
@@ -157,3 +181,7 @@ text = "+Level"
[connection signal="mouse_entered" from="Components/Burn" to="." method="_on_burn_mouse_entered"]
[connection signal="mouse_entered" from="Components/Burn/BurnLevelUp" to="." method="_on_burn_level_up_mouse_entered"]
[connection signal="pressed" from="Components/Burn/BurnLevelUp" to="." method="_on_burn_level_up_pressed"]
+[connection signal="gui_input" from="Components/Poison" to="." method="_on_poison_gui_input"]
+[connection signal="mouse_entered" from="Components/Poison" to="." method="_on_poison_mouse_entered"]
+[connection signal="mouse_entered" from="Components/Poison/PoisonLevelUp" to="." method="_on_poison_level_up_mouse_entered"]
+[connection signal="pressed" from="Components/Poison/PoisonLevelUp" to="." method="_on_poison_level_up_pressed"]