[gd_scene load_steps=16 format=3 uid="uid://cfnmspei3k4p7"] [ext_resource type="PackedScene" uid="uid://ky35veswaytr" path="res://scenes/gui/sun_counter.tscn" id="1_le3od"] [ext_resource type="Theme" uid="uid://b8l285cjcgeyi" path="res://resources/themes/GameStyle.tres" id="1_xf6ra"] [ext_resource type="Script" uid="uid://cwa1eydeiy3y4" path="res://scripts/LevelGUIElements.cs" id="2_5fonq"] [ext_resource type="Texture2D" uid="uid://bbh0uwloi87tn" path="res://assets/sprites/gui/PlantPanel.png" id="2_eg3hk"] [ext_resource type="PackedScene" uid="uid://t0vpmycj6c8j" path="res://scenes/gui/shovel_button.tscn" id="3_bheea"] [ext_resource type="PackedScene" uid="uid://cgm7td1hgs0rr" path="res://scenes/gui/fast_forward_button.tscn" id="4_66uy4"] [ext_resource type="PackedScene" uid="uid://u5l3jd00s8vd" path="res://scenes/gui/pause_button.tscn" id="5_jyq78"] [ext_resource type="PackedScene" uid="uid://b4lx8adw6rbqs" path="res://scenes/particles/dirt_explosion.tscn" id="6_5jtun"] [ext_resource type="Script" uid="uid://c36bj8u7jghc7" path="res://scripts/audio/ChannelPlayer.cs" id="7_5kkbf"] [ext_resource type="AudioStream" uid="uid://dfbg6dxg4actb" path="res://assets/audio/sfx/shovel.mp3" id="8_xq48m"] [ext_resource type="AudioStream" uid="uid://ckja8ym50y0d4" path="res://assets/audio/sfx/pause.mp3" id="11_cti1a"] [sub_resource type="StyleBoxTexture" id="StyleBoxTexture_ps2iw"] texture = ExtResource("2_eg3hk") texture_margin_left = 4.0 texture_margin_top = 4.0 texture_margin_right = 4.0 texture_margin_bottom = 4.0 axis_stretch_horizontal = 1 [sub_resource type="Animation" id="Animation_c8fnk"] length = 0.001 tracks/0/type = "bezier" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:color:a") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "handle_modes": PackedInt32Array(0), "points": PackedFloat32Array(0, -0.25, 0, 0.25, 0), "times": PackedFloat32Array(0) } [sub_resource type="Animation" id="Animation_ffxdv"] resource_name = "flash" length = 0.3 step = 0.1 tracks/0/type = "bezier" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:color:a") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "handle_modes": PackedInt32Array(0, 0), "points": PackedFloat32Array(0.25, -0.25, 0, 0, 0.00399721, 0, -0.2, 0.0038315, 0.25, 0), "times": PackedFloat32Array(0, 0.3) } [sub_resource type="AnimationLibrary" id="AnimationLibrary_myv2j"] _data = { &"RESET": SubResource("Animation_c8fnk"), &"flash": SubResource("Animation_ffxdv") } [node name="RuntimeGUI" type="Control" node_paths=PackedStringArray("SeedpacketsHotbar", "SunCounter")] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 theme = ExtResource("1_xf6ra") script = ExtResource("2_5fonq") SeedpacketsHotbar = NodePath("MarginContainer/Control/Hotbar/PanelContainer/Seedpackets") SunCounter = NodePath("MarginContainer/Control/Hotbar/SunCounter") [node name="MarginContainer" type="MarginContainer" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 theme_override_constants/margin_left = 8 theme_override_constants/margin_top = 0 theme_override_constants/margin_right = 8 theme_override_constants/margin_bottom = 0 [node name="Control" type="Control" parent="MarginContainer"] layout_mode = 2 mouse_filter = 2 [node name="Hotbar" type="HBoxContainer" parent="MarginContainer/Control"] layout_mode = 1 anchors_preset = -1 anchor_right = 1.0 anchor_bottom = 0.16 grow_horizontal = 2 mouse_filter = 2 [node name="SunCounter" parent="MarginContainer/Control/Hotbar" instance=ExtResource("1_le3od")] layout_mode = 2 [node name="PanelContainer" type="PanelContainer" parent="MarginContainer/Control/Hotbar"] custom_minimum_size = Vector2(377, 64) layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxTexture_ps2iw") [node name="Seedpackets" type="HBoxContainer" parent="MarginContainer/Control/Hotbar/PanelContainer"] process_mode = 3 layout_mode = 2 mouse_filter = 2 theme_override_constants/separation = 0 [node name="Space" type="Control" parent="MarginContainer/Control/Hotbar"] layout_mode = 2 size_flags_horizontal = 3 [node name="ShovelButton" parent="MarginContainer/Control/Hotbar" instance=ExtResource("3_bheea")] layout_mode = 2 size_flags_horizontal = 1 size_flags_vertical = 4 particles = ExtResource("6_5jtun") [node name="ChannelPlayer" type="Node" parent="MarginContainer/Control/Hotbar/ShovelButton"] script = ExtResource("7_5kkbf") audioStream = ExtResource("8_xq48m") channel = "shovel" metadata/_custom_type_script = "uid://c36bj8u7jghc7" [node name="FastForwardButton" parent="MarginContainer/Control/Hotbar" node_paths=PackedStringArray("flashAnimator") instance=ExtResource("4_66uy4")] layout_mode = 2 flashAnimator = NodePath("../../../../FastForwardEffect/AnimationPlayer") [node name="ChannelPlayer" type="Node" parent="MarginContainer/Control/Hotbar/FastForwardButton"] script = ExtResource("7_5kkbf") channel = "fastfw" metadata/_custom_type_script = "uid://c36bj8u7jghc7" [node name="PauseButton" parent="MarginContainer/Control/Hotbar" instance=ExtResource("5_jyq78")] layout_mode = 2 [node name="ChannelPlayer" type="Node" parent="MarginContainer/Control/Hotbar/PauseButton"] script = ExtResource("7_5kkbf") audioStream = ExtResource("11_cti1a") channel = "pause" metadata/_custom_type_script = "uid://c36bj8u7jghc7" [node name="FastForwardEffect" type="ColorRect" parent="."] z_index = 1 layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 color = Color(0.000150553, 0.938204, 0.707471, 0) metadata/_edit_lock_ = true [node name="AnimationPlayer" type="AnimationPlayer" parent="FastForwardEffect"] libraries = { &"": SubResource("AnimationLibrary_myv2j") } [connection signal="pressed" from="MarginContainer/Control/Hotbar/ShovelButton" to="MarginContainer/Control/Hotbar/ShovelButton/ChannelPlayer" method="Play"] [connection signal="pressed" from="MarginContainer/Control/Hotbar/PauseButton" to="MarginContainer/Control/Hotbar/PauseButton/ChannelPlayer" method="Play"]