diff options
author | Logan <logan@cflip.net> | 2022-10-02 12:53:14 -0600 |
---|---|---|
committer | Logan <logan@cflip.net> | 2022-10-02 12:53:14 -0600 |
commit | 822cc7981170a4337cb570cf0f4f5899fa07a0f4 (patch) | |
tree | 7cc154785d2366e8fa0754b3fafe53a53917c936 /scenes | |
parent | d10bfcc48ebaf5dcdf58d25ff0c3c29a2a8157ad (diff) |
Added hourglass sprite into game interface.
Diffstat (limited to 'scenes')
-rw-r--r-- | scenes/interface.tscn | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/scenes/interface.tscn b/scenes/interface.tscn index e41a650..5a79aca 100644 --- a/scenes/interface.tscn +++ b/scenes/interface.tscn @@ -1,24 +1,34 @@ -[gd_scene load_steps=2 format=2] +[gd_scene load_steps=3 format=2] +[ext_resource path="res://textures/hourglass.png" type="Texture" id=2] [ext_resource path="res://scripts/interface.gd" type="Script" id=3] [node name="Interface" type="CanvasLayer"] script = ExtResource( 3 ) +[node name="Sprite" type="Sprite" parent="."] +position = Vector2( 188, 111 ) +scale = Vector2( 0.8, 0.8 ) +texture = ExtResource( 2 ) + +[node name="TimerLabel" type="Label" parent="."] +margin_left = 192.0 +margin_top = 104.0 +margin_right = 216.0 +margin_bottom = 116.0 +rect_scale = Vector2( 0.8, 0.8 ) +custom_colors/font_color_shadow = Color( 0.270588, 0.294118, 0.443137, 1 ) +text = "000" +align = 2 + [node name="ScoreLabel" type="Label" parent="."] margin_top = -2.0 margin_right = 48.0 margin_bottom = 14.0 rect_scale = Vector2( 0.8, 0.8 ) +custom_colors/font_color_shadow = Color( 0, 0, 0, 1 ) text = "Score:" -[node name="TimerLabel" type="Label" parent="."] -margin_top = 11.0 -margin_right = 56.0 -margin_bottom = 27.0 -rect_scale = Vector2( 0.8, 0.8 ) -text = "Timer: " - [node name="Timer" type="Timer" parent="."] [node name="Control" type="Control" parent="."] @@ -37,6 +47,7 @@ margin_top = 112.0 margin_right = 88.0 margin_bottom = 128.0 rect_scale = Vector2( 0.5, 0.5 ) +custom_colors/font_color_shadow = Color( 0, 0, 0, 1 ) text = "Next Phase: " [connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"] |