[gd_scene load_steps=28 format=2]

[ext_resource path="res://sprites/ui/logo_part_1.png" type="Texture" id=1]
[ext_resource path="res://sprites/ui/logo_bg.png" type="Texture" id=2]
[ext_resource path="res://audio/music/title.ogg" type="AudioStream" id=3]
[ext_resource path="res://sprites/ui/logo_part_2.png" type="Texture" id=4]
[ext_resource path="res://scripts/main_screen.gd" type="Script" id=5]
[ext_resource path="res://sprites/ui/logo_f.png" type="Texture" id=6]
[ext_resource path="res://scenes/fader.tscn" type="PackedScene" id=7]
[ext_resource path="res://audio/sounds/logo_sound_1.wav" type="AudioStream" id=8]
[ext_resource path="res://sprites/ui/press_enter.png" type="Texture" id=9]
[ext_resource path="res://sprites/ui/play_label.png" type="Texture" id=10]
[ext_resource path="res://sprites/ui/cancel_label.png" type="Texture" id=11]
[ext_resource path="res://sprites/ui/bar.png" type="Texture" id=12]
[ext_resource path="res://sprites/ui/options_label.png" type="Texture" id=13]
[ext_resource path="res://sprites/ui/exit_label.png" type="Texture" id=14]
[ext_resource path="res://sprites/ui/volume_label.png" type="Texture" id=15]
[ext_resource path="res://audio/sounds/menu.wav" type="AudioStream" id=16]
[ext_resource path="res://sprites/ui/title_screen.png" type="Texture" id=17]
[ext_resource path="res://sprites/ui/chapters_label.png" type="Texture" id=18]
[ext_resource path="res://sprites/ui/one_label.png" type="Texture" id=19]
[ext_resource path="res://sprites/ui/two_label.png" type="Texture" id=20]

[sub_resource type="Animation" id=1]
resource_name = "logo_enter"
length = 10.0
step = 0.03
tracks/0/type = "value"
tracks/0/path = NodePath("logo_1:rect_position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0.99, 1.2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector2( 32, -1 ), Vector2( 16, -1 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("logo_2:rect_position")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0.99, 1.2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector2( -16, -1 ), Vector2( 0, -1 ) ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("logo_2/f:rect_position")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0, 1.5, 1.56, 1.62, 1.68, 1.74 ),
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1 ),
"update": 1,
"values": [ Vector2( -5, 1 ), Vector2( 1, 1 ), Vector2( 5, 1 ), Vector2( 9, 1 ), Vector2( 12, 1 ), Vector2( -5, 1 ) ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("logo_1/f:rect_position")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0, 1.8, 1.86, 1.92, 1.98, 2.04 ),
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1 ),
"update": 1,
"values": [ Vector2( 17, 1 ), Vector2( 1, 1 ), Vector2( 4, 1 ), Vector2( 8, 1 ), Vector2( 12, 1 ), Vector2( 17, 1 ) ]
}
tracks/4/type = "method"
tracks/4/path = NodePath("..")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/keys = {
"times": PoolRealArray( 1.38 ),
"transitions": PoolRealArray( 1 ),
"values": [ {
"args": [  ],
"method": "play_music"
} ]
}
tracks/5/type = "audio"
tracks/5/path = NodePath("../logo_sound")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/keys = {
"clips": [ {
"end_offset": 0.0,
"start_offset": 0.0,
"stream": ExtResource( 8 )
} ],
"times": PoolRealArray( 1.2 )
}
tracks/6/type = "method"
tracks/6/path = NodePath("..")
tracks/6/interp = 1
tracks/6/loop_wrap = true
tracks/6/imported = false
tracks/6/enabled = true
tracks/6/keys = {
"times": PoolRealArray( 2.04 ),
"transitions": PoolRealArray( 1 ),
"values": [ {
"args": [  ],
"method": "show_hint"
} ]
}
tracks/7/type = "value"
tracks/7/path = NodePath("../bg:rect_position")
tracks/7/interp = 1
tracks/7/loop_wrap = true
tracks/7/imported = false
tracks/7/enabled = true
tracks/7/keys = {
"times": PoolRealArray( 0, 1.2, 1.23, 1.26, 1.29, 1.32 ),
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1 ),
"update": 1,
"values": [ Vector2( -1, -1 ), Vector2( -2, -2 ), Vector2( 0, 0 ), Vector2( -2, 0 ), Vector2( 0, -2 ), Vector2( -1, -1 ) ]
}

