Health meter

This commit is contained in:
Felipe M 2021-02-04 20:04:56 +01:00
parent edadd138b0
commit 0f5e075a54
Signed by: fmartingr
GPG key ID: 716BC147715E716F
4 changed files with 47 additions and 10 deletions

View file

@ -0,0 +1,27 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Assets/UI/HealthMeterEmpty.png" type="Texture" id=1]
[ext_resource path="res://Assets/UI/HealthMeter.png" type="Texture" id=2]
[ext_resource path="res://Scenes/UI/HealthMeter.gd" type="Script" id=3]
[node name="HealthMeter" type="Control"]
margin_right = 21.0
margin_bottom = 12.0
script = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Empty" type="TextureRect" parent="."]
margin_right = 21.0
margin_bottom = 12.0
texture = ExtResource( 1 )
expand = true
stretch_mode = 2
[node name="Full" type="TextureRect" parent="."]
margin_right = 21.0
margin_bottom = 12.0
texture = ExtResource( 2 )
expand = true
stretch_mode = 2