diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-11-26 17:13:40 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-11-26 17:13:40 +0100 |
commit | cb9bb9d1c757b53707c741a3c8c218b513ffb5ec (patch) | |
tree | 1e3741a70672504d71685db98b22f7fe61e0e6cb /Stages/Wintermaul/HUD.tscn | |
parent | 72863ffa31e27f4c6be862d80472cfb897fccaea (diff) |
next commit
Diffstat (limited to 'Stages/Wintermaul/HUD.tscn')
-rw-r--r-- | Stages/Wintermaul/HUD.tscn | 52 |
1 files changed, 19 insertions, 33 deletions
diff --git a/Stages/Wintermaul/HUD.tscn b/Stages/Wintermaul/HUD.tscn index 1a2fd11..49fffc3 100644 --- a/Stages/Wintermaul/HUD.tscn +++ b/Stages/Wintermaul/HUD.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=39 format=3 uid="uid://bylx30cweulmk"] +[gd_scene load_steps=32 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"] @@ -9,30 +9,25 @@ [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="Resource" uid="uid://reijb7spqqwc" path="res://Stages/Wintermaul/Units/pekora.tres" id="15_81ek8"] [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="Resource" uid="uid://ddnoiuye0b4dr" path="res://Stages/Wintermaul/Units/ina.tres" id="17_r6lyq"] [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="Resource" uid="uid://dk7ppg1eterp0" path="res://Stages/Wintermaul/Units/laplus.tres" id="21_7e1wd"] [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="Resource" uid="uid://criwiyamvskqy" path="res://Stages/Wintermaul/Units/tux.tres" id="25_xipe8"] [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") @@ -46,12 +41,6 @@ region = Rect2(341, 35, 13, 13) 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") @@ -347,115 +336,112 @@ 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") -speed = 50 unit_resource = ExtResource("15_81ek8") [node name="SpawnButton2" parent="MarginContainer/VBoxContainer/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") -cost = 10 -hp = 10 -speed = 50 +unit_resource = ExtResource("17_r6lyq") [node name="SpawnButton3" parent="MarginContainer/VBoxContainer/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") -cost = 15 -hp = 10 +unit_resource = ExtResource("21_7e1wd") [node name="SpawnButton4" parent="MarginContainer/VBoxContainer/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") -cost = 20 -hp = 15 -speed = 150 +unit_resource = ExtResource("25_xipe8") [node name="SpawnButton5" parent="MarginContainer/VBoxContainer/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") +unit_resource = ExtResource("25_xipe8") [node name="SpawnButton6" parent="MarginContainer/VBoxContainer/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") +unit_resource = ExtResource("25_xipe8") [node name="SpawnButton7" parent="MarginContainer/VBoxContainer/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") +unit_resource = ExtResource("25_xipe8") [node name="SpawnButton8" parent="MarginContainer/VBoxContainer/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") +unit_resource = ExtResource("25_xipe8") [node name="SpawnButton9" parent="MarginContainer/VBoxContainer/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") +unit_resource = ExtResource("25_xipe8") [node name="SpawnButton10" parent="MarginContainer/VBoxContainer/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") +unit_resource = ExtResource("25_xipe8") [node name="SpawnButton11" parent="MarginContainer/VBoxContainer/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") +unit_resource = ExtResource("25_xipe8") [node name="SpawnButton12" parent="MarginContainer/VBoxContainer/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") +unit_resource = ExtResource("25_xipe8") [node name="SpawnButton13" parent="MarginContainer/VBoxContainer/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") +unit_resource = ExtResource("25_xipe8") [node name="SpawnButton14" parent="MarginContainer/VBoxContainer/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") +unit_resource = ExtResource("25_xipe8") [node name="SpawnButton15" parent="MarginContainer/VBoxContainer/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") +unit_resource = ExtResource("25_xipe8") [node name="SpawnButton16" parent="MarginContainer/VBoxContainer/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") +unit_resource = ExtResource("25_xipe8") [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"] |