[sub_resource type="Animation" id=2]
resource_name = "hint"
loop = true
step = 0.5
tracks/0/type = "value"
tracks/0/path = NodePath("tex:visible")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.5 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 1,
"values": [ false, true ]
}

[sub_resource type="StyleBoxFlat" id=3]
bg_color = Color( 1, 1, 1, 1 )

[sub_resource type="StyleBoxFlat" id=4]
bg_color = Color( 1, 1, 0, 1 )

[sub_resource type="StyleBoxFlat" id=5]
bg_color = Color( 1, 1, 1, 1 )

[sub_resource type="StyleBoxFlat" id=6]

[sub_resource type="StyleBoxFlat" id=7]
bg_color = Color( 1, 1, 1, 0 )

[node name="title_screen" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 5 )
__meta__ = {
"_edit_use_anchors_": false
}
normal_label_color = Color( 0.827451, 0.827451, 0.196078, 1 )
hover_label_color = Color( 0.168627, 0.168627, 0.168627, 1 )

[node name="bg" type="TextureRect" parent="."]
margin_left = -1.0
margin_top = -1.0
margin_right = 33.0
margin_bottom = 33.0
texture = ExtResource( 17 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="logo" type="Control" parent="."]
margin_top = 2.0
margin_right = 32.0
margin_bottom = 32.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="logo_1" type="TextureRect" parent="logo"]
margin_left = 32.0
margin_top = -1.0
margin_right = 48.0
margin_bottom = 6.0
texture = ExtResource( 4 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="bg" type="TextureRect" parent="logo/logo_1"]
show_behind_parent = true
margin_right = 16.0
margin_bottom = 6.0
texture = ExtResource( 2 )

[node name="f" type="TextureRect" parent="logo/logo_1"]
modulate = Color( 1, 0.54902, 0, 1 )
show_behind_parent = true
margin_left = 17.0
margin_top = 1.0
margin_right = 21.0
margin_bottom = 6.0
texture = ExtResource( 6 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="logo_2" type="TextureRect" parent="logo"]
margin_left = -16.0
margin_top = -1.0
margin_right = -3.8147e-06
margin_bottom = 6.0
texture = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="bg" type="TextureRect" parent="logo/logo_2"]
show_behind_parent = true
margin_right = 16.0
margin_bottom = 6.0
texture = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="f" type="TextureRect" parent="logo/logo_2"]
modulate = Color( 1, 0.54902, 0, 1 )
show_behind_parent = true
margin_left = -5.0
margin_top = 1.0
margin_right = -1.0
margin_bottom = 6.0
texture = ExtResource( 6 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="anim" type="AnimationPlayer" parent="logo"]
anims/logo_enter = SubResource( 1 )

[node name="press_anykey_hint" type="Control" parent="."]
margin_right = 32.0
margin_bottom = 32.0
mouse_filter = 2
__meta__ = {
"_edit_use_anchors_": false
}

[node name="tex" type="TextureRect" parent="press_anykey_hint"]
visible = false
modulate = Color( 0.619608, 0.647059, 0.733333, 1 )
margin_left = 4.0
margin_top = 17.0
margin_right = 29.0
margin_bottom = 26.0
mouse_filter = 2
texture = ExtResource( 9 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="anim" type="AnimationPlayer" parent="press_anykey_hint"]
anims/hint = SubResource( 2 )

[node name="menu" type="Control" parent="."]
visible = false
margin_right = 32.0
margin_bottom = 32.0
mouse_filter = 2
__meta__ = {
"_edit_use_anchors_": false
}

