[gd_scene load_steps=8 format=3 uid="uid://cixqgc85i5wnn"] [ext_resource type="PackedScene" uid="uid://dgeurb05rmq88" path="res://scenes/pausemenu.tscn" id="1"] [ext_resource type="Texture2D" uid="uid://c5w410bewcnh5" path="res://textures/hourglass.png" id="2"] [ext_resource type="Script" path="res://scripts/interface.gd" id="3"] [ext_resource type="Theme" uid="uid://2jc1rrh032m0" path="res://theme_data/interface_theme.tres" id="4"] [sub_resource type="Animation" id="1"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:visible") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [false] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("../ChangeLabel:visible") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [false] } tracks/2/type = "value" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath("../ChangeLabel:modulate") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Color(1, 1, 1, 1)] } tracks/3/type = "value" tracks/3/imported = false tracks/3/enabled = true tracks/3/path = NodePath(".:modulate") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(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/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:visible") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 3), "transitions": PackedFloat32Array(1, 1), "update": 1, "values": [true, false] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("../ChangeLabel:visible") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0, 3), "transitions": PackedFloat32Array(1, 1), "update": 1, "values": [true, false] } tracks/2/type = "value" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath("../ChangeLabel:modulate") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/keys = { "times": PackedFloat32Array(0, 0.5, 1, 1.5, 2, 2.5, 3), "transitions": PackedFloat32Array(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/imported = false tracks/3/enabled = true tracks/3/path = NodePath(".:modulate") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/keys = { "times": PackedFloat32Array(0, 0.5, 2.5, 3), "transitions": PackedFloat32Array(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)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_fobnn"] _data = { "RESET": SubResource("1"), "blinking": SubResource("2") } [node name="Interface" type="CanvasLayer"] script = ExtResource("3") [node name="TimerLabel" type="Label" parent="."] anchors_preset = 3 anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -22.0 offset_top = -15.0 offset_right = 2.00002 offset_bottom = 1.00001 scale = Vector2(0.8, 0.8) theme = ExtResource("4") text = "000" [node name="Sprite2D" type="Sprite2D" parent="TimerLabel"] position = Vector2(-4.99998, 8.75) texture = ExtResource("2") [node name="ScoreLabel" type="Label" parent="."] offset_top = -2.0 offset_right = 48.0 offset_bottom = 14.0 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 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -107.0 offset_top = -20.0 offset_right = 107.0 offset_bottom = 20.0 theme = ExtResource("4") text = "YOU RAN OUT OF TIME! RESTART?" horizontal_alignment = 1 [node name="Difficulty" type="Control" parent="."] layout_mode = 3 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -20.0 offset_top = -20.0 offset_right = 20.0 offset_bottom = 20.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 [node name="AnimationPlayer" type="AnimationPlayer" parent="Difficulty"] root_node = NodePath("../MessageLabel") libraries = { "": SubResource("AnimationLibrary_fobnn") } [node name="MessageLabel" type="Label" parent="Difficulty"] visible = false layout_mode = 0 anchor_left = 0.5 anchor_right = 0.5 offset_left = -107.0 offset_right = 107.0 offset_bottom = 16.0 theme = ExtResource("4") text = "DIFFICULTY PHASE CHANGED:" horizontal_alignment = 1 [node name="ChangeLabel" type="Label" parent="Difficulty"] visible = false layout_mode = 0 anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 offset_left = -107.0 offset_top = -28.0 offset_right = 107.0 offset_bottom = -12.0 text = "TEST" horizontal_alignment = 1 [node name="PhaseLabel" type="Label" parent="."] anchors_preset = 2 anchor_top = 1.0 anchor_bottom = 1.0 offset_top = -8.0 offset_right = 88.0 offset_bottom = 8.0 scale = Vector2(0.5, 0.5) theme = ExtResource("4") text = "Next Phase: " [node name="PauseMenu" parent="." instance=ExtResource("1")] visible = false [connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]