Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / ui / RoomUI.tscn
[gd_scene load_steps=11 format=3 uid="uid://bvpmtfupny8iu"]

[ext_resource type="Script" path="res://src/game/ui/RoomUI.cs" id="1"]
[ext_resource type="Texture2D" uid="uid://k621mhhkg65f" path="res://resource/sprite/ui/mapBar.png" id="2"]
[ext_resource type="PackedScene" path="res://prefab/ui/bar/ReloadBar.tscn" id="3"]
[ext_resource type="Texture2D" uid="uid://u5ul7fu8wv1a" path="res://resource/sprite/ui/healthBar.png" id="4"]
[ext_resource type="Texture2D" uid="uid://xafbhgrxmosy" path="res://resource/sprite/gun/gun4.png" id="5"]
[ext_resource type="Texture2D" uid="uid://bxd75tme0v3pb" path="res://resource/sprite/ui/hpBar.png" id="6"]
[ext_resource type="Texture2D" uid="uid://h25j6uka74tv" path="res://resource/sprite/ui/shieldBar.png" id="7"]
[ext_resource type="Texture2D" uid="uid://djcdjrs07ighv" path="res://resource/sprite/ui/hpSlot.png" id="8"]
[ext_resource type="Texture2D" uid="uid://dnpguajopuyd7" path="res://resource/sprite/ui/shieldSlot.png" id="9"]
[ext_resource type="PackedScene" path="res://prefab/ui/bar/InteractiveTipBar.tscn" id="10"]

[node name="RoomUI" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource("1")

[node name="Control" type="Control" parent="."]
anchors_preset = 0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 20.0
offset_top = 20.0
offset_right = -20.0
offset_bottom = -20.0

[node name="HealthBar" type="TextureRect" parent="Control"]
layout_mode = 0
offset_right = 14.0
offset_bottom = 14.0
scale = Vector2(4, 4)
texture = ExtResource("4")

[node name="HpSlot" type="NinePatchRect" parent="Control/HealthBar"]
layout_mode = 0
offset_left = 13.0
offset_top = 1.0
offset_right = 66.0
offset_bottom = 9.0
texture = ExtResource("8")
patch_margin_left = 1
patch_margin_top = 1
patch_margin_right = 2
patch_margin_bottom = 1

[node name="HpBar" type="TextureRect" parent="Control/HealthBar/HpSlot"]
layout_mode = 0
offset_left = 1.0
offset_top = 2.0
offset_right = 51.0
offset_bottom = 6.0
texture = ExtResource("6")
expand_mode = 1

[node name="ShieldSlot" type="NinePatchRect" parent="Control/HealthBar"]
layout_mode = 0
offset_left = 13.0
offset_top = 8.0
offset_right = 65.0
offset_bottom = 13.0
texture = ExtResource("9")
patch_margin_left = 1
patch_margin_top = 1
patch_margin_right = 1
patch_margin_bottom = 1

[node name="ShieldBar" type="TextureRect" parent="Control/HealthBar/ShieldSlot"]
layout_mode = 0
offset_left = 1.0
offset_top = 1.0
offset_right = 51.0
offset_bottom = 4.0
texture = ExtResource("7")
expand_mode = 1

[node name="MapBar" type="TextureRect" parent="Control"]
layout_mode = 0
anchor_left = 1.0
anchor_right = 1.0
offset_left = -176.0
offset_right = -132.0
offset_bottom = 44.0
scale = Vector2(4, 4)
texture = ExtResource("2")

[node name="GunBar" type="Control" parent="Control"]
anchors_preset = 0
anchor_top = 1.0
anchor_bottom = 1.0
offset_top = -264.0
offset_right = 264.0
offset_bottom = 0.00146484

[node name="GunSprite" type="TextureRect" parent="Control/GunBar"]
layout_mode = 0
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -132.0
offset_top = -132.0
offset_right = -66.0
offset_bottom = -66.0
scale = Vector2(4, 4)
texture = ExtResource("5")

[node name="BulletText" type="Label" parent="Control/GunBar"]
layout_mode = 0
anchor_left = 0.5
anchor_right = 0.5
offset_left = -89.0
offset_top = 39.0
offset_right = 89.0
offset_bottom = 74.0
text = "30/90"
horizontal_alignment = 1
vertical_alignment = 1

[node name="GlobalNode" type="Node" parent="."]

[node name="ViewNode" type="Node" parent="."]

[node name="InteractiveTipBar" parent="ViewNode" instance=ExtResource("10")]

[node name="ReloadBar" parent="ViewNode" instance=ExtResource("3")]
z_index = 15