[gd_scene format=3 uid="uid://dkwi1hu1bixoe"] [ext_resource type="Script" uid="uid://baf6pxbvhqmjk" path="res://Scripts/Hud.cs" id="1_m0hb0"] [ext_resource type="PackedScene" uid="uid://dsaj5dx82brsg" path="res://Scenes/HUD/UiSelector.tscn" id="2_jidad"] [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="FontFile" uid="uid://cyk27h5aox1n7" path="res://fonts/sector_034.ttf" id="7_jefn6"] [ext_resource type="Texture2D" uid="uid://dxsnytdorcl15" path="res://ExternalMaterial/FairyDefeated/FairyDefeated.png" id="8_3523e"] [ext_resource type="Theme" uid="uid://dnsadvmunm76k" path="res://Resources/Styles/MainMenuButtons.tres" id="9_sx5r0"] [ext_resource type="StyleBox" uid="uid://dnb4ogn847dyp" path="res://Resources/Styles/HealthBarBackground.tres" id="10_n0pka"] [ext_resource type="Script" uid="uid://bobo5f4ud60qw" path="res://Scripts/UI/ItemsMenu.cs" id="10_oflr6"] [ext_resource type="Texture2D" uid="uid://3spfcuok2po2" path="res://ExternalMaterial/FairyDefeated/GameOver.png" id="10_s015s"] [ext_resource type="Script" uid="uid://com5b4ffsmj7s" path="res://Scripts/UI/InventoryMenu.cs" id="11_7pulb"] [ext_resource type="StyleBox" uid="uid://6ydsirgc5xi5" path="res://Resources/Styles/HealthBarFill.tres" id="11_j6myr"] [ext_resource type="Texture2D" uid="uid://bhmtp6i2g2f1c" path="res://Sprites/UI/ShieldBar.png" id="12_n0pka"] [ext_resource type="Texture2D" uid="uid://cihsd5rw8i5xm" path="res://Sprites/UI/ShieldBar_Foreground.png" id="13_j6myr"] [ext_resource type="StyleBox" uid="uid://24hh6h4juk3r" path="res://Resources/Styles/PixelStyleBoxRed_SquareBackground.tres" id="13_sjdna"] [ext_resource type="Script" uid="uid://cwd3sksjqpuy3" path="res://Scripts/Utils/FpsCounterLabel.cs" id="15_x61tu"] [ext_resource type="StyleBox" uid="uid://ctw2hju32l3rg" path="res://Resources/Styles/PixelStyleBoxRed.tres" id="17_bljno"] [ext_resource type="Texture2D" uid="uid://duwiasewxvcb5" path="res://Sprites/Items/Icicle_Gun.png" id="19_h6xwv"] [ext_resource type="Texture2D" uid="uid://c8fr1ea20odaw" path="res://Sprites/Items/Heart_Extend.png" id="19_j6myr"] [ext_resource type="Texture2D" uid="uid://cid62phhew3ep" path="res://Sprites/UI/StatusSprite02.png" id="19_n0pka"] [ext_resource type="StyleBox" uid="uid://dprati3kf7gdg" path="res://Resources/Styles/Terminal_Style_Box.tres" id="20_0ncp3"] [ext_resource type="Script" uid="uid://bv1fkn7qiyyr1" path="res://Scripts/UI/StatusMenu.cs" id="20_qo5e4"] [ext_resource type="Texture2D" uid="uid://8n23xie4kore" path="res://Sprites/Items/Shield_Pickup.png" id="22_5cvcb"] [ext_resource type="Texture2D" uid="uid://cvc0x4bbnhusw" path="res://Sprites/Items/Ice_Crystal_Shield.png" id="22_jefn6"] [ext_resource type="Shader" uid="uid://bee5btjyyqer2" path="res://Shaders/CRT_Menu.gdshader" id="29_m7rbi"] [sub_resource type="LabelSettings" id="LabelSettings_a7f6n"] font = ExtResource("7_jefn6") font_size = 14 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="StyleBoxTexture" id="StyleBoxTexture_h6xwv"] texture = ExtResource("12_n0pka") texture_margin_left = 3.0 texture_margin_top = 3.0 texture_margin_right = 3.0 texture_margin_bottom = 3.0 expand_margin_left = 1.0 expand_margin_top = 1.0 expand_margin_right = 1.0 expand_margin_bottom = 1.0 axis_stretch_horizontal = 2 axis_stretch_vertical = 2 [sub_resource type="StyleBoxTexture" id="StyleBoxTexture_5cvcb"] texture = ExtResource("13_j6myr") texture_margin_left = 3.0 texture_margin_top = 3.0 texture_margin_right = 3.0 texture_margin_bottom = 3.0 [sub_resource type="LabelSettings" id="LabelSettings_bkqle"] font_color = Color(0, 0.737255, 0.113725, 1) [sub_resource type="ShaderMaterial" id="ShaderMaterial_0ncp3"] shader = ExtResource("29_m7rbi") shader_parameter/scanline_count = 358.8470170452325 shader_parameter/x_curve = 10.0 shader_parameter/y_curve = 10.0 shader_parameter/aberration_strength = 0.6140002666650002 [node name="HUD" type="CanvasLayer" unique_id=71145519 node_paths=PackedStringArray("_healthLabel", "_healthBar", "_shieldLabel", "_shieldBar", "_motivationLabel", "_itemsContainer", "_gameOverPanel", "_fairyTerminatedPanel", "_hudInfoPanel", "NotificationsContainer", "WeaponContainer", "PauseMenuContainer", "DebugMenuHolder")] process_mode = 3 script = ExtResource("1_m0hb0") SelectorScene = ExtResource("2_jidad") WeaponContainerTemplate = ExtResource("2_mattb") ItemNotificationTemplate = ExtResource("3_mw35l") _healthLabel = NodePath("HudInfo/HealthBarContainer/HealthLabel") _healthBar = NodePath("HudInfo/HealthBarContainer/HealthBar") _shieldLabel = NodePath("HudInfo/ShieldBarContainer/ShieldLabel") _shieldBar = NodePath("HudInfo/ShieldBarContainer/ShieldBar") _motivationLabel = NodePath("HudInfo/MotivationContainer/Motivationlabel") _itemsContainer = NodePath("HudInfo/ItemsContainer") _labelSettings = ExtResource("2_x7kl7") _gameOverPanel = NodePath("GameOver") _fairyTerminatedPanel = NodePath("FairyTerminated") _hudInfoPanel = NodePath("HudInfo") NotificationsContainer = NodePath("NotificationsContainer") WeaponContainer = NodePath("WeaponContainer/WeaponContainer") PauseMenuContainer = NodePath("PauseMenuContainer") PauseMenuScene = ExtResource("3_hxmxt") DebugMenuTemplate = ExtResource("4_gd1k6") DebugMenuHolder = NodePath("DebugContainer") [node name="FairyTerminated" type="PanelContainer" parent="." unique_id=1026530899] visible = false offset_left = -3.0 offset_top = 34.0 offset_right = 387.0 offset_bottom = 106.0 [node name="VBoxContainer2" type="VBoxContainer" parent="FairyTerminated" unique_id=1249429394] layout_mode = 2 size_flags_vertical = 4 theme_override_constants/separation = -4 [node name="GameOver" type="Label" parent="FairyTerminated/VBoxContainer2" unique_id=547746558] visible = false layout_mode = 2 text = "FAIRY: TERMINATED" label_settings = SubResource("LabelSettings_a7f6n") horizontal_alignment = 1 [node name="TextureRect" type="TextureRect" parent="FairyTerminated/VBoxContainer2" unique_id=989090588] layout_mode = 2 size_flags_horizontal = 4 texture = ExtResource("8_3523e") stretch_mode = 2 [node name="Label" type="Label" parent="FairyTerminated/VBoxContainer2" unique_id=1144362125] visible = false layout_mode = 2 text = "Press Shoot button to reform" label_settings = SubResource("LabelSettings_5na8k") horizontal_alignment = 1 [node name="GameOver" type="PanelContainer" parent="." unique_id=1424509047] 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" unique_id=1979473657] layout_mode = 2 size_flags_vertical = 4 theme_override_constants/separation = -4 [node name="GameOver" type="Label" parent="GameOver/VBoxContainer2" unique_id=1203229580] visible = false layout_mode = 2 text = "FAIRY: TERMINATED" label_settings = SubResource("LabelSettings_a7f6n") horizontal_alignment = 1 [node name="TextureRect" type="TextureRect" parent="GameOver/VBoxContainer2" unique_id=2045152992] layout_mode = 2 size_flags_horizontal = 4 texture = ExtResource("10_s015s") stretch_mode = 2 [node name="Label" type="Label" parent="GameOver/VBoxContainer2" unique_id=290816364] visible = false layout_mode = 2 text = "Press Shoot button to reform" label_settings = SubResource("LabelSettings_5na8k") horizontal_alignment = 1 [node name="MessageTimer" type="Timer" parent="." unique_id=308504005] wait_time = 2.0 one_shot = true [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=465828645] visible = false position = Vector2(67, 47) sprite_frames = SubResource("SpriteFrames_78fwv") frame = 1 frame_progress = 0.8514 [node name="HudInfo" type="VBoxContainer" parent="." unique_id=1663735786] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 4.0 offset_top = 6.0 offset_right = -160.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="HudInfo" unique_id=1485920073] layout_mode = 2 [node name="HealthBar" type="ProgressBar" parent="HudInfo/HealthBarContainer" unique_id=937426877] custom_minimum_size = Vector2(34, 8) layout_mode = 2 size_flags_vertical = 4 theme_override_styles/background = ExtResource("10_n0pka") theme_override_styles/fill = ExtResource("11_j6myr") value = 50.0 rounded = true show_percentage = false [node name="HealthLabel" type="Label" parent="HudInfo/HealthBarContainer" unique_id=768460674] layout_mode = 2 text = "100/100" label_settings = ExtResource("2_x7kl7") vertical_alignment = 1 [node name="ShieldBarContainer" type="HBoxContainer" parent="HudInfo" unique_id=1668694771] layout_mode = 2 [node name="ShieldBar" type="ProgressBar" parent="HudInfo/ShieldBarContainer" unique_id=1137386812] custom_minimum_size = Vector2(34, 8) layout_mode = 2 size_flags_vertical = 4 theme_override_styles/background = SubResource("StyleBoxTexture_h6xwv") theme_override_styles/fill = SubResource("StyleBoxTexture_5cvcb") value = 50.0 show_percentage = false [node name="ShieldLabel" type="Label" parent="HudInfo/ShieldBarContainer" unique_id=1805514884] layout_mode = 2 text = "100/100" label_settings = ExtResource("2_x7kl7") vertical_alignment = 1 [node name="MotivationContainer" type="HBoxContainer" parent="HudInfo" unique_id=327806189] layout_mode = 2 [node name="Label" type="Label" parent="HudInfo/MotivationContainer" unique_id=1088378433] layout_mode = 2 text = "Motivation:" label_settings = ExtResource("2_x7kl7") [node name="Motivationlabel" type="Label" parent="HudInfo/MotivationContainer" unique_id=617537863] layout_mode = 2 text = "100%" label_settings = ExtResource("2_x7kl7") vertical_alignment = 1 [node name="ItemsContainer" type="VBoxContainer" parent="HudInfo" unique_id=29990649] layout_mode = 2 size_flags_vertical = 3 theme_override_constants/separation = 0 [node name="NotificationsContainer" type="VBoxContainer" parent="." unique_id=1410590531] anchors_preset = 3 anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -113.0 offset_top = -34.0 grow_horizontal = 0 grow_vertical = 0 size_flags_vertical = 3 theme_override_constants/separation = 0 alignment = 2 [node name="WeaponContainer" type="VBoxContainer" parent="." unique_id=613768405] anchors_preset = 2 anchor_top = 1.0 anchor_bottom = 1.0 offset_left = 5.0 offset_top = -42.0 offset_right = 39.0 offset_bottom = -5.0 grow_vertical = 0 theme_override_constants/separation = 0 metadata/_edit_group_ = true [node name="Label" type="Label" parent="WeaponContainer" unique_id=1544331200] layout_mode = 2 text = "Weapon" label_settings = ExtResource("2_x7kl7") [node name="WeaponContainer" type="PanelContainer" parent="WeaponContainer" unique_id=1330746632] layout_mode = 2 size_flags_vertical = 3 theme = ExtResource("9_sx5r0") theme_override_styles/panel = ExtResource("17_bljno") [node name="BossHud" parent="." unique_id=1635516703 instance=ExtResource("5_vmict")] visible = false [node name="DebugContainer" type="PanelContainer" parent="." unique_id=2004128887] 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="." unique_id=2045387146] visible = false offset_left = 106.0 offset_top = 26.0 offset_right = 226.0 offset_bottom = 144.0 [node name="Control" type="Panel" parent="." unique_id=941994087] offset_left = 30.0 offset_top = 24.0 offset_right = 354.0 offset_bottom = 198.0 theme_override_styles/panel = ExtResource("20_0ncp3") [node name="InventoryMenu" type="TabContainer" parent="Control" unique_id=1439629064 node_paths=PackedStringArray("ParentContainer")] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -151.0 offset_top = -74.0 offset_right = 149.0 offset_bottom = 75.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 theme = ExtResource("9_sx5r0") theme_override_fonts/font = ExtResource("6_sk1eq") current_tab = 4 script = ExtResource("11_7pulb") ParentContainer = NodePath("..") metadata/_edit_group_ = true [node name="Weapons" type="ItemList" parent="Control/InventoryMenu" unique_id=932926637] visible = false layout_mode = 2 theme = ExtResource("9_sx5r0") theme_override_styles/panel = ExtResource("13_sjdna") 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="Control/InventoryMenu" unique_id=610897193] visible = false layout_mode = 2 theme = ExtResource("9_sx5r0") theme_override_styles/panel = ExtResource("13_sjdna") 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="Control/InventoryMenu" unique_id=1227461482] visible = false layout_mode = 2 theme = ExtResource("9_sx5r0") theme_override_styles/panel = ExtResource("13_sjdna") 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="Control/InventoryMenu" unique_id=1623766474] visible = false layout_mode = 2 theme = ExtResource("9_sx5r0") theme_override_styles/panel = ExtResource("13_sjdna") 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="Control/InventoryMenu" unique_id=266629319 node_paths=PackedStringArray("HealthExpansionCounter", "ShieldExpansionCounter", "WeaponButton")] layout_mode = 2 theme = ExtResource("9_sx5r0") theme_override_styles/panel = ExtResource("13_sjdna") script = ExtResource("20_qo5e4") HealthExpansionName = &"HEALTH_EXTEND" ShieldExpansionName = &"SHIELD_EXTEND" HealthExpansionCounter = NodePath("MarginContainer/HBoxContainer/VBoxContainer3/HBoxContainer/HealthExtensions") ShieldExpansionCounter = NodePath("MarginContainer/HBoxContainer/VBoxContainer3/HBoxContainer/ShieldExtensions") WeaponButton = NodePath("MarginContainer/HBoxContainer/VBoxContainer2/EquippedWeapon") metadata/_tab_index = 4 [node name="MarginContainer" type="MarginContainer" parent="Control/InventoryMenu/Status" unique_id=1419887516] layout_mode = 2 theme_override_constants/margin_left = 32 theme_override_constants/margin_right = 32 [node name="HBoxContainer" type="HBoxContainer" parent="Control/InventoryMenu/Status/MarginContainer" unique_id=260671629] layout_mode = 2 alignment = 1 [node name="VBoxContainer2" type="VBoxContainer" parent="Control/InventoryMenu/Status/MarginContainer/HBoxContainer" unique_id=1376371555] layout_mode = 2 size_flags_horizontal = 2 alignment = 1 [node name="EquippedWeapon" type="Button" parent="Control/InventoryMenu/Status/MarginContainer/HBoxContainer/VBoxContainer2" unique_id=1982020961] layout_mode = 2 text = "IC-9 " icon = ExtResource("19_h6xwv") [node name="VBoxContainer3" type="VBoxContainer" parent="Control/InventoryMenu/Status/MarginContainer/HBoxContainer" unique_id=153340910] layout_mode = 2 size_flags_horizontal = 10 alignment = 1 [node name="Shield" type="Button" parent="Control/InventoryMenu/Status/MarginContainer/HBoxContainer/VBoxContainer3" unique_id=28187213] layout_mode = 2 theme_override_constants/line_spacing = -4 text = "Ice Crystal" icon = ExtResource("22_jefn6") alignment = 0 [node name="HBoxContainer" type="HBoxContainer" parent="Control/InventoryMenu/Status/MarginContainer/HBoxContainer/VBoxContainer3" unique_id=805702230] layout_mode = 2 [node name="HealthExtensions" type="Button" parent="Control/InventoryMenu/Status/MarginContainer/HBoxContainer/VBoxContainer3/HBoxContainer" unique_id=1491820858] layout_mode = 2 text = "x2" icon = ExtResource("19_j6myr") alignment = 0 [node name="ShieldExtensions" type="Button" parent="Control/InventoryMenu/Status/MarginContainer/HBoxContainer/VBoxContainer3/HBoxContainer" unique_id=622876464] layout_mode = 2 text = "x1" icon = ExtResource("22_5cvcb") alignment = 0 [node name="VBoxContainer" type="VBoxContainer" parent="Control/InventoryMenu/Status" unique_id=936621407] custom_minimum_size = Vector2(96, 0) layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 3 [node name="Label" type="Label" parent="Control/InventoryMenu/Status/VBoxContainer" unique_id=768148166] layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 0 text = "CIRNO" label_settings = SubResource("LabelSettings_bkqle") [node name="TextureRect" type="TextureRect" parent="Control/InventoryMenu/Status/VBoxContainer" unique_id=307448839] layout_mode = 2 size_flags_vertical = 3 texture = ExtResource("19_n0pka") expand_mode = 1 stretch_mode = 3 [node name="ColorRect" type="ColorRect" parent="Control" unique_id=1220058668] material = SubResource("ShaderMaterial_0ncp3") layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 12.0 offset_top = 12.0 offset_right = -12.0 offset_bottom = -12.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 [node name="FPS" type="Label" parent="." unique_id=259143833] z_index = 20 z_as_relative = false anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -40.0 offset_bottom = 23.0 grow_horizontal = 0 text = "1234" label_settings = ExtResource("2_x7kl7") script = ExtResource("15_x61tu") [connection signal="pressed" from="Control/InventoryMenu/Status/MarginContainer/HBoxContainer/VBoxContainer2/EquippedWeapon" to="Control/InventoryMenu/Weapons" method="show"]