[gd_scene load_steps=24 format=3 uid="uid://dkwi1hu1bixoe"] [ext_resource type="Script" uid="uid://baf6pxbvhqmjk" path="res://Scripts/Hud.cs" id="1_m0hb0"] [ext_resource type="FontFile" uid="uid://ccm3u37q1hvux" path="res://fonts/Xolonium-Regular.ttf" id="2_0xmx2"] [ext_resource type="PackedScene" uid="uid://cd3ee1adstcrw" path="res://Scenes/HUD/HudItemContainer.tscn" id="2_mattb"] [ext_resource type="LabelSettings" uid="uid://buk3e7bbwmnv1" path="res://Resources/Styles/Hud_Text_Style.tres" id="2_x7kl7"] [ext_resource type="Texture2D" uid="uid://dde36pgb8fbwc" path="res://Sprites/selector_big.png" id="3_hee3i"] [ext_resource type="PackedScene" uid="uid://bybd38ivpb2ly" path="res://Scenes/HUD/pause_menu.tscn" id="3_hxmxt"] [ext_resource type="PackedScene" uid="uid://cq342rj7ibnqy" path="res://Scenes/HUD/ItemNotification.tscn" id="3_mw35l"] [ext_resource type="PackedScene" uid="uid://bemu3l6b1e84y" path="res://Scenes/HUD/debug_menu.tscn" id="4_gd1k6"] [ext_resource type="PackedScene" uid="uid://bwlstkdibs7oc" path="res://Scenes/HUD/BossHud.tscn" id="5_vmict"] [ext_resource type="FontFile" uid="uid://coek1e2q257pq" path="res://fonts/at01.ttf" id="6_sk1eq"] [ext_resource type="Theme" uid="uid://dnsadvmunm76k" path="res://Resources/Styles/MainMenuButtons.tres" id="9_sx5r0"] [ext_resource type="StyleBox" uid="uid://ctw2hju32l3rg" path="res://Resources/Styles/PixelStyleBoxRed.tres" id="10_f3h51"] [ext_resource type="Script" uid="uid://bobo5f4ud60qw" path="res://Scripts/UI/ItemsMenu.cs" id="10_oflr6"] [ext_resource type="Script" uid="uid://com5b4ffsmj7s" path="res://Scripts/UI/InventoryMenu.cs" id="11_7pulb"] [sub_resource type="LabelSettings" id="LabelSettings_a7f6n"] font = ExtResource("2_0xmx2") font_size = 24 outline_size = 4 outline_color = Color(0, 0, 0, 1) [sub_resource type="LabelSettings" id="LabelSettings_5na8k"] font = ExtResource("6_sk1eq") font_color = Color(0, 0.676374, 0, 1) outline_size = 2 outline_color = Color(0, 0.145098, 0, 1) shadow_color = Color(0, 0.239216, 0, 0) [sub_resource type="AtlasTexture" id="AtlasTexture_h626b"] atlas = ExtResource("3_hee3i") region = Rect2(0, 0, 16, 16) [sub_resource type="AtlasTexture" id="AtlasTexture_mejna"] atlas = ExtResource("3_hee3i") region = Rect2(16, 0, 16, 16) [sub_resource type="SpriteFrames" id="SpriteFrames_78fwv"] animations = [{ "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_h626b") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_mejna") }], "loop": true, "name": &"default", "speed": 5.0 }] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_wu6au"] bg_color = Color(0.437742, 0.0512416, 0.0286274, 1) border_color = Color(0.197934, 0.0027957, 1.8049e-08, 1) anti_aliasing = false [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_5f4mf"] bg_color = Color(0.958101, 0.255223, 3.85046e-07, 1) anti_aliasing = false [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_crjx4"] bg_color = Color(0.120626, 7.70092e-07, 0.682086, 1) border_color = Color(0.197934, 0.0027957, 1.8049e-08, 1) anti_aliasing = false [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_rxnbp"] bg_color = Color(0.338981, 0.507716, 0.996646, 1) anti_aliasing = false [node name="HUD" type="CanvasLayer" node_paths=PackedStringArray("_healthLabel", "_healthBar", "_shieldLabel", "_shieldBar", "_itemsContainer", "_gameOverPanel", "PauseMenuContainer", "DebugMenuHolder")] process_mode = 3 script = ExtResource("1_m0hb0") WeaponContainerTemplate = ExtResource("2_mattb") ItemNotificationTemplate = ExtResource("3_mw35l") _healthLabel = NodePath("VBoxContainer/HealthBarContainer/HealthLabel") _healthBar = NodePath("VBoxContainer/HealthBarContainer/HealthBar") _shieldLabel = NodePath("VBoxContainer/ShieldBarContainer/ShieldLabel") _shieldBar = NodePath("VBoxContainer/ShieldBarContainer/ShieldBar") _itemsContainer = NodePath("VBoxContainer/ItemsContainer") _labelSettings = ExtResource("2_x7kl7") _gameOverPanel = NodePath("GameOver") PauseMenuContainer = NodePath("PauseMenuContainer") PauseMenuScene = ExtResource("3_hxmxt") DebugMenuTemplate = ExtResource("4_gd1k6") DebugMenuHolder = NodePath("DebugContainer") [node name="GameOver" type="PanelContainer" parent="."] visible = false offset_left = -3.0 offset_top = 34.0 offset_right = 323.0 offset_bottom = 88.0 [node name="VBoxContainer2" type="VBoxContainer" parent="GameOver"] layout_mode = 2 size_flags_vertical = 4 theme_override_constants/separation = -4 [node name="GameOver" type="Label" parent="GameOver/VBoxContainer2"] layout_mode = 2 text = "FAIRY: TERMINATED" label_settings = SubResource("LabelSettings_a7f6n") horizontal_alignment = 1 [node name="Label" type="Label" parent="GameOver/VBoxContainer2"] layout_mode = 2 text = "Press Shoot button to reform" label_settings = SubResource("LabelSettings_5na8k") horizontal_alignment = 1 [node name="MessageTimer" type="Timer" parent="."] wait_time = 2.0 one_shot = true [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] visible = false position = Vector2(67, 47) sprite_frames = SubResource("SpriteFrames_78fwv") frame = 1 frame_progress = 0.8514 [node name="VBoxContainer" type="VBoxContainer" parent="."] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 4.0 offset_top = 6.0 offset_right = -235.0 offset_bottom = -3.0 grow_horizontal = 2 grow_vertical = 2 size_flags_horizontal = 3 size_flags_vertical = 3 theme_override_constants/separation = 0 [node name="HealthBarContainer" type="HBoxContainer" parent="VBoxContainer"] layout_mode = 2 [node name="HealthBar" type="ProgressBar" parent="VBoxContainer/HealthBarContainer"] custom_minimum_size = Vector2(32, 8) layout_mode = 2 size_flags_vertical = 4 theme_override_styles/background = SubResource("StyleBoxFlat_wu6au") theme_override_styles/fill = SubResource("StyleBoxFlat_5f4mf") value = 50.0 show_percentage = false [node name="HealthLabel" type="Label" parent="VBoxContainer/HealthBarContainer"] layout_mode = 2 text = "100/100" label_settings = ExtResource("2_x7kl7") [node name="ShieldBarContainer" type="HBoxContainer" parent="VBoxContainer"] layout_mode = 2 [node name="ShieldBar" type="ProgressBar" parent="VBoxContainer/ShieldBarContainer"] custom_minimum_size = Vector2(32, 8) layout_mode = 2 size_flags_vertical = 4 theme_override_styles/background = SubResource("StyleBoxFlat_crjx4") theme_override_styles/fill = SubResource("StyleBoxFlat_rxnbp") value = 50.0 show_percentage = false [node name="ShieldLabel" type="Label" parent="VBoxContainer/ShieldBarContainer"] layout_mode = 2 text = "100/100" label_settings = ExtResource("2_x7kl7") [node name="ItemsContainer" type="VBoxContainer" parent="VBoxContainer"] layout_mode = 2 size_flags_vertical = 3 theme_override_constants/separation = 0 [node name="BossHud" parent="." instance=ExtResource("5_vmict")] visible = false [node name="DebugContainer" type="PanelContainer" parent="."] visible = false anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="PauseMenuContainer" type="PanelContainer" parent="."] visible = false offset_left = 106.0 offset_top = 26.0 offset_right = 226.0 offset_bottom = 144.0 [node name="InventoryMenu" type="TabContainer" parent="."] offset_left = 16.0 offset_top = 9.0 offset_right = 305.0 offset_bottom = 153.0 mouse_filter = 2 theme_override_fonts/font = ExtResource("6_sk1eq") current_tab = 4 script = ExtResource("11_7pulb") metadata/_edit_group_ = true [node name="Weapons" type="ItemList" parent="InventoryMenu"] visible = false layout_mode = 2 theme = ExtResource("9_sx5r0") theme_override_styles/panel = ExtResource("10_f3h51") allow_search = false max_columns = 3 same_column_width = true script = ExtResource("10_oflr6") ItemsFilter = Array[int]([9]) metadata/_tab_index = 0 [node name="Consumables" type="ItemList" parent="InventoryMenu"] visible = false layout_mode = 2 theme = ExtResource("9_sx5r0") theme_override_styles/panel = ExtResource("10_f3h51") allow_search = false max_columns = 3 same_column_width = true script = ExtResource("10_oflr6") ItemsFilter = Array[int]([4, 5, 8, 7, 6]) metadata/_tab_index = 1 [node name="Ammo" type="ItemList" parent="InventoryMenu"] visible = false layout_mode = 2 theme = ExtResource("9_sx5r0") theme_override_styles/panel = ExtResource("10_f3h51") allow_search = false max_columns = 3 same_column_width = true script = ExtResource("10_oflr6") ItemsFilter = Array[int]([3]) metadata/_tab_index = 2 [node name="Key" type="ItemList" parent="InventoryMenu"] visible = false layout_mode = 2 theme = ExtResource("9_sx5r0") theme_override_styles/panel = ExtResource("10_f3h51") allow_search = false max_columns = 3 same_column_width = true script = ExtResource("10_oflr6") ItemsFilter = Array[int]([0, 1, 2, 13, 10, 11, 12]) metadata/_tab_index = 3 [node name="Status" type="PanelContainer" parent="InventoryMenu"] layout_mode = 2 metadata/_tab_index = 4 [node name="Label" type="Label" parent="InventoryMenu/Status"] layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 0 text = "Status"