[node name="play_button" type="Button" parent="menu"]
margin_top = 8.0
margin_right = 32.0
margin_bottom = 38.0
rect_scale = Vector2( 1, 0.2 )
focus_mode = 0
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 4 )
custom_styles/focus = SubResource( 5 )
custom_styles/disabled = SubResource( 6 )
custom_styles/normal = SubResource( 7 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="chapters_button" type="Button" parent="menu"]
margin_top = 14.0
margin_right = 32.0
margin_bottom = 44.0
rect_scale = Vector2( 1, 0.2 )
focus_mode = 0
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 4 )
custom_styles/focus = SubResource( 5 )
custom_styles/disabled = SubResource( 6 )
custom_styles/normal = SubResource( 7 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="options_button" type="Button" parent="menu"]
margin_top = 20.0
margin_right = 32.0
margin_bottom = 50.0
rect_scale = Vector2( 1, 0.2 )
focus_mode = 0
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 4 )
custom_styles/focus = SubResource( 5 )
custom_styles/disabled = SubResource( 6 )
custom_styles/normal = SubResource( 7 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="exit_button" type="Button" parent="menu"]
margin_top = 26.0
margin_right = 32.0
margin_bottom = 56.0
rect_scale = Vector2( 1, 0.2 )
focus_mode = 0
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 4 )
custom_styles/focus = SubResource( 5 )
custom_styles/disabled = SubResource( 6 )
custom_styles/normal = SubResource( 7 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="play" type="TextureRect" parent="menu"]
modulate = Color( 0.827451, 0.827451, 0.196078, 1 )
margin_top = 9.0
margin_right = 32.0
margin_bottom = 13.0
mouse_filter = 2
texture = ExtResource( 10 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="chapters" type="TextureRect" parent="menu"]
modulate = Color( 0.827451, 0.827451, 0.196078, 1 )
margin_top = 15.0
margin_right = 32.0
margin_bottom = 19.0
mouse_filter = 2
texture = ExtResource( 18 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="options" type="TextureRect" parent="menu"]
modulate = Color( 0.827451, 0.827451, 0.196078, 1 )
margin_top = 21.0
margin_right = 32.0
margin_bottom = 25.0
mouse_filter = 2
texture = ExtResource( 13 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="exit" type="TextureRect" parent="menu"]
modulate = Color( 0.827451, 0.827451, 0.196078, 1 )
margin_top = 27.0
margin_right = 32.0
margin_bottom = 31.0
mouse_filter = 2
texture = ExtResource( 14 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="options" type="Control" parent="."]
visible = false
margin_right = 32.0
margin_bottom = 32.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="cancel_button" type="Button" parent="options"]
margin_top = 24.0
margin_right = 32.0
margin_bottom = 54.0
rect_scale = Vector2( 1, 0.2 )
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 4 )
custom_styles/focus = SubResource( 5 )
custom_styles/disabled = SubResource( 6 )
custom_styles/normal = SubResource( 7 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="cancel" type="TextureRect" parent="options"]
modulate = Color( 0.827451, 0.827451, 0.196078, 1 )
margin_top = 25.0
margin_right = 32.0
margin_bottom = 29.0
mouse_filter = 2
texture = ExtResource( 11 )

[node name="sound" type="Control" parent="options"]
margin_left = 2.0
margin_top = 19.0
margin_right = 31.0
margin_bottom = 23.0
mouse_filter = 1
__meta__ = {
"_edit_use_anchors_": false
}

[node name="sound_control" type="TextureButton" parent="options/sound"]
modulate = Color( 0.168627, 0.168627, 0.168627, 1 )
margin_right = 29.0
margin_bottom = 4.0
texture_normal = ExtResource( 12 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="tex" type="TextureRect" parent="options/sound"]
margin_right = 29.0
margin_bottom = 4.0
mouse_filter = 2
texture = ExtResource( 12 )
expand = true
stretch_mode = 2
__meta__ = {
"_edit_use_anchors_": false
}

[node name="volume" type="TextureRect" parent="options/sound"]
margin_left = -2.0
margin_top = -6.0
margin_right = 30.0
margin_bottom = -2.0
texture = ExtResource( 15 )

