[gd_scene load_steps=7 format=2] [ext_resource path="res://scenes/pausemenu.tscn" type="PackedScene" id=1] [ext_resource path="res://textures/hourglass.png" type="Texture" id=2] [ext_resource path="res://scripts/interface.gd" type="Script" id=3] [ext_resource path="res://theme_data/interface_theme.tres" type="Theme" id=4] [sub_resource type="Animation" id=1] length = 0.001 tracks/0/type = "value" tracks/0/path = NodePath(".:visible") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0 ), "transitions": PoolRealArray( 1 ), "update": 0, "values": [ false ] } tracks/1/type = "value" tracks/1/path = NodePath("../ChangeLabel:visible") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/imported = false tracks/1/enabled = true tracks/1/keys = { "times": PoolRealArray( 0 ), "transitions": PoolRealArray( 1 ), "update": 0, "values": [ false ] } tracks/2/type = "value" tracks/2/path = NodePath("../ChangeLabel:modulate") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/imported = false tracks/2/enabled = true tracks/2/keys = { "times": PoolRealArray( 0 ), "transitions": PoolRealArray( 1 ), "update": 0, "values": [ Color( 1, 1, 1, 1 ) ] } tracks/3/type = "value" tracks/3/path = NodePath(".:modulate") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/imported = false tracks/3/enabled = true tracks/3/keys = { "times": PoolRealArray( 0 ), "transitions": PoolRealArray( 1 ), "update": 0, "values": [ Color( 1, 1, 1, 1 ) ] } [sub_resource type="Animation" id=2] resource_name = "blinking" length = 4.0 tracks/0/type = "value" tracks/0/path = NodePath(".:visible") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0, 3 ), "transitions": PoolRealArray( 1, 1 ), "update": 1, "values": [ true, false ] } tracks/1/type = "value" tracks/1/path = NodePath("../ChangeLabel:visible") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/imported = false tracks/1/enabled = true tracks/1/keys = { "times": PoolRealArray( 0, 3 ), "transitions": PoolRealArray( 1, 1 ), "update": 1, "values": [ true, false ] } tracks/2/type = "value" tracks/2/path = NodePath("../ChangeLabel:modulate") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/imported = false tracks/2/enabled = true tracks/2/keys = { "times": PoolRealArray( 0, 0.5, 1, 1.5, 2, 2.5, 3 ), "transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1 ), "update": 0, "values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ] } tracks/3/type = "value" tracks/3/path = NodePath(".:modulate") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/imported = false tracks/3/enabled = true tracks/3/keys = { "times": PoolRealArray( 0, 0.5, 2.5, 3 ), "transitions": PoolRealArray( 1, 1, 1, 1 ), "update": 0, "values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ] } [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 ) theme = ExtResource( 4 ) 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 ) theme = ExtResource( 4 ) text = "Score:" [node name="Timer" type="Timer" parent="."] [node name="LoseLabel" type="Label" parent="."] visible = false margin_top = 40.0 margin_right = 214.0 margin_bottom = 80.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 [node name="AnimationPlayer" type="AnimationPlayer" parent="Difficulty"] root_node = NodePath("../MessageLabel") anims/RESET = SubResource( 1 ) anims/blinking = SubResource( 2 ) [node name="MessageLabel" type="Label" parent="Difficulty"] visible = false margin_right = 214.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 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 margin_right = 88.0 margin_bottom = 128.0 rect_scale = Vector2( 0.5, 0.5 ) theme = ExtResource( 4 ) text = "Next Phase: " [node name="PauseMenu" parent="." instance=ExtResource( 1 )] pause_mode = 2 visible = false [connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]