[gd_scene load_steps=24 format=3 uid="uid://bylx30cweulmk"] [ext_resource type="Script" path="res://UI/HUD.gd" id="1_2bu0v"] [ext_resource type="Texture2D" uid="uid://dlg78heamuf5g" path="res://Assets/UI/tilemap_white.png" id="2_dyehp"] [ext_resource type="PackedScene" uid="uid://x6kohecnw7f5" path="res://UI/SpawnButton.tscn" id="3_7eaea"] [ext_resource type="Texture2D" uid="uid://up1rtweit3ut" path="res://Assets/Mobs/angesnow-menu01.png" id="4_w7sef"] [ext_resource type="Theme" uid="uid://c7f1ftrx53ag1" path="res://theme.tres" id="5_121ry"] [ext_resource type="Texture2D" uid="uid://dq2i36oe1wj0m" path="res://Assets/Mobs/mob-pressed.png" id="5_xcxr8"] [ext_resource type="Texture2D" uid="uid://dnkr5y0cfxu68" path="res://Assets/Mobs/mob-hovered.png" id="6_4go2d"] [ext_resource type="Texture2D" uid="uid://dsy7k2v5fhh6v" path="res://Assets/Mobs/angesnow-front.png" id="7_ba5tw"] [ext_resource type="Texture2D" uid="uid://dsui46tcf0pys" path="res://Assets/Mobs/banling-menu01.png" id="8_wmbg8"] [ext_resource type="Texture2D" uid="uid://d3modiw2b30kh" path="res://Assets/Mobs/banling-front.png" id="9_nmd8t"] [ext_resource type="Texture2D" uid="uid://75o7x0jadi08" path="res://Assets/Mobs/firomenis-menu01.png" id="10_daowa"] [ext_resource type="Texture2D" uid="uid://bxr5ckrvhyp1t" path="res://Assets/Mobs/firomenis-front.png" id="11_yxcwt"] [ext_resource type="Texture2D" uid="uid://byrx3c087exvb" path="res://Assets/Mobs/windeye-menu01.png" id="12_20egp"] [ext_resource type="Texture2D" uid="uid://coiiq1yaonxeg" path="res://Assets/Mobs/windeye-front.png" id="13_iq5a7"] [ext_resource type="Texture2D" uid="uid://dr02nqmrnciy0" path="res://Assets/Mobs/mob.png" id="14_t3qlu"] [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"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_3rjde"] bg_color = Color(0, 0, 0, 0.54902) [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_bottom = 29.0 grow_horizontal = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_3rjde") [node name="VBoxContainer" type="VBoxContainer" parent="Panel"] layout_mode = 2 [node name="Container" type="HBoxContainer" parent="Panel/VBoxContainer"] layout_mode = 2 [node name="GridContainer" type="GridContainer" parent="Panel/VBoxContainer/Container"] layout_mode = 2 columns = 3 [node name="MarginContainer" type="MarginContainer" parent="Panel/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/VBoxContainer/Container/GridContainer/MarginContainer"] layout_mode = 2 [node name="BuildModeButton" type="TextureRect" parent="Panel/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/VBoxContainer/Container/GridContainer/MarginContainer/HBoxContainer"] layout_mode = 2 text = "Build Mode" [node name="MarginContainer2" type="MarginContainer" parent="Panel/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/VBoxContainer/Container/GridContainer/MarginContainer2"] layout_mode = 2 [node name="SpawnerBoxButton" type="TextureRect" parent="Panel/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/VBoxContainer/Container/GridContainer/MarginContainer2/HBoxContainer2"] layout_mode = 2 text = "Spawn Box" [node name="MarginContainer3" type="MarginContainer" parent="Panel/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/VBoxContainer/Container/GridContainer/MarginContainer3"] layout_mode = 2 [node name="PlayerListButton" type="TextureRect" parent="Panel/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/VBoxContainer/Container/GridContainer/MarginContainer3/HBoxContainer2"] layout_mode = 2 text = "Players List" [node name="Control" type="Control" parent="Panel/VBoxContainer/Container"] layout_mode = 2 size_flags_horizontal = 3 [node name="MarginContainer" type="MarginContainer" parent="Panel/VBoxContainer/Container"] layout_mode = 2 theme_override_constants/margin_right = 8 [node name="Score" type="Label" parent="Panel/VBoxContainer/Container/MarginContainer"] unique_name_in_owner = true layout_mode = 2 text = "0" [node name="ColorRect" type="ColorRect" parent="Panel/VBoxContainer"] custom_minimum_size = Vector2(0, 1) layout_mode = 2 [node name="SpawnBox" type="PanelContainer" parent="."] unique_name_in_owner = true anchors_preset = 3 anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -148.0 offset_top = -116.0 offset_right = -4.0 offset_bottom = -4.0 grow_horizontal = 0 grow_vertical = 0 [node name="MarginContainer" type="MarginContainer" parent="SpawnBox"] layout_mode = 2 theme_override_constants/margin_left = 8 theme_override_constants/margin_top = 8 theme_override_constants/margin_right = 8 theme_override_constants/margin_bottom = 8 [node name="GridContainer" type="GridContainer" parent="SpawnBox/MarginContainer"] layout_mode = 2 theme_override_constants/h_separation = 0 theme_override_constants/v_separation = 0 columns = 4 [node name="SpawnButton" parent="SpawnBox/MarginContainer/GridContainer" instance=ExtResource("3_7eaea")] layout_mode = 2 theme = ExtResource("5_121ry") texture_normal = ExtResource("4_w7sef") texture_pressed = ExtResource("5_xcxr8") texture_hover = ExtResource("6_4go2d") texture = ExtResource("7_ba5tw") [node name="SpawnButton2" parent="SpawnBox/MarginContainer/GridContainer" instance=ExtResource("3_7eaea")] layout_mode = 2 shortcut = SubResource("Shortcut_i6rmj") texture_normal = ExtResource("8_wmbg8") texture_hover = ExtResource("6_4go2d") texture = ExtResource("9_nmd8t") [node name="SpawnButton3" parent="SpawnBox/MarginContainer/GridContainer" instance=ExtResource("3_7eaea")] layout_mode = 2 texture_normal = ExtResource("10_daowa") texture_pressed = ExtResource("5_xcxr8") texture_hover = ExtResource("6_4go2d") texture = ExtResource("11_yxcwt") [node name="SpawnButton4" parent="SpawnBox/MarginContainer/GridContainer" instance=ExtResource("3_7eaea")] layout_mode = 2 texture_normal = ExtResource("12_20egp") texture_pressed = ExtResource("5_xcxr8") texture_hover = ExtResource("6_4go2d") texture = ExtResource("13_iq5a7") [node name="SpawnButton5" parent="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="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="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="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="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="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="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="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="PlayersList" parent="." instance=ExtResource("16_mq4um")] unique_name_in_owner = true anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -204.0 offset_top = 41.0 offset_right = -4.0 offset_bottom = 84.0 grow_horizontal = 0 [node name="CenterContainer" type="CenterContainer" parent="."] anchors_preset = 12 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_top = -23.0 grow_horizontal = 2 grow_vertical = 0 [node name="Tower" type="Label" parent="CenterContainer"] unique_name_in_owner = true layout_mode = 2 [node name="TowerConfigurationsContainer" type="MarginContainer" parent="."] visible = false anchors_preset = 12 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_top = -120.0 offset_right = -152.0 grow_horizontal = 2 grow_vertical = 0 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="PanelContainer" type="PanelContainer" parent="TowerConfigurationsContainer"] layout_mode = 2 [node name="MarginContainer" type="MarginContainer" parent="TowerConfigurationsContainer/PanelContainer"] layout_mode = 2 theme_override_constants/margin_left = 8 theme_override_constants/margin_top = 8 theme_override_constants/margin_right = 8 theme_override_constants/margin_bottom = 8 [node name="ScrollContainer" type="ScrollContainer" parent="TowerConfigurationsContainer/PanelContainer/MarginContainer"] layout_mode = 2 vertical_scroll_mode = 0 [node name="TowerConfigurations" type="HBoxContainer" parent="TowerConfigurationsContainer/PanelContainer/MarginContainer/ScrollContainer"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 [node name="TextureRect" parent="TowerConfigurationsContainer/PanelContainer/MarginContainer/ScrollContainer/TowerConfigurations" instance=ExtResource("17_1c5dq")] layout_mode = 2 [connection signal="gui_input" from="Panel/VBoxContainer/Container/GridContainer/MarginContainer/HBoxContainer/BuildModeButton" to="." method="_on_build_mode_button_gui_input"] [connection signal="gui_input" from="Panel/VBoxContainer/Container/GridContainer/MarginContainer2/HBoxContainer2/SpawnerBoxButton" to="." method="_on_spawner_box_button_gui_input"] [connection signal="gui_input" from="Panel/VBoxContainer/Container/GridContainer/MarginContainer3/HBoxContainer2/PlayerListButton" to="." method="_on_player_list_button_gui_input"]