[node name="chapters_select_menu" type="Control" parent="."]
visible = false
margin_right = 40.0
margin_bottom = 40.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="one_button" type="Button" parent="chapters_select_menu"]
margin_top = 12.0
margin_right = 32.0
margin_bottom = 42.0
rect_scale = Vector2( 1, 0.2 )
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 4 )
custom_styles/focus = SubResource( 5 )
custom_styles/disabled = SubResource( 6 )
custom_styles/normal = SubResource( 7 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="two_button" type="Button" parent="chapters_select_menu"]
margin_top = 18.0
margin_right = 32.0
margin_bottom = 48.0
rect_scale = Vector2( 1, 0.2 )
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 4 )
custom_styles/focus = SubResource( 5 )
custom_styles/disabled = SubResource( 6 )
custom_styles/normal = SubResource( 7 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="cancel_2_button" type="Button" parent="chapters_select_menu"]
margin_top = 24.0
margin_right = 32.0
margin_bottom = 54.0
rect_scale = Vector2( 1, 0.2 )
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 4 )
custom_styles/focus = SubResource( 5 )
custom_styles/disabled = SubResource( 6 )
custom_styles/normal = SubResource( 7 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="one" type="TextureRect" parent="chapters_select_menu"]
modulate = Color( 0.827451, 0.827451, 0.196078, 1 )
margin_top = 13.0
margin_right = 32.0
margin_bottom = 17.0
mouse_filter = 2
texture = ExtResource( 19 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="two" type="TextureRect" parent="chapters_select_menu"]
modulate = Color( 0.827451, 0.827451, 0.196078, 1 )
margin_top = 19.0
margin_right = 32.0
margin_bottom = 23.0
mouse_filter = 2
texture = ExtResource( 20 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="cancel" type="TextureRect" parent="chapters_select_menu"]
modulate = Color( 0.827451, 0.827451, 0.196078, 1 )
margin_top = 25.0
margin_right = 32.0
margin_bottom = 29.0
mouse_filter = 2
texture = ExtResource( 11 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="music" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 3 )

[node name="logo_sound" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 8 )

[node name="menu_sound" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 16 )

[node name="fader" parent="." instance=ExtResource( 7 )]
z_index = 2
[connection signal="mouse_entered" from="menu/play_button" to="." method="_on_play_button_mouse_entered"]
[connection signal="mouse_exited" from="menu/play_button" to="." method="_on_play_button_mouse_exited"]
[connection signal="pressed" from="menu/play_button" to="." method="_on_play_button_pressed"]
[connection signal="mouse_entered" from="menu/chapters_button" to="." method="_on_chapters_button_mouse_entered"]
[connection signal="mouse_exited" from="menu/chapters_button" to="." method="_on_chapters_button_mouse_exited"]
[connection signal="pressed" from="menu/chapters_button" to="." method="_on_chapters_button_pressed"]
[connection signal="mouse_entered" from="menu/options_button" to="." method="_on_options_button_mouse_entered"]
[connection signal="mouse_exited" from="menu/options_button" to="." method="_on_options_button_mouse_exited"]
[connection signal="pressed" from="menu/options_button" to="." method="_on_options_button_pressed"]
[connection signal="mouse_entered" from="menu/exit_button" to="." method="_on_exit_button_mouse_entered"]
[connection signal="mouse_exited" from="menu/exit_button" to="." method="_on_exit_button_mouse_exited"]
[connection signal="pressed" from="menu/exit_button" to="." method="_on_exit_button_pressed"]
[connection signal="mouse_entered" from="options/cancel_button" to="." method="_on_cancel_button_mouse_entered"]
[connection signal="mouse_exited" from="options/cancel_button" to="." method="_on_cancel_button_mouse_exited"]
[connection signal="pressed" from="options/cancel_button" to="." method="_on_cancel_button_pressed"]
[connection signal="pressed" from="options/sound/sound_control" to="." method="_on_sound_control_pressed"]
[connection signal="mouse_entered" from="chapters_select_menu/one_button" to="." method="_on_one_button_mouse_entered"]
[connection signal="mouse_exited" from="chapters_select_menu/one_button" to="." method="_on_one_button_mouse_exited"]
[connection signal="pressed" from="chapters_select_menu/one_button" to="." method="_on_one_button_pressed"]
[connection signal="mouse_entered" from="chapters_select_menu/two_button" to="." method="_on_two_button_mouse_entered"]
[connection signal="mouse_exited" from="chapters_select_menu/two_button" to="." method="_on_two_button_mouse_exited"]
[connection signal="pressed" from="chapters_select_menu/two_button" to="." method="_on_two_button_pressed"]
[connection signal="mouse_entered" from="chapters_select_menu/cancel_2_button" to="." method="_on_cancel_2_button_mouse_entered"]
[connection signal="mouse_exited" from="chapters_select_menu/cancel_2_button" to="." method="_on_cancel_2_button_mouse_exited"]
[connection signal="pressed" from="chapters_select_menu/cancel_2_button" to="." method="_on_cancel_2_button_pressed"]
