[gd_scene load_steps=8 format=3 uid="uid://ce8cu4romympf"]

[ext_resource type="Texture2D" uid="uid://b6nsk6rd8a7sn" path="res://assets/textures/menu_background.jpg" id="1_cwnax"]
[ext_resource type="Script" path="res://assets/scenes/transition.gd" id="1_jl8cy"]
[ext_resource type="FontFile" uid="uid://cqtognhaksl7j" path="res://assets/fonts/Potra.ttf" id="3_liow6"]

[sub_resource type="Animation" id="Animation_sqshj"]
resource_name = "slide-in"
step = 0.0333333
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:position")
tracks/0/interp = 2
tracks/0/loop_wrap = false
tracks/0/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector2(-1280, 0), Vector2(0, 0)]
}

[sub_resource type="Animation" id="Animation_7tdps"]
resource_name = "slide-out"
step = 0.0333333
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:position")
tracks/0/interp = 2
tracks/0/loop_wrap = false
tracks/0/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector2(0, 0), Vector2(-1280, 0)]
}

[sub_resource type="AnimationLibrary" id="AnimationLibrary_3vpft"]
_data = {
"slide-in": SubResource("Animation_sqshj"),
"slide-out": SubResource("Animation_7tdps")
}

[sub_resource type="LabelSettings" id="LabelSettings_sm7j6"]
font = ExtResource("3_liow6")
font_size = 69

[node name="Transition" type="Control"]
process_mode = 3
layout_mode = 3
anchors_preset = 0
script = ExtResource("1_jl8cy")

[node name="Background" type="TextureRect" parent="."]
layout_mode = 1
offset_right = 1280.0
offset_bottom = 720.0
texture = ExtResource("1_cwnax")

[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_3vpft")
}

[node name="Label" type="Label" parent="."]
layout_mode = 0
offset_left = 215.0
offset_top = 322.0
offset_right = 646.0
offset_bottom = 405.0
label_settings = SubResource("LabelSettings_sm7j6")
horizontal_alignment = 1
