[gd_scene load_steps=38 format=3 uid="uid://bylx30cweulmk"] [ext_resource type="Script" path="res://Stages/Wintermaul/HUD.gd" id="1_2bu0v"] [ext_resource type="Texture2D" uid="uid://dlg78heamuf5g" path="res://UI/Assets/Icons/tilemap_white.png" id="2_dyehp"] [ext_resource type="PackedScene" uid="uid://x6kohecnw7f5" path="res://UI/SpawnButton.tscn" id="3_7eaea"] [ext_resource type="PackedScene" uid="uid://dslebs7aarkoa" path="res://UI/panel_background_blue.tscn" id="4_x1gx8"] [ext_resource type="Theme" uid="uid://c7f1ftrx53ag1" path="res://theme.tres" id="5_121ry"] [ext_resource type="PackedScene" uid="uid://ei0ai7om3mkw" path="res://Stages/Wintermaul/hud_tower.tscn" id="5_hbytm"] [ext_resource type="Texture2D" uid="uid://dq2i36oe1wj0m" path="res://Units/Assets/mob-pressed.png" id="5_xcxr8"] [ext_resource type="Texture2D" uid="uid://dnkr5y0cfxu68" path="res://Units/Assets/mob-hovered.png" id="6_4go2d"] [ext_resource type="Texture2D" uid="uid://bxq68idyeo6gm" path="res://UI/Assets/Button_Green_9Slides_2.png" id="6_ru5yo"] [ext_resource type="Texture2D" uid="uid://dsy7k2v5fhh6v" path="res://Units/Assets/angesnow-front.png" id="7_ba5tw"] [ext_resource type="Texture2D" uid="uid://d3modiw2b30kh" path="res://Units/Assets/banling-front.png" id="9_nmd8t"] [ext_resource type="Texture2D" uid="uid://dxj34mvmeao53" path="res://Units/Assets/Pekora/menu.png" id="10_ad8mc"] [ext_resource type="Texture2D" uid="uid://cfqgrcn3ivern" path="res://Units/Assets/Pekora/menu_pressed.png" id="11_muxro"] [ext_resource type="Texture2D" uid="uid://bxr5ckrvhyp1t" path="res://Units/Assets/firomenis-front.png" id="11_yxcwt"] [ext_resource type="Texture2D" uid="uid://4bccmd5q1alb" path="res://Units/Assets/Pekora/menu_hover.png" id="12_540qu"] [ext_resource type="Texture2D" uid="uid://coiiq1yaonxeg" path="res://Units/Assets/windeye-front.png" id="13_iq5a7"] [ext_resource type="SpriteFrames" uid="uid://c6o6hpltnsds0" path="res://Units/Assets/Pekora/sprite_frames.tres" id="14_0x0h2"] [ext_resource type="Texture2D" uid="uid://dr02nqmrnciy0" path="res://Units/Assets/mob.png" id="14_t3qlu"] [ext_resource type="Texture2D" uid="uid://uy7jqeqnemvv" path="res://Units/Assets/NinomaeInanis/menu.png" id="15_7yrxb"] [ext_resource type="Texture2D" uid="uid://drpox2degox52" path="res://Units/Assets/NinomaeInanis/menu_pressed.png" id="16_77ajg"] [ext_resource type="PackedScene" uid="uid://cxd6c4kbnk04c" path="res://UI/PlayersList.tscn" id="16_mq4um"] [ext_resource type="PackedScene" uid="uid://c05aq7xd4kx1p" path="res://UI/TowerConfiguration.tscn" id="17_1c5dq"] [ext_resource type="SpriteFrames" uid="uid://5kv5733tpf16" path="res://Units/Assets/NinomaeInanis/sprite_frames.tres" id="17_hp6oc"] [ext_resource type="Texture2D" uid="uid://cai6it8es6djw" path="res://Units/Assets/NinomaeInanis/menu_hover.png" id="17_k5kqo"] [ext_resource type="SpriteFrames" uid="uid://c8ml3xlpt0mqg" path="res://Units/Assets/LaPlusDarkness/sprite_frames.tres" id="20_xc6s7"] [ext_resource type="Texture2D" uid="uid://hsm230qk8hu" path="res://Units/Assets/LaPlusDarkness/menu.png" id="20_xigo6"] [ext_resource type="Texture2D" uid="uid://jmtstn5t6a6j" path="res://Units/Assets/LaPlusDarkness/menu_pressed.png" id="21_4fyiv"] [ext_resource type="Texture2D" uid="uid://nge6xe2exfcp" path="res://Units/Assets/LaPlusDarkness/menu_hover.png" id="22_471yj"] [ext_resource type="Texture2D" uid="uid://chbq7reyacgga" path="res://Units/Assets/Penguin/menu.png" id="25_vpb52"] [ext_resource type="Texture2D" uid="uid://dnkrgble5f8g0" path="res://Units/Assets/Penguin/menu_pressed.png" id="26_tgyag"] [ext_resource type="Texture2D" uid="uid://d1jxmbpc8f6pi" path="res://Units/Assets/Penguin/menu_hover.png" id="27_5tp6y"] [ext_resource type="SpriteFrames" uid="uid://d4a8tje703fp3" path="res://Units/Assets/Penguin/sprite_frames.tres" id="29_p4pru"] [sub_resource type="AtlasTexture" id="AtlasTexture_byi0r"] atlas = ExtResource("2_dyehp") region = Rect2(392, 69, 13, 13) [sub_resource type="AtlasTexture" id="AtlasTexture_dixt2"] atlas = ExtResource("2_dyehp") region = Rect2(341, 35, 13, 13) [sub_resource type="AtlasTexture" id="AtlasTexture_tuk1j"] atlas = ExtResource("2_dyehp") region = Rect2(443, 35, 13, 13) [sub_resource type="InputEventAction" id="InputEventAction_t6x4q"] action = &"spawn_unit" [sub_resource type="Shortcut" id="Shortcut_i6rmj"] events = [SubResource("InputEventAction_t6x4q")] [node name="HUD" type="CanvasLayer"] script = ExtResource("1_2bu0v") [node name="Panel" type="PanelContainer" parent="."] anchors_preset = 10 anchor_right = 1.0 offset_left = 4.0 offset_top = 4.0 offset_right = -4.0 offset_bottom = 68.0 grow_horizontal = 2 theme = ExtResource("5_121ry") [node name="PanelBackgroundBlue" parent="Panel" instance=ExtResource("4_x1gx8")] layout_mode = 2 [node name="MarginContainer" type="MarginContainer" parent="Panel"] layout_mode = 2 theme_override_constants/margin_left = 16 theme_override_constants/margin_top = 12 theme_override_constants/margin_right = 12 theme_override_constants/margin_bottom = 8 [node name="VBoxContainer" type="VBoxContainer" parent="Panel/MarginContainer"] layout_mode = 2 [node name="Container" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer"] layout_mode = 2 [node name="GridContainer" type="GridContainer" parent="Panel/MarginContainer/VBoxContainer/Container"] layout_mode = 2 columns = 3 [node name="MarginContainer" type="MarginContainer" parent="Panel/MarginContainer/VBoxContainer/Container/GridContainer"] layout_mode = 2 theme_override_constants/margin_left = 4 theme_override_constants/margin_top = 4 theme_override_constants/margin_right = 4 theme_override_constants/margin_bottom = 4 [node name="HBoxContainer" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer/Container/GridContainer/MarginContainer"] layout_mode = 2 [node name="BuildModeButton" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/Container/GridContainer/MarginContainer/HBoxContainer"] texture_filter = 1 custom_minimum_size = Vector2(24, 24) layout_mode = 2 texture = SubResource("AtlasTexture_byi0r") expand_mode = 1 [node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/Container/GridContainer/MarginContainer/HBoxContainer"] layout_mode = 2 text = "Build Mode" [node name="MarginContainer2" type="MarginContainer" parent="Panel/MarginContainer/VBoxContainer/Container/GridContainer"] layout_mode = 2 theme_override_constants/margin_left = 4 theme_override_constants/margin_top = 4 theme_override_constants/margin_right = 4 theme_override_constants/margin_bottom = 4 [node name="HBoxContainer2" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer/Container/GridContainer/MarginContainer2"] layout_mode = 2 [node name="SpawnerBoxButton" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/Container/GridContainer/MarginContainer2/HBoxContainer2"] texture_filter = 1 custom_minimum_size = Vector2(24, 24) layout_mode = 2 texture = SubResource("AtlasTexture_dixt2") expand_mode = 1 [node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/Container/GridContainer/MarginContainer2/HBoxContainer2"] layout_mode = 2 text = "Spawn Box" [node name="MarginContainer3" type="MarginContainer" parent="Panel/MarginContainer/VBoxContainer/Container/GridContainer"] layout_mode = 2 theme_override_constants/margin_left = 4 theme_override_constants/margin_top = 4 theme_override_constants/margin_right = 4 theme_override_constants/margin_bottom = 4 [node name="HBoxContainer2" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer/Container/GridContainer/MarginContainer3"] layout_mode = 2 [node name="PlayerListButton" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/Container/GridContainer/MarginContainer3/HBoxContainer2"] texture_filter = 1 custom_minimum_size = Vector2(24, 24) layout_mode = 2 texture = SubResource("AtlasTexture_tuk1j") expand_mode = 1 [node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/Container/GridContainer/MarginContainer3/HBoxContainer2"] layout_mode = 2 text = "Players List" [node name="Control" type="Control" parent="Panel/MarginContainer/VBoxContainer/Container"] layout_mode = 2 size_flags_horizontal = 3 [node name="MarginContainer" type="MarginContainer" parent="Panel/MarginContainer/VBoxContainer/Container"] layout_mode = 2 theme_override_constants/margin_right = 8 [node name="HBoxContainer" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer/Container/MarginContainer"] layout_mode = 2 [node name="Time" type="Label" parent="Panel/MarginContainer/VBoxContainer/Container/MarginContainer/HBoxContainer"] unique_name_in_owner = true layout_mode = 2 text = "0" [node name="Money" type="Label" parent="Panel/MarginContainer/VBoxContainer/Container/MarginContainer/HBoxContainer"] unique_name_in_owner = true layout_mode = 2 text = "0" [node name="Income" type="Label" parent="Panel/MarginContainer/VBoxContainer/Container/MarginContainer/HBoxContainer"] unique_name_in_owner = true layout_mode = 2 text = "0" [node name="VBoxContainer" type="VBoxContainer" parent="."] anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -288.0 offset_top = 71.0 offset_right = -4.0 offset_bottom = 203.0 grow_horizontal = 0 mouse_filter = 0 theme = ExtResource("5_121ry") [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"] layout_mode = 2 mouse_filter = 0 [node name="LivesTop" type="Label" parent="VBoxContainer/HBoxContainer"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 0 text = "Lives" [node name="TeamTop" parent="VBoxContainer/HBoxContainer" instance=ExtResource("16_mq4um")] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 [node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer"] layout_mode = 2 mouse_filter = 0 [node name="LivesBottom" type="Label" parent="VBoxContainer/HBoxContainer2"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 0 text = "Lives" [node name="TeamBottom" parent="VBoxContainer/HBoxContainer2" instance=ExtResource("16_mq4um")] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 [node name="MarginContainer" type="MarginContainer" parent="."] anchors_preset = 12 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_top = -120.0 grow_horizontal = 2 grow_vertical = 0 theme = ExtResource("5_121ry") theme_override_constants/margin_left = 4 theme_override_constants/margin_top = 4 theme_override_constants/margin_right = 4 theme_override_constants/margin_bottom = 4 [node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"] layout_mode = 2 [node name="TowerConfigurationsContainer" type="PanelContainer" parent="MarginContainer/HBoxContainer"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 size_flags_stretch_ratio = 100.0 mouse_filter = 1 [node name="PanelBackgroundBlue" parent="MarginContainer/HBoxContainer/TowerConfigurationsContainer" instance=ExtResource("4_x1gx8")] layout_mode = 2 texture = ExtResource("6_ru5yo") [node name="MarginContainer" type="MarginContainer" parent="MarginContainer/HBoxContainer/TowerConfigurationsContainer"] layout_mode = 2 theme_override_constants/margin_left = 16 theme_override_constants/margin_top = 16 theme_override_constants/margin_right = 16 theme_override_constants/margin_bottom = 24 [node name="ScrollContainer" type="ScrollContainer" parent="MarginContainer/HBoxContainer/TowerConfigurationsContainer/MarginContainer"] layout_mode = 2 vertical_scroll_mode = 0 [node name="TowerConfigurations" type="HBoxContainer" parent="MarginContainer/HBoxContainer/TowerConfigurationsContainer/MarginContainer/ScrollContainer"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 [node name="TextureRect" parent="MarginContainer/HBoxContainer/TowerConfigurationsContainer/MarginContainer/ScrollContainer/TowerConfigurations" instance=ExtResource("17_1c5dq")] layout_mode = 2 [node name="MultiSelectionContainer" type="PanelContainer" parent="MarginContainer/HBoxContainer"] unique_name_in_owner = true custom_minimum_size = Vector2(200, 0) layout_mode = 2 size_flags_horizontal = 3 size_flags_stretch_ratio = 100.0 [node name="PanelBackgroundBlue" parent="MarginContainer/HBoxContainer/MultiSelectionContainer" instance=ExtResource("4_x1gx8")] layout_mode = 2 [node name="MarginContainer" type="MarginContainer" parent="MarginContainer/HBoxContainer/MultiSelectionContainer"] layout_mode = 2 theme_override_constants/margin_left = 16 theme_override_constants/margin_top = 8 theme_override_constants/margin_right = 16 theme_override_constants/margin_bottom = 4 [node name="MultiSelectionList" type="HFlowContainer" parent="MarginContainer/HBoxContainer/MultiSelectionContainer/MarginContainer"] unique_name_in_owner = true layout_mode = 2 last_wrap_alignment = 1 [node name="SelectionContainer" type="PanelContainer" parent="MarginContainer/HBoxContainer"] unique_name_in_owner = true custom_minimum_size = Vector2(200, 0) layout_mode = 2 size_flags_horizontal = 10 size_flags_stretch_ratio = 2.0 [node name="PanelBackgroundBlue" parent="MarginContainer/HBoxContainer/SelectionContainer" instance=ExtResource("4_x1gx8")] layout_mode = 2 [node name="SelectionData" type="MarginContainer" parent="MarginContainer/HBoxContainer/SelectionContainer"] unique_name_in_owner = true layout_mode = 2 theme_override_constants/margin_left = 16 theme_override_constants/margin_top = 16 theme_override_constants/margin_right = 16 theme_override_constants/margin_bottom = 24 [node name="TowerData" parent="MarginContainer/HBoxContainer/SelectionContainer/SelectionData" instance=ExtResource("5_hbytm")] unique_name_in_owner = true layout_mode = 2 [node name="SpawnBox" type="PanelContainer" parent="MarginContainer/HBoxContainer"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 10 size_flags_vertical = 8 size_flags_stretch_ratio = 0.0 theme = ExtResource("5_121ry") [node name="PanelBackgroundBlue" parent="MarginContainer/HBoxContainer/SpawnBox" instance=ExtResource("4_x1gx8")] layout_mode = 2 [node name="MarginContainer" type="MarginContainer" parent="MarginContainer/HBoxContainer/SpawnBox"] layout_mode = 2 theme_override_constants/margin_left = 16 theme_override_constants/margin_top = 16 theme_override_constants/margin_right = 16 theme_override_constants/margin_bottom = 16 [node name="GridContainer" type="GridContainer" parent="MarginContainer/HBoxContainer/SpawnBox/MarginContainer"] layout_mode = 2 theme_override_constants/h_separation = 0 theme_override_constants/v_separation = 0 columns = 4 [node name="SpawnButton" parent="MarginContainer/HBoxContainer/SpawnBox/MarginContainer/GridContainer" instance=ExtResource("3_7eaea")] layout_mode = 2 theme = ExtResource("5_121ry") texture_normal = ExtResource("10_ad8mc") texture_pressed = ExtResource("11_muxro") texture_hover = ExtResource("12_540qu") texture = ExtResource("7_ba5tw") sprite_sheet = ExtResource("14_0x0h2") [node name="SpawnButton2" parent="MarginContainer/HBoxContainer/SpawnBox/MarginContainer/GridContainer" instance=ExtResource("3_7eaea")] layout_mode = 2 shortcut = SubResource("Shortcut_i6rmj") texture_normal = ExtResource("15_7yrxb") texture_pressed = ExtResource("16_77ajg") texture_hover = ExtResource("17_k5kqo") texture = ExtResource("9_nmd8t") sprite_sheet = ExtResource("17_hp6oc") [node name="SpawnButton3" parent="MarginContainer/HBoxContainer/SpawnBox/MarginContainer/GridContainer" instance=ExtResource("3_7eaea")] layout_mode = 2 texture_normal = ExtResource("20_xigo6") texture_pressed = ExtResource("21_4fyiv") texture_hover = ExtResource("22_471yj") texture = ExtResource("11_yxcwt") sprite_sheet = ExtResource("20_xc6s7") [node name="SpawnButton4" parent="MarginContainer/HBoxContainer/SpawnBox/MarginContainer/GridContainer" instance=ExtResource("3_7eaea")] layout_mode = 2 texture_normal = ExtResource("25_vpb52") texture_pressed = ExtResource("26_tgyag") texture_hover = ExtResource("27_5tp6y") texture = ExtResource("13_iq5a7") sprite_sheet = ExtResource("29_p4pru") [node name="SpawnButton5" parent="MarginContainer/HBoxContainer/SpawnBox/MarginContainer/GridContainer" instance=ExtResource("3_7eaea")] layout_mode = 2 texture_normal = ExtResource("14_t3qlu") texture_pressed = ExtResource("5_xcxr8") texture_hover = ExtResource("6_4go2d") [node name="SpawnButton6" parent="MarginContainer/HBoxContainer/SpawnBox/MarginContainer/GridContainer" instance=ExtResource("3_7eaea")] layout_mode = 2 texture_normal = ExtResource("14_t3qlu") texture_pressed = ExtResource("5_xcxr8") texture_hover = ExtResource("6_4go2d") [node name="SpawnButton7" parent="MarginContainer/HBoxContainer/SpawnBox/MarginContainer/GridContainer" instance=ExtResource("3_7eaea")] layout_mode = 2 texture_normal = ExtResource("14_t3qlu") texture_pressed = ExtResource("5_xcxr8") texture_hover = ExtResource("6_4go2d") [node name="SpawnButton8" parent="MarginContainer/HBoxContainer/SpawnBox/MarginContainer/GridContainer" instance=ExtResource("3_7eaea")] layout_mode = 2 texture_normal = ExtResource("14_t3qlu") texture_pressed = ExtResource("5_xcxr8") texture_hover = ExtResource("6_4go2d") [node name="SpawnButton9" parent="MarginContainer/HBoxContainer/SpawnBox/MarginContainer/GridContainer" instance=ExtResource("3_7eaea")] layout_mode = 2 texture_normal = ExtResource("14_t3qlu") texture_pressed = ExtResource("5_xcxr8") texture_hover = ExtResource("6_4go2d") [node name="SpawnButton10" parent="MarginContainer/HBoxContainer/SpawnBox/MarginContainer/GridContainer" instance=ExtResource("3_7eaea")] layout_mode = 2 texture_normal = ExtResource("14_t3qlu") texture_pressed = ExtResource("5_xcxr8") texture_hover = ExtResource("6_4go2d") [node name="SpawnButton11" parent="MarginContainer/HBoxContainer/SpawnBox/MarginContainer/GridContainer" instance=ExtResource("3_7eaea")] layout_mode = 2 texture_normal = ExtResource("14_t3qlu") texture_pressed = ExtResource("5_xcxr8") texture_hover = ExtResource("6_4go2d") [node name="SpawnButton12" parent="MarginContainer/HBoxContainer/SpawnBox/MarginContainer/GridContainer" instance=ExtResource("3_7eaea")] layout_mode = 2 texture_normal = ExtResource("14_t3qlu") texture_pressed = ExtResource("5_xcxr8") texture_hover = ExtResource("6_4go2d") [node name="SpawnButton13" parent="MarginContainer/HBoxContainer/SpawnBox/MarginContainer/GridContainer" instance=ExtResource("3_7eaea")] layout_mode = 2 texture_normal = ExtResource("14_t3qlu") texture_pressed = ExtResource("5_xcxr8") texture_hover = ExtResource("6_4go2d") [node name="SpawnButton14" parent="MarginContainer/HBoxContainer/SpawnBox/MarginContainer/GridContainer" instance=ExtResource("3_7eaea")] layout_mode = 2 texture_normal = ExtResource("14_t3qlu") texture_pressed = ExtResource("5_xcxr8") texture_hover = ExtResource("6_4go2d") [node name="SpawnButton15" parent="MarginContainer/HBoxContainer/SpawnBox/MarginContainer/GridContainer" instance=ExtResource("3_7eaea")] layout_mode = 2 texture_normal = ExtResource("14_t3qlu") texture_pressed = ExtResource("5_xcxr8") texture_hover = ExtResource("6_4go2d") [node name="SpawnButton16" parent="MarginContainer/HBoxContainer/SpawnBox/MarginContainer/GridContainer" instance=ExtResource("3_7eaea")] layout_mode = 2 texture_normal = ExtResource("14_t3qlu") texture_pressed = ExtResource("5_xcxr8") texture_hover = ExtResource("6_4go2d") [connection signal="gui_input" from="Panel/MarginContainer/VBoxContainer/Container/GridContainer/MarginContainer/HBoxContainer/BuildModeButton" to="." method="_on_build_mode_button_gui_input"] [connection signal="gui_input" from="Panel/MarginContainer/VBoxContainer/Container/GridContainer/MarginContainer2/HBoxContainer2/SpawnerBoxButton" to="." method="_on_spawner_box_button_gui_input"] [connection signal="gui_input" from="Panel/MarginContainer/VBoxContainer/Container/GridContainer/MarginContainer3/HBoxContainer2/PlayerListButton" to="." method="_on_player_list_button_gui_input"]