[gd_scene format=3 uid="uid://4hk0f6n8hyuh"] [ext_resource type="Script" uid="uid://cthkn1scxnnca" path="res://gui/menu/difficulty_choice/scripts/difficulty_choice.gd" id="1_5hg10"] [ext_resource type="Texture2D" uid="uid://c2qg7ikkylfv4" path="res://common/icons/seeds.svg" id="1_eeoo0"] [ext_resource type="LabelSettings" uid="uid://dqwayi8yjwau2" path="res://gui/ressources/title_label_settings.tres" id="1_skytu"] [ext_resource type="FontFile" uid="uid://qt80w6o01q5s" path="res://gui/ressources/fonts/TitanOne-Regular.ttf" id="2_7ehmy"] [ext_resource type="Texture2D" uid="uid://b0wy3dbpxbnt7" path="res://common/icons/seedling.svg" id="4_5hg10"] [ext_resource type="Texture2D" uid="uid://bn2wkun71ocun" path="res://common/icons/tree.svg" id="5_plfhj"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_skytu"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_5hg10"] bg_color = Color(1, 0.6511667, 0.089999974, 1) corner_radius_top_left = 10 corner_radius_top_right = 10 corner_radius_bottom_right = 10 corner_radius_bottom_left = 10 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_skytu"] bg_color = Color(1, 0.6511667, 0.089999974, 0.2) corner_radius_top_left = 10 corner_radius_top_right = 10 corner_radius_bottom_right = 10 corner_radius_bottom_left = 10 [sub_resource type="LabelSettings" id="LabelSettings_4t8tc"] font = ExtResource("2_7ehmy") font_size = 30 [sub_resource type="Animation" id="Animation_skytu"] resource_name = "Appear" length = 0.5 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:modulate") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0.03333334, 0.49844408), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath(".:visible") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0, 0.03333334), "transitions": PackedFloat32Array(1, 1), "update": 1, "values": [false, true] } [sub_resource type="Animation" id="Animation_5hg10"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:modulate") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Color(1, 1, 1, 1)] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath(".:visible") 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="AnimationLibrary" id="AnimationLibrary_plfhj"] _data = { &"Appear": SubResource("Animation_skytu"), &"RESET": SubResource("Animation_5hg10") } [node name="DifficultyChoice" type="Control" unique_id=443336436] visible = false z_index = 3 layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_5hg10") [node name="ColorRect" type="ColorRect" parent="." unique_id=2133703730] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 color = Color(0.06318334, 0.059500005, 0.17, 0.9411765) [node name="MarginContainer" type="MarginContainer" parent="." unique_id=1702305534] 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 = 20 theme_override_constants/margin_top = 20 theme_override_constants/margin_right = 20 theme_override_constants/margin_bottom = 20 [node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer" unique_id=1721241058] layout_mode = 2 alignment = 1 [node name="Label2" type="Label" parent="MarginContainer/VBoxContainer" unique_id=756845182] modulate = Color(1, 0.6509804, 0.09019608, 1) layout_mode = 2 text = "CHOOSE_YOUR_DIFFICULTY" label_settings = ExtResource("1_skytu") horizontal_alignment = 1 [node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer" unique_id=1188557407] custom_minimum_size = Vector2(0, 250) layout_mode = 2 theme_override_constants/separation = 20 alignment = 1 [node name="CosyModeButton" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer" unique_id=375973757] custom_minimum_size = Vector2(300, 0) layout_mode = 2 size_flags_vertical = 3 theme_override_styles/normal = SubResource("StyleBoxEmpty_skytu") theme_override_styles/pressed = SubResource("StyleBoxFlat_5hg10") theme_override_styles/hover = SubResource("StyleBoxFlat_skytu") [node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VBoxContainer/HBoxContainer/CosyModeButton" unique_id=1515573458] layout_mode = 1 anchors_preset = 14 anchor_top = 0.5 anchor_right = 1.0 anchor_bottom = 0.5 offset_top = -71.5 offset_bottom = 71.5 grow_horizontal = 2 grow_vertical = 2 [node name="TextureRect" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer/CosyModeButton/VBoxContainer" unique_id=1602841768] custom_minimum_size = Vector2(50, 50) layout_mode = 2 texture = ExtResource("1_eeoo0") expand_mode = 1 stretch_mode = 5 [node name="TitleLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer/CosyModeButton/VBoxContainer" unique_id=2130435806] layout_mode = 2 text = "COSY_MODE" label_settings = SubResource("LabelSettings_4t8tc") horizontal_alignment = 1 [node name="DescLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer/CosyModeButton/VBoxContainer" unique_id=1806512879] layout_mode = 2 text = "COSY_MODE_DESC_TEXT" horizontal_alignment = 1 autowrap_mode = 3 [node name="AdventureModeButton" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer" unique_id=126547107] custom_minimum_size = Vector2(300, 0) layout_mode = 2 size_flags_vertical = 3 theme_override_styles/normal = SubResource("StyleBoxEmpty_skytu") theme_override_styles/pressed = SubResource("StyleBoxFlat_5hg10") theme_override_styles/hover = SubResource("StyleBoxFlat_skytu") [node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VBoxContainer/HBoxContainer/AdventureModeButton" unique_id=1973750782] layout_mode = 1 anchors_preset = 14 anchor_top = 0.5 anchor_right = 1.0 anchor_bottom = 0.5 offset_top = -71.5 offset_bottom = 71.5 grow_horizontal = 2 grow_vertical = 2 [node name="TextureRect" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer/AdventureModeButton/VBoxContainer" unique_id=1045038368] custom_minimum_size = Vector2(50, 50) layout_mode = 2 texture = ExtResource("4_5hg10") expand_mode = 1 stretch_mode = 5 [node name="TitleLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer/AdventureModeButton/VBoxContainer" unique_id=911412306] layout_mode = 2 text = "ADVENTURE_MODE" label_settings = SubResource("LabelSettings_4t8tc") horizontal_alignment = 1 [node name="DescLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer/AdventureModeButton/VBoxContainer" unique_id=1973330059] layout_mode = 2 text = "ADVENTURE_MODE_DESC_TEXT" horizontal_alignment = 1 autowrap_mode = 3 [node name="ChallengeModeButton" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer" unique_id=2146436246] custom_minimum_size = Vector2(300, 0) layout_mode = 2 size_flags_vertical = 3 theme_override_styles/normal = SubResource("StyleBoxEmpty_skytu") theme_override_styles/pressed = SubResource("StyleBoxFlat_5hg10") theme_override_styles/hover = SubResource("StyleBoxFlat_skytu") [node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VBoxContainer/HBoxContainer/ChallengeModeButton" unique_id=400968416] layout_mode = 1 anchors_preset = 14 anchor_top = 0.5 anchor_right = 1.0 anchor_bottom = 0.5 offset_top = -71.5 offset_bottom = 71.5 grow_horizontal = 2 grow_vertical = 2 [node name="TextureRect" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer/ChallengeModeButton/VBoxContainer" unique_id=1474416427] custom_minimum_size = Vector2(50, 50) layout_mode = 2 texture = ExtResource("5_plfhj") expand_mode = 1 stretch_mode = 5 [node name="TitleLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer/ChallengeModeButton/VBoxContainer" unique_id=1983629939] layout_mode = 2 text = "CHALLENGE_MODE" label_settings = SubResource("LabelSettings_4t8tc") horizontal_alignment = 1 [node name="DescLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer/ChallengeModeButton/VBoxContainer" unique_id=172158488] layout_mode = 2 text = "CHALLENGE_MODE_DESC_TEXT" horizontal_alignment = 1 autowrap_mode = 3 [node name="Label" type="Label" parent="MarginContainer/VBoxContainer" unique_id=563420684] modulate = Color(1, 0.6509804, 0.09019608, 1) layout_mode = 2 text = "DIFFICULTY_CAN_BE_CHANGED_AT_ANY_TIME_IN_THE_SETTINGS" horizontal_alignment = 1 [node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=607186407] unique_name_in_owner = true libraries/ = SubResource("AnimationLibrary_plfhj") [connection signal="pressed" from="MarginContainer/VBoxContainer/HBoxContainer/CosyModeButton" to="." method="_on_cosy_mode_button_pressed"] [connection signal="pressed" from="MarginContainer/VBoxContainer/HBoxContainer/AdventureModeButton" to="." method="_on_adventure_mode_button_pressed"] [connection signal="pressed" from="MarginContainer/VBoxContainer/HBoxContainer/ChallengeModeButton" to="." method="_on_challenge_mode_button_pressed"]