224 lines
7.5 KiB
Text
224 lines
7.5 KiB
Text
[gd_scene load_steps=15 format=3 uid="uid://dpxxjfd5lv5sv"]
|
|
|
|
[ext_resource type="Theme" uid="uid://e8n88g31w7x7" path="res://resources/themes/ChooseYourSeeds.tres" id="1_bfo8i"]
|
|
[ext_resource type="Texture2D" uid="uid://dr8a0rx42o3qy" path="res://assets/sprites/gui/ChooseYourSeeds/PlantFrame.tres" id="2_so2bw"]
|
|
[ext_resource type="Script" uid="uid://covbig00p22di" path="res://scripts/components/gui/choose_your_seeds/Previewport.cs" id="3_fmc0y"]
|
|
[ext_resource type="Texture2D" uid="uid://dycdvvgmgmfu6" path="res://assets/sprites/gui/ChooseYourSeeds/FrameField.tres" id="3_rn5vx"]
|
|
[ext_resource type="Script" uid="uid://eq3ecja30mlj" path="res://scripts/components/gui/choose_your_seeds/GridLoader.cs" id="4_i7sou"]
|
|
[ext_resource type="PackedScene" uid="uid://10b1egek6upx" path="res://scenes/gui/level_run_button.tscn" id="5_n80ic"]
|
|
[ext_resource type="Script" uid="uid://d26waisd3v488" path="res://scripts/components/gui/choose_your_seeds/LevelRunButton.cs" id="7_k6b6g"]
|
|
|
|
[sub_resource type="Animation" id="Animation_0rps3"]
|
|
resource_name = "Hide"
|
|
length = 0.75
|
|
step = 0.1
|
|
tracks/0/type = "bezier"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("..:position:y")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"handle_modes": PackedInt32Array(0, 0),
|
|
"points": PackedFloat32Array(64, -0.25, 0, 0.5, 7.5, 402, -0.55, -95.5, 0.25, 0),
|
|
"times": PackedFloat32Array(0, 0.75)
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath(".:disabled")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [true]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_8he0w"]
|
|
length = 0.001
|
|
tracks/0/type = "bezier"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("..:position:y")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"handle_modes": PackedInt32Array(0),
|
|
"points": PackedFloat32Array(402, -0.25, 0, 0.25, 0),
|
|
"times": PackedFloat32Array(0)
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath(".:disabled")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [false]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_omiwq"]
|
|
resource_name = "Show"
|
|
length = 1.5
|
|
step = 0.25
|
|
tracks/0/type = "bezier"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("..:position:y")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"handle_modes": PackedInt32Array(0, 0, 0),
|
|
"points": PackedFloat32Array(402, -0.25, 0, 1, -336.5, 64, -1, 338.5, 0, 66.5, 64, -0.0571204, 1, 0.19288, 1.5),
|
|
"times": PackedFloat32Array(0, 1, 1.5)
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath(".:disabled")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0, 1.5),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 1,
|
|
"values": [true, false]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_tguwa"]
|
|
_data = {
|
|
&"Hide": SubResource("Animation_0rps3"),
|
|
&"RESET": SubResource("Animation_8he0w"),
|
|
&"Show": SubResource("Animation_omiwq")
|
|
}
|
|
|
|
[sub_resource type="ViewportTexture" id="ViewportTexture_rmoaa"]
|
|
viewport_path = NodePath("Panel/MarginContainer/VBoxContainer/HBoxContainer/Frame/Previewport")
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_fmc0y"]
|
|
font_size = 24
|
|
font_color = Color(0, 0, 0, 1)
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_ln6r7"]
|
|
font_color = Color(0, 0, 0, 1)
|
|
|
|
[node name="ChooseYourSeeds" type="Control"]
|
|
process_mode = 3
|
|
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_bfo8i")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
root_node = NodePath("../Panel/LevelRunButton")
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_tguwa")
|
|
}
|
|
autoplay = "Show"
|
|
|
|
[node name="Panel" type="Panel" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = -1
|
|
anchor_top = 2.005
|
|
anchor_right = 0.6
|
|
anchor_bottom = 2.845
|
|
offset_top = -400.0
|
|
offset_bottom = -400.0
|
|
grow_vertical = 2
|
|
metadata/_edit_use_anchors_ = true
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="Panel"]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/margin_left = 8
|
|
theme_override_constants/margin_top = 6
|
|
theme_override_constants/margin_right = 8
|
|
theme_override_constants/margin_bottom = 6
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/MarginContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Frame" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
texture = ExtResource("2_so2bw")
|
|
|
|
[node name="Previewport" type="SubViewport" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/Frame" node_paths=PackedStringArray("title", "description")]
|
|
canvas_item_default_texture_filter = 0
|
|
size = Vector2i(65, 65)
|
|
script = ExtResource("3_fmc0y")
|
|
title = NodePath("../../PanelContainer/ScrollContainer/VBoxContainer/Title")
|
|
description = NodePath("../../PanelContainer/ScrollContainer/VBoxContainer/Description")
|
|
|
|
[node name="FrameField" type="Sprite2D" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/Frame/Previewport"]
|
|
texture = ExtResource("3_rn5vx")
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/Frame/Previewport"]
|
|
|
|
[node name="Render" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/Frame"]
|
|
show_behind_parent = true
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
texture = SubResource("ViewportTexture_rmoaa")
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="ScrollContainer" type="ScrollContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/PanelContainer"]
|
|
layout_mode = 2
|
|
horizontal_scroll_mode = 0
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/PanelContainer/ScrollContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="Title" type="Label" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/PanelContainer/ScrollContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
label_settings = SubResource("LabelSettings_fmc0y")
|
|
horizontal_alignment = 1
|
|
|
|
[node name="Description" type="Label" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/PanelContainer/ScrollContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "
|
|
"
|
|
label_settings = SubResource("LabelSettings_ln6r7")
|
|
|
|
[node name="ScrollContainer" type="ScrollContainer" parent="Panel/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
horizontal_scroll_mode = 0
|
|
|
|
[node name="GridContainer" type="GridContainer" parent="Panel/MarginContainer/VBoxContainer/ScrollContainer"]
|
|
layout_mode = 2
|
|
columns = 7
|
|
script = ExtResource("4_i7sou")
|
|
|
|
[node name="LevelRunButton" parent="Panel" node_paths=PackedStringArray("_player") instance=ExtResource("5_n80ic")]
|
|
layout_mode = 1
|
|
anchor_left = 1.0
|
|
anchor_right = 1.181
|
|
anchor_bottom = 0.131
|
|
offset_right = -16.16
|
|
offset_bottom = -16.016
|
|
script = ExtResource("7_k6b6g")
|
|
_player = NodePath("../../AnimationPlayer")
|