[gd_scene format=3 uid="uid://fnn7a3ekmy31"]

[ext_resource type="Texture2D" uid="uid://c13glxfigu4k" path="res://scenes/intro-menu/assets/start_menu_image.png" id="1_5nebv"]
[ext_resource type="Script" uid="uid://dq768xb4m4f1n" path="res://scenes/intro-menu/menu_area_2d.gd" id="1_k0su7"]
[ext_resource type="Script" uid="uid://oyu81xt5mtlp" path="res://scenes/intro-menu/intro-menu.gd" id="1_tre7b"]
[ext_resource type="VideoStream" uid="uid://dudoxwmpe01tb" path="res://scenes/intro-menu/assets/start-menu-movie-YES.ogv" id="3_k0su7"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_k0su7"]
size = Vector2(194, 58)

[sub_resource type="RectangleShape2D" id="RectangleShape2D_tre7b"]
size = Vector2(88, 56)

[node name="IntroMenu" type="Node2D" unique_id=1782294940]
script = ExtResource("1_tre7b")

[node name="ColorRect" type="ColorRect" parent="." unique_id=938630656]
offset_left = -80.00001
offset_top = -80.00001
offset_right = -40.000008
offset_bottom = -40.000008
scale = Vector2(17.660778, 16.782234)
color = Color(0, 0, 0, 1)

[node name="MenuArea2D" type="Area2D" parent="." unique_id=995546640]
position = Vector2(0, 2)
scale = Vector2(0.97455645, 0.9491792)
script = ExtResource("1_k0su7")

[node name="BackGround" type="TextureRect" parent="MenuArea2D" unique_id=675528504]
offset_right = 960.0
offset_bottom = 540.0
scale = Vector2(0.50156, 0.6408622)
texture = ExtResource("1_5nebv")

[node name="StartCollisionShape" type="CollisionShape2D" parent="MenuArea2D" unique_id=1368275944]
position = Vector2(383, 123)
shape = SubResource("RectangleShape2D_k0su7")

[node name="DieCollisionShape" type="CollisionShape2D" parent="MenuArea2D" unique_id=2055639255]
position = Vector2(428, 292)
shape = SubResource("RectangleShape2D_tre7b")

[node name="IntroVideoPlayer" type="VideoStreamPlayer" parent="." unique_id=2088002708]
offset_right = 960.0
offset_bottom = 540.0
scale = Vector2(0.48922858, 0.6292615)
stream = ExtResource("3_k0su7")
autoplay = true

[node name="SwapInMenuImageTimer" type="Timer" parent="." unique_id=2029473168]
wait_time = 13.0
one_shot = true
autostart = true

[connection signal="input_event" from="MenuArea2D" to="MenuArea2D" method="_on_area_2d_input_event"]
[connection signal="finished" from="IntroVideoPlayer" to="." method="_on_video_stream_player_finished"]
[connection signal="timeout" from="SwapInMenuImageTimer" to="." method="_on_swap_in_menu_image_timer_timeout"]
