diff --git a/Scenes/Game.tscn b/Scenes/Game.tscn index cf8c5e1..83b68aa 100644 --- a/Scenes/Game.tscn +++ b/Scenes/Game.tscn @@ -51,8 +51,8 @@ layout_mode = 1 anchors_preset = 5 anchor_left = 0.5 anchor_right = 0.5 -offset_left = -228.0 -offset_right = 720.0 +offset_left = -536.0 +offset_right = 1697.3333 offset_bottom = 308.0 grow_horizontal = 2 scale = Vector2(0.48, 0.48) @@ -67,9 +67,9 @@ layout_mode = 1 anchors_preset = 5 anchor_left = 0.5 anchor_right = 0.5 -offset_left = -257.0 +offset_left = -536.0 offset_top = 148.0 -offset_right = 812.0 +offset_right = 1697.3333 offset_bottom = 361.0 grow_horizontal = 2 scale = Vector2(0.48, 0.48) @@ -78,3 +78,20 @@ theme_override_font_sizes/font_size = 156 text = "High Score: 0" horizontal_alignment = 1 vertical_alignment = 1 + +[node name="EffectTimerLabel" type="Label" parent="CanvasLayer/ScoreText"] +layout_mode = 1 +anchors_preset = 5 +anchor_left = 0.5 +anchor_right = 0.5 +offset_left = -536.0 +offset_top = 250.00002 +offset_right = 1697.3333 +offset_bottom = 463.0 +grow_horizontal = 2 +scale = Vector2(0.48, 0.48) +theme_override_fonts/font = ExtResource("4_kldst") +theme_override_font_sizes/font_size = 156 +text = "{Effect} expires in: {Time}" +horizontal_alignment = 1 +vertical_alignment = 1 diff --git a/Scripts/ScoreText.cs b/Scripts/ScoreText.cs index 6acf8fc..712e2e6 100644 --- a/Scripts/ScoreText.cs +++ b/Scripts/ScoreText.cs @@ -5,8 +5,19 @@ public partial class ScoreText : Control { public override void _Process(double delta) { Label ScoreText = GetNode