diff options
| author | Jan Tuomi <jan.tuomi@valuemotive.com> | 2022-08-15 09:35:35 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan.tuomi@valuemotive.com> | 2022-08-15 09:35:35 +0300 |
| commit | 8b0ce964d2aa5dba186b85abf64b70ffc8216c06 (patch) | |
| tree | 776e6149b78091cd377f6f421839e15186a2cba0 /GUI.tscn | |
| parent | f3cc4f82624b21dafa19515b69c66a3c8f4fe248 (diff) | |
Add UI
Diffstat (limited to 'GUI.tscn')
| -rw-r--r-- | GUI.tscn | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/GUI.tscn b/GUI.tscn new file mode 100644 index 0000000..a69a9b2 --- /dev/null +++ b/GUI.tscn @@ -0,0 +1,21 @@ +[gd_scene load_steps=3 format=2] + +[ext_resource path="res://GUI.gd" type="Script" id=1] +[ext_resource path="res://Assets/kenney_pixelplatformer/Tiles/tile_0044.png" type="Texture" id=2] + +[node name="GUI" type="MarginContainer"] +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_right = 54.0 +margin_bottom = 18.0 +script = ExtResource( 1 ) + +[node name="HPIndicator" type="TextureRect" parent="."] +margin_right = 54.0 +margin_bottom = 18.0 +rect_min_size = Vector2( 54, 18 ) +size_flags_horizontal = 0 +size_flags_vertical = 0 +texture = ExtResource( 2 ) +expand = true +stretch_mode = 2 |
