Rename stuff to HUD
This commit is contained in:
parent
8352f5733c
commit
119f3c8332
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
[ext_resource path="res://src/actors/players/playerE/PlayerE.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://src/levels/TestBox.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://src/UI/HUD.tscn" type="PackedScene" id=3]
|
||||
[ext_resource path="res://src/ui/HUD.tscn" type="PackedScene" id=3]
|
||||
|
||||
[node name="Main" type="Node2D"]
|
||||
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ _global_script_classes=[ {
|
|||
"base": "Reference",
|
||||
"class": "UIComponent",
|
||||
"language": "GDScript",
|
||||
"path": "res://src/UI/UI_Layer.gd"
|
||||
"path": "res://src/ui/HUD.gd"
|
||||
} ]
|
||||
_global_script_class_icons={
|
||||
"Actor": "",
|
||||
|
|
|
|||
|
|
@ -1,39 +0,0 @@
|
|||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://assets/Fonts/QuinqueFive.tres" type="DynamicFont" id=1]
|
||||
[ext_resource path="res://icon.png" type="Texture" id=2]
|
||||
|
||||
[node name="UI_Dialog" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="PanelContainer" type="PanelContainer" parent="."]
|
||||
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( 2 )
|
||||
|
||||
[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( 1 )
|
||||
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
|
||||
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
[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/UI_Layer.gd" type="Script" id=3]
|
||||
[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://src/ui/HealthBar.gd" type="Script" id=5]
|
||||
[ext_resource path="res://assets/UI/Healthbar-Indicator.png" type="Texture" id=6]
|
||||
|
||||
[node name="UI_Layer" type="CanvasLayer"]
|
||||
[node name="HUD" type="CanvasLayer"]
|
||||
pause_mode = 2
|
||||
layer = 2
|
||||
script = ExtResource( 3 )
|
||||
|
|
@ -67,5 +67,6 @@ 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
|
||||
Loading…
Reference in New Issue
Block a user