summaryrefslogtreecommitdiff
path: root/scenes/interface.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'scenes/interface.tscn')
-rw-r--r--scenes/interface.tscn23
1 files changed, 20 insertions, 3 deletions
diff --git a/scenes/interface.tscn b/scenes/interface.tscn
index 53d9365..526db54 100644
--- a/scenes/interface.tscn
+++ b/scenes/interface.tscn
@@ -1,9 +1,26 @@
[gd_scene load_steps=2 format=2]
-[ext_resource path="res://scripts/interface.gd" type="Script" id=1]
+[ext_resource path="res://scripts/interface.gd" type="Script" id=3]
-[node name="Interface" type="Label"]
+[node name="Interface" type="Control"]
+margin_right = 40.0
+margin_bottom = 40.0
+script = ExtResource( 3 )
+
+[node name="Score Label" type="Label" parent="."]
margin_right = 40.0
margin_bottom = 14.0
rect_scale = Vector2( 0.15, 0.15 )
-script = ExtResource( 1 )
+
+[node name="Timer Label" type="Label" parent="."]
+margin_top = 2.0
+margin_right = 40.0
+margin_bottom = 16.0
+rect_scale = Vector2( 0.15, 0.15 )
+
+[node name="Timer" type="Timer" parent="Timer Label"]
+wait_time = 30.0
+
+[node name="Update Timer" type="Timer" parent="."]
+
+[connection signal="timeout" from="Update Timer" to="." method="_on_Update_Timer_timeout"]