mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-17 08:23:48 +00:00
Separated ammo and notifications from hud
This commit is contained in:
parent
d644cece7f
commit
46c433e5f7
39 changed files with 258 additions and 86 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=36 format=3 uid="uid://dkwi1hu1bixoe"]
|
||||
[gd_scene load_steps=37 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://cd3ee1adstcrw" path="res://Scenes/HUD/HudItemContainer.tscn" id="2_mattb"]
|
||||
|
|
@ -21,6 +21,7 @@
|
|||
[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"]
|
||||
|
|
@ -86,7 +87,7 @@ texture_margin_bottom = 3.0
|
|||
[sub_resource type="LabelSettings" id="LabelSettings_bkqle"]
|
||||
font_color = Color(0, 0.737255, 0.113725, 1)
|
||||
|
||||
[node name="HUD" type="CanvasLayer" node_paths=PackedStringArray("_healthLabel", "_healthBar", "_shieldLabel", "_shieldBar", "_motivationLabel", "_itemsContainer", "_gameOverPanel", "_fairyTerminatedPanel", "_hudInfoPanel", "PauseMenuContainer", "DebugMenuHolder")]
|
||||
[node name="HUD" type="CanvasLayer" node_paths=PackedStringArray("_healthLabel", "_healthBar", "_shieldLabel", "_shieldBar", "_motivationLabel", "_itemsContainer", "_gameOverPanel", "_fairyTerminatedPanel", "_hudInfoPanel", "NotificationsContainer", "WeaponContainer", "PauseMenuContainer", "DebugMenuHolder")]
|
||||
process_mode = 3
|
||||
script = ExtResource("1_m0hb0")
|
||||
WeaponContainerTemplate = ExtResource("2_mattb")
|
||||
|
|
@ -101,6 +102,8 @@ _labelSettings = ExtResource("2_x7kl7")
|
|||
_gameOverPanel = NodePath("GameOver")
|
||||
_fairyTerminatedPanel = NodePath("FairyTerminated")
|
||||
_hudInfoPanel = NodePath("HudInfo")
|
||||
NotificationsContainer = NodePath("NotificationsContainer")
|
||||
WeaponContainer = NodePath("WeaponContainer")
|
||||
PauseMenuContainer = NodePath("PauseMenuContainer")
|
||||
PauseMenuScene = ExtResource("3_hxmxt")
|
||||
DebugMenuTemplate = ExtResource("4_gd1k6")
|
||||
|
|
@ -251,6 +254,24 @@ layout_mode = 2
|
|||
size_flags_vertical = 3
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="NotificationsContainer" type="VBoxContainer" parent="."]
|
||||
offset_left = 161.0
|
||||
offset_top = 123.0
|
||||
offset_right = 317.0
|
||||
offset_bottom = 157.0
|
||||
size_flags_vertical = 3
|
||||
theme_override_constants/separation = 0
|
||||
alignment = 2
|
||||
|
||||
[node name="WeaponContainer" type="PanelContainer" parent="."]
|
||||
offset_left = 3.0
|
||||
offset_top = 132.0
|
||||
offset_right = 30.0
|
||||
offset_bottom = 151.0
|
||||
size_flags_vertical = 3
|
||||
theme = ExtResource("9_sx5r0")
|
||||
theme_override_styles/panel = ExtResource("17_bljno")
|
||||
|
||||
[node name="BossHud" parent="." instance=ExtResource("5_vmict")]
|
||||
visible = false
|
||||
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@
|
|||
script = ExtResource("4_u1i8n")
|
||||
EggIndex = 0
|
||||
StartingEquipment = Array[ExtResource("2_rgw1q")]([ExtResource("3_6314l")])
|
||||
RemoveEquipment = Array[ExtResource("2_rgw1q")]([])
|
||||
RemoveEquipment = []
|
||||
metadata/_custom_type_script = "uid://mja0rk7n2kln"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_1tvdd"]
|
||||
|
|
@ -476,7 +476,7 @@ TimeModifiers = Array[ExtResource("50_6khjs")]([])
|
|||
WaitForCompletion = true
|
||||
metadata/_custom_type_script = "uid://c0ndqalsc4jve"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_okvfm"]
|
||||
[sub_resource type="Resource" id="Resource_rgw1q"]
|
||||
resource_local_to_scene = true
|
||||
script = ExtResource("39_83jc5")
|
||||
Patterns = Array[Object]([SubResource("Resource_kuo18")])
|
||||
|
|
@ -810,7 +810,7 @@ InvertSignal = true
|
|||
|
||||
[node name="FloorEmitter2" parent="Tilemaps/Actors" instance=ExtResource("44_b8ffn")]
|
||||
position = Vector2(601, 147)
|
||||
Script = SubResource("Resource_okvfm")
|
||||
Script = SubResource("Resource_rgw1q")
|
||||
InvertSignal = true
|
||||
|
||||
[node name="Camera" parent="Tilemaps/Actors" instance=ExtResource("48_r562v")]
|
||||
|
|
|
|||
|
|
@ -300,7 +300,7 @@ ActivationType = 0
|
|||
Targets = Array[NodePath]([NodePath("../Rumia")])
|
||||
WaitForCompletion = true
|
||||
|
||||
[sub_resource type="Resource" id="Resource_jm0wb"]
|
||||
[sub_resource type="Resource" id="Resource_7lma1"]
|
||||
resource_local_to_scene = true
|
||||
script = ExtResource("49_0si7g")
|
||||
Target = NodePath(".")
|
||||
|
|
@ -1247,7 +1247,7 @@ Events = Array[ExtResource("62_w8skm")]([SubResource("Resource_068l7"), SubResou
|
|||
|
||||
[node name="BossBattleStartScript" parent="Parallax2D/Factory Tilemaps/LevelProps" instance=ExtResource("43_kf3qc")]
|
||||
position = Vector2(-1487, -396)
|
||||
Events = Array[ExtResource("62_w8skm")]([SubResource("Resource_4f4id"), SubResource("Resource_s2o7m"), SubResource("Resource_b1dht"), SubResource("Resource_xrgpy"), SubResource("Resource_jm0wb")])
|
||||
Events = Array[ExtResource("62_w8skm")]([SubResource("Resource_4f4id"), SubResource("Resource_s2o7m"), SubResource("Resource_b1dht"), SubResource("Resource_xrgpy"), SubResource("Resource_7lma1")])
|
||||
|
||||
[node name="Enemy13" parent="Parallax2D/Factory Tilemaps/LevelProps" instance=ExtResource("47_u1ve6")]
|
||||
position = Vector2(-1657, -788)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue