diff options
Diffstat (limited to 'scenes/interface.tscn')
-rw-r--r-- | scenes/interface.tscn | 74 |
1 files changed, 53 insertions, 21 deletions
diff --git a/scenes/interface.tscn b/scenes/interface.tscn index 169d551..23aeb44 100644 --- a/scenes/interface.tscn +++ b/scenes/interface.tscn @@ -111,20 +111,26 @@ tracks/3/keys = { [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 +anchor_left = 1.0 +anchor_top = 1.0 +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = -22.0 +margin_top = -15.0 +margin_right = 2.00002 +margin_bottom = 1.00001 rect_scale = Vector2( 0.8, 0.8 ) theme = ExtResource( 4 ) text = "000" align = 2 +__meta__ = { +"_edit_use_anchors_": true +} + +[node name="Sprite" type="Sprite" parent="TimerLabel"] +position = Vector2( -4.99998, 8.75 ) +texture = ExtResource( 2 ) [node name="ScoreLabel" type="Label" parent="."] margin_top = -2.0 @@ -138,18 +144,29 @@ text = "Score:" [node name="LoseLabel" type="Label" parent="."] visible = false -margin_top = 40.0 -margin_right = 214.0 -margin_bottom = 80.0 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = -107.0 +margin_top = -20.0 +margin_right = 107.0 +margin_bottom = 20.0 theme = ExtResource( 4 ) text = "YOU RAN OUT OF TIME! RESTART?" align = 1 [node name="Difficulty" type="Control" parent="."] -margin_top = 40.0 -margin_right = 40.0 -margin_bottom = 80.0 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = -20.0 +margin_top = -20.0 +margin_right = 20.0 +margin_bottom = 20.0 +mouse_filter = 2 [node name="AnimationPlayer" type="AnimationPlayer" parent="Difficulty"] root_node = NodePath("../MessageLabel") @@ -158,24 +175,35 @@ anims/blinking = SubResource( 2 ) [node name="MessageLabel" type="Label" parent="Difficulty"] visible = false -margin_right = 214.0 +anchor_left = 0.5 +anchor_right = 0.5 +margin_left = -107.0 +margin_right = 107.0 +margin_bottom = 16.0 theme = ExtResource( 4 ) text = "DIFFICULT PHASE CHANGED:" align = 1 [node name="ChangeLabel" type="Label" parent="Difficulty"] visible = false -margin_top = 14.0 -margin_right = 214.0 -margin_bottom = 30.0 +anchor_left = 0.5 +anchor_top = 1.0 +anchor_right = 0.5 +anchor_bottom = 1.0 +margin_left = -107.0 +margin_top = -28.0 +margin_right = 107.0 +margin_bottom = -12.0 custom_colors/font_color_shadow = Color( 0.788235, 0.0823529, 0.0823529, 1 ) text = "TEST" align = 1 [node name="PhaseLabel" type="Label" parent="."] -margin_top = 112.0 +anchor_top = 1.0 +anchor_bottom = 1.0 +margin_top = -8.0 margin_right = 88.0 -margin_bottom = 128.0 +margin_bottom = 8.0 rect_scale = Vector2( 0.5, 0.5 ) theme = ExtResource( 4 ) text = "Next Phase: " @@ -183,5 +211,9 @@ text = "Next Phase: " [node name="PauseMenu" parent="." instance=ExtResource( 1 )] pause_mode = 2 visible = false +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_right = 0.0 +margin_bottom = 0.0 [connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"] |