[gd_scene load_steps=12 format=3 uid="uid://bvgigoyn7lrc2"]

[ext_resource type="Script" uid="uid://b8nv6ojpgvo0r" path="res://Scripts/UI/SpeedrunTypeSelect.gd" id="1_15lhk"]
[ext_resource type="StyleBox" uid="uid://comkghpj0djcl" path="res://Resources/UI/Panel.tres" id="2_kdaqd"]
[ext_resource type="Texture2D" uid="uid://3p2l7rec0gh5" path="res://Assets/Sprites/UI/Cursor.png" id="3_dydhe"]
[ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="4_dydhe"]
[ext_resource type="Texture2D" uid="uid://dhu46wvad72wp" path="res://Assets/Sprites/UI/MarathonIcons.png" id="4_sktgk"]
[ext_resource type="JSON" path="res://Assets/Sprites/UI/Cursor.json" id="5_sktgk"]
[ext_resource type="Script" uid="uid://ca3bew33g45eq" path="res://Scripts/Classes/UI/PackTextureRect.gd" id="7_sktgk"]

[sub_resource type="StyleBoxLine" id="StyleBoxLine_i1niq"]
color = Color(1, 1, 1, 1)

[sub_resource type="AtlasTexture" id="AtlasTexture_5qqv6"]
atlas = ExtResource("3_dydhe")
region = Rect2(0, 0, 8, 8)

[sub_resource type="AtlasTexture" id="AtlasTexture_p8vpt"]
atlas = ExtResource("4_sktgk")
region = Rect2(112, 32, 8, 8)

[sub_resource type="AtlasTexture" id="AtlasTexture_sat26"]
atlas = ExtResource("4_sktgk")
region = Rect2(104, 32, 8, 8)

[node name="SpeedrunTypeSelect" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_15lhk")

[node name="Panel" type="PanelContainer" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -72.0
offset_top = -32.0
offset_right = 72.0
offset_bottom = 32.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = ExtResource("2_kdaqd")

[node name="VBoxContainer" type="VBoxContainer" parent="Panel"]
layout_mode = 2

[node name="Label" type="Label" parent="Panel/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
text = "SELECT RUN TYPE"

[node name="HSeparator" type="HSeparator" parent="Panel/VBoxContainer/Label"]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -4.0
grow_horizontal = 2
grow_vertical = 0
theme_override_styles/separator = SubResource("StyleBoxLine_i1niq")

[node name="Warpless" type="HBoxContainer" parent="Panel/VBoxContainer"]
layout_mode = 2
focus_mode = 2
theme_override_constants/separation = 0

[node name="Cursor" type="TextureRect" parent="Panel/VBoxContainer/Warpless"]
layout_mode = 2
texture = SubResource("AtlasTexture_5qqv6")
stretch_mode = 3

[node name="ResourceSetterNew" type="Node" parent="Panel/VBoxContainer/Warpless/Cursor" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("4_dydhe")
node_to_affect = NodePath("..")
property_name = "texture"
mode = 1
resource_json = ExtResource("5_sktgk")
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"

[node name="Buffer" type="Control" parent="Panel/VBoxContainer/Warpless"]
custom_minimum_size = Vector2(4, 0)
layout_mode = 2

[node name="TextureRect" type="TextureRect" parent="Panel/VBoxContainer/Warpless"]
layout_mode = 2
texture = SubResource("AtlasTexture_p8vpt")
stretch_mode = 3
script = ExtResource("7_sktgk")
metadata/_custom_type_script = "uid://ca3bew33g45eq"

[node name="Any" type="Label" parent="Panel/VBoxContainer/Warpless"]
layout_mode = 2
text = "WARPLESS"

[node name="Any" type="HBoxContainer" parent="Panel/VBoxContainer"]
layout_mode = 2
focus_mode = 2
theme_override_constants/separation = 0

[node name="Cursor" type="TextureRect" parent="Panel/VBoxContainer/Any"]
layout_mode = 2
texture = SubResource("AtlasTexture_5qqv6")
stretch_mode = 3

[node name="ResourceSetterNew" type="Node" parent="Panel/VBoxContainer/Any/Cursor" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("4_dydhe")
node_to_affect = NodePath("..")
property_name = "texture"
mode = 1
resource_json = ExtResource("5_sktgk")
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"

[node name="Buffer" type="Control" parent="Panel/VBoxContainer/Any"]
custom_minimum_size = Vector2(4, 0)
layout_mode = 2

[node name="TextureRect" type="TextureRect" parent="Panel/VBoxContainer/Any"]
layout_mode = 2
texture = SubResource("AtlasTexture_sat26")
stretch_mode = 3
script = ExtResource("7_sktgk")
metadata/_custom_type_script = "uid://ca3bew33g45eq"

[node name="Any" type="Label" parent="Panel/VBoxContainer/Any"]
layout_mode = 2
text = "ANY%"
