147 lines
5.1 KiB
Text
147 lines
5.1 KiB
Text
[gd_scene load_steps=15 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/GameStyle.tres" id="1_xf6ra"]
|
|
[ext_resource type="PackedScene" uid="uid://c8qru1yhnbbkl" path="res://scenes/gui/plant_card.tscn" id="2_cjtsw"]
|
|
[ext_resource type="Texture2D" uid="uid://bbh0uwloi87tn" path="res://assets/sprites/gui/PlantPanel.png" id="2_eg3hk"]
|
|
[ext_resource type="Resource" uid="uid://c8rr1dc7mjr3d" path="res://resources/plants/Peashooter.tres" id="3_42s2d"]
|
|
[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="Resource" uid="uid://drm42f48urvc4" path="res://resources/plants/Sunflower.tres" id="5_6vih5"]
|
|
[ext_resource type="PackedScene" uid="uid://u5l3jd00s8vd" path="res://scenes/gui/pause_button.tscn" id="5_jyq78"]
|
|
[ext_resource type="Resource" uid="uid://c2e2yj7rgoswi" path="res://resources/plants/Wallnut.tres" id="7_x5txp"]
|
|
|
|
[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"]
|
|
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")
|
|
|
|
[node name="Hotbar" type="HBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = -1
|
|
anchor_right = 1.0
|
|
anchor_bottom = 0.14
|
|
offset_bottom = -29.0
|
|
grow_horizontal = 2
|
|
mouse_filter = 2
|
|
|
|
[node name="SunCounter" parent="Hotbar" instance=ExtResource("1_le3od")]
|
|
layout_mode = 2
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="Hotbar"]
|
|
layout_mode = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxTexture_ps2iw")
|
|
|
|
[node name="Seedpackets" type="HBoxContainer" parent="Hotbar/PanelContainer"]
|
|
layout_mode = 2
|
|
mouse_filter = 2
|
|
theme_override_constants/separation = 0
|
|
|
|
[node name="FirstSlot" parent="Hotbar/PanelContainer/Seedpackets" instance=ExtResource("2_cjtsw")]
|
|
layout_mode = 2
|
|
focus_neighbor_right = NodePath("../SecondSlot")
|
|
_resource = ExtResource("3_42s2d")
|
|
|
|
[node name="SecondSlot" parent="Hotbar/PanelContainer/Seedpackets" instance=ExtResource("2_cjtsw")]
|
|
layout_mode = 2
|
|
_resource = ExtResource("5_6vih5")
|
|
|
|
[node name="ThirdSlot" parent="Hotbar/PanelContainer/Seedpackets" instance=ExtResource("2_cjtsw")]
|
|
layout_mode = 2
|
|
_resource = ExtResource("7_x5txp")
|
|
|
|
[node name="FourthSlot" parent="Hotbar/PanelContainer/Seedpackets" instance=ExtResource("2_cjtsw")]
|
|
layout_mode = 2
|
|
|
|
[node name="FifthSlot" parent="Hotbar/PanelContainer/Seedpackets" instance=ExtResource("2_cjtsw")]
|
|
layout_mode = 2
|
|
|
|
[node name="SixthSlot" parent="Hotbar/PanelContainer/Seedpackets" instance=ExtResource("2_cjtsw")]
|
|
layout_mode = 2
|
|
|
|
[node name="SeventhSlot" parent="Hotbar/PanelContainer/Seedpackets" instance=ExtResource("2_cjtsw")]
|
|
layout_mode = 2
|
|
|
|
[node name="EighthSlot" parent="Hotbar/PanelContainer/Seedpackets" instance=ExtResource("2_cjtsw")]
|
|
layout_mode = 2
|
|
|
|
[node name="NinthSlot" parent="Hotbar/PanelContainer/Seedpackets" instance=ExtResource("2_cjtsw")]
|
|
layout_mode = 2
|
|
|
|
[node name="ShovelButton" parent="Hotbar" instance=ExtResource("3_bheea")]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 4
|
|
|
|
[node name="FastForwardButton" parent="Hotbar" node_paths=PackedStringArray("flashAnimator") instance=ExtResource("4_66uy4")]
|
|
layout_mode = 2
|
|
flashAnimator = NodePath("../../FastForwardEffect/AnimationPlayer")
|
|
|
|
[node name="PauseButton" parent="Hotbar" instance=ExtResource("5_jyq78")]
|
|
layout_mode = 2
|
|
|
|
[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")
|
|
}
|