aboutsummaryrefslogtreecommitdiffstats
path: root/HUD.tscn
diff options
context:
space:
mode:
authorfreddie-a <57713959+freddie-a@users.noreply.github.com>2022-10-30 03:30:47 +0000
committerfreddie-a <57713959+freddie-a@users.noreply.github.com>2022-10-30 03:30:47 +0000
commit34b97ea823b1627eac2b91825cd1a748d87afd60 (patch)
tree6fc8a22fee383e46b56099134f1fc2844aa35b15 /HUD.tscn
parent61fe177dc7ed9f0f667fc28b85cc68ce166e3410 (diff)
Add coin scoring
Diffstat (limited to 'HUD.tscn')
-rw-r--r--HUD.tscn12
1 files changed, 7 insertions, 5 deletions
diff --git a/HUD.tscn b/HUD.tscn
index 640ba79..5be4d5c 100644
--- a/HUD.tscn
+++ b/HUD.tscn
@@ -1,9 +1,10 @@
-[gd_scene load_steps=7 format=2]
+[gd_scene load_steps=8 format=2]
[ext_resource path="res://HealthBar.gd" type="Script" id=1]
[ext_resource path="res://Wordart.gd" type="Script" id=2]
[ext_resource path="res://assets/wordart.png" type="Texture" id=3]
[ext_resource path="res://assets/preview_4.tres" type="AudioStream" id=4]
+[ext_resource path="res://Money.gd" type="Script" id=5]
[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 0, 1, 0, 1 )
@@ -29,7 +30,7 @@ align = 2
[node name="HealthBar" type="ProgressBar" parent="HBoxContainer"]
margin_left = 56.0
-margin_right = 1205.0
+margin_right = 1213.0
margin_bottom = 14.0
size_flags_horizontal = 3
size_flags_vertical = 3
@@ -39,16 +40,17 @@ value = 100.0
script = ExtResource( 1 )
[node name="Label2" type="Label" parent="HBoxContainer"]
-margin_left = 1215.0
+margin_left = 1223.0
margin_right = 1262.0
margin_bottom = 14.0
-text = "Money:"
+text = "Coins:"
-[node name="Label3" type="Label" parent="HBoxContainer"]
+[node name="Money" type="Label" parent="HBoxContainer"]
margin_left = 1272.0
margin_right = 1280.0
margin_bottom = 14.0
text = "0"
+script = ExtResource( 5 )
[node name="Wordart" type="Sprite" parent="."]
position = Vector2( 626, 372 )