Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / ui / RoomUI.tscn
[gd_scene load_steps=11 format=2]

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

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

[node name="Control" type="Control" parent="."]
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"]
offset_right = 67.0
offset_bottom = 14.0
scale = Vector2( 4, 4 )
texture = ExtResource( 4 )

[node name="HpSlot" type="NinePatchRect" parent="Control/HealthBar"]
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"]
offset_left = 1.0
offset_top = 2.0
offset_right = 51.0
offset_bottom = 6.0
texture = ExtResource( 6 )
expand = true

[node name="ShieldSlot" type="NinePatchRect" parent="Control/HealthBar"]
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"]
offset_left = 1.0
offset_top = 1.0
offset_right = 51.0
offset_bottom = 4.0
texture = ExtResource( 7 )
expand = true

[node name="MapBar" type="TextureRect" parent="Control"]
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"]
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"]
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"]
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"
align = 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