74 lines
2.2 KiB
Plaintext
74 lines
2.2 KiB
Plaintext
[gd_scene load_steps=7 format=2]
|
|
|
|
[ext_resource path="res://icon.png" type="Texture" id=1]
|
|
[ext_resource path="res://assets/Fonts/QuinqueFive.tres" type="DynamicFont" id=2]
|
|
[ext_resource path="res://src/ui/HUD.gd" type="Script" id=3]
|
|
[ext_resource path="res://assets/UI/Healthbar.png" type="Texture" id=4]
|
|
[ext_resource path="res://src/ui/HealthBar.gd" type="Script" id=5]
|
|
[ext_resource path="res://assets/UI/Healthbar-Indicator.png" type="Texture" id=6]
|
|
|
|
[node name="HUD" type="CanvasLayer"]
|
|
pause_mode = 2
|
|
layer = 2
|
|
script = ExtResource( 3 )
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="."]
|
|
visible = false
|
|
margin_left = 2.0
|
|
margin_top = 2.0
|
|
margin_right = 318.0
|
|
margin_bottom = 80.0
|
|
|
|
[node name="HSplitContainer" type="HSplitContainer" parent="PanelContainer"]
|
|
margin_left = 7.0
|
|
margin_top = 7.0
|
|
margin_right = 309.0
|
|
margin_bottom = 71.0
|
|
size_flags_vertical = 0
|
|
split_offset = 1
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="PanelContainer/HSplitContainer"]
|
|
margin_right = 65.0
|
|
margin_bottom = 64.0
|
|
grow_vertical = 2
|
|
size_flags_vertical = 5
|
|
texture = ExtResource( 1 )
|
|
|
|
[node name="Label" type="Label" parent="PanelContainer/HSplitContainer"]
|
|
margin_left = 77.0
|
|
margin_right = 302.0
|
|
margin_bottom = 64.0
|
|
size_flags_vertical = 1
|
|
size_flags_stretch_ratio = 5.0
|
|
custom_fonts/font = ExtResource( 2 )
|
|
text = "In a world where danger lurks in your plumbing. One thing decides to do another thing and we all determine it wasn't worth it. Hello World"
|
|
autowrap = true
|
|
|
|
[node name="Polygon2D" type="Polygon2D" parent="PanelContainer"]
|
|
position = Vector2( 75, 16.5 )
|
|
scale = Vector2( 0.769547, 0.833333 )
|
|
color = Color( 0.533333, 0.533333, 0.533333, 1 )
|
|
polygon = PoolVector2Array( 294, 63, 300.177, 63, 307, 63, 300.503, 69 )
|
|
|
|
[node name="HealthBar" type="TextureProgress" parent="."]
|
|
margin_left = 2.0
|
|
margin_top = 2.0
|
|
margin_right = 104.0
|
|
margin_bottom = 14.0
|
|
value = 50.0
|
|
texture_under = ExtResource( 4 )
|
|
texture_progress = ExtResource( 6 )
|
|
texture_progress_offset = Vector2( 1, 1 )
|
|
script = ExtResource( 5 )
|
|
|
|
[node name="Debug" type="Label" parent="."]
|
|
anchor_left = 1.0
|
|
anchor_right = 1.0
|
|
margin_left = -192.0
|
|
margin_top = 3.0
|
|
margin_right = -3.0
|
|
margin_bottom = 17.0
|
|
custom_fonts/font = ExtResource( 2 )
|
|
text = "Foo"
|
|
align = 2
|