[gd_scene load_steps=16 format=2]

[ext_resource path="res://assets/Tiles/background_0.png" type="Texture" id=1]
[ext_resource path="res://assets/Tiles/background_2.png" type="Texture" id=2]
[ext_resource path="res://assets/Items/torch_ligt_texture.png" type="Texture" id=3]
[ext_resource path="res://assets/Tiles/background_1.png" type="Texture" id=4]
[ext_resource path="res://assets/SplashScreen/Title.png" type="Texture" id=5]
[ext_resource path="res://src/Menu/MainMenu.gd" type="Script" id=6]
[ext_resource path="res://assets/Theme/menu_font.tres" type="DynamicFont" id=7]

[sub_resource type="Gradient" id=1]
colors = PoolColorArray( 0.996094, 0.996094, 0.996094, 1, 1, 1, 1, 0 )

[sub_resource type="GradientTexture" id=2]
gradient = SubResource( 1 )

[sub_resource type="Curve" id=3]
min_value = -200.0
max_value = 200.0
_data = [ Vector2( 0, 7.83957 ), 0.0, 166.434, 0, 0, Vector2( 1, 44.2032 ), -4.82953, 0.0, 0, 0 ]

[sub_resource type="CurveTexture" id=4]
curve = SubResource( 3 )

[sub_resource type="Curve" id=5]
_data = [ Vector2( 0, 0.285227 ), 0.0, 0.0, 0, 0, Vector2( 1, 1 ), 0.0, 0.0, 0, 0 ]

[sub_resource type="CurveTexture" id=6]
curve = SubResource( 5 )

[sub_resource type="ParticlesMaterial" id=7]
emission_shape = 2
emission_box_extents = Vector3( 10, 1, 1 )
flag_disable_z = true
direction = Vector3( 0, -1, 0 )
spread = 40.0
gravity = Vector3( 0, 0, 0 )
initial_velocity = 20.0
initial_velocity_random = 0.7
orbit_velocity = 0.0
orbit_velocity_random = 0.0
linear_accel_curve = SubResource( 4 )
scale = 3.0
scale_random = 1.0
scale_curve = SubResource( 6 )
color_ramp = SubResource( 2 )

[sub_resource type="Animation" id=8]
length = 6.0
loop = true
step = 1.0
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite/Light2D:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 3, 6 ),
"transitions": PoolRealArray( 0.450625, 0.277392, 0.435275 ),
"update": 0,
"values": [ Vector2( 73, 131 ), Vector2( 63.25, 154.25 ), Vector2( 73, 131 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("Sprite2/Light2D2:position")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0, 3, 6 ),
"transitions": PoolRealArray( 1, 0.277392, 0.554785 ),
"update": 0,
"values": [ Vector2( 105, 154.5 ), Vector2( 95.25, 177.75 ), Vector2( 105, 154.5 ) ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("Sprite3:position")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0, 3, 6 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ Vector2( 0, 0 ), Vector2( 0, -13.5 ), Vector2( 0, 0 ) ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("Sprite2:position")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0, 3, 6 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ Vector2( 0, 0 ), Vector2( 0, -8 ), Vector2( 0, 0 ) ]
}
tracks/4/type = "value"
tracks/4/path = NodePath("Sprite2/Light2D2:color")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/keys = {
"times": PoolRealArray( 0, 3, 6 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ Color( 0.65098, 0.964706, 0.588235, 1 ), Color( 0.984314, 0.811765, 0.0196078, 1 ), Color( 0.65098, 0.964706, 0.588235, 1 ) ]
}
tracks/5/type = "value"
tracks/5/path = NodePath("Sprite/Light2D:color")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/keys = {
"times": PoolRealArray( 0, 2, 4, 6 ),
"transitions": PoolRealArray( 1, 1, 1, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 1 ), Color( 0.952941, 0.341176, 0.00784314, 1 ), Color( 0.952941, 0.0313726, 0.0117647, 1 ), Color( 1, 1, 1, 1 ) ]
}

[node name="MainMenu" type="Node2D"]
script = ExtResource( 6 )

[node name="Node2D" type="Node2D" parent="."]
position = Vector2( -51, -39 )
scale = Vector2( 2, 2 )

[node name="Sprite" type="Sprite" parent="Node2D"]
texture = ExtResource( 1 )
centered = false

[node name="Light2D" type="Light2D" parent="Node2D/Sprite"]
position = Vector2( 69.75, 138.75 )
scale = Vector2( 12.3889, 12.3889 )
texture = ExtResource( 3 )
color = Color( 0.976471, 0.670588, 0.503922, 1 )

[node name="Sprite2" type="Sprite" parent="Node2D"]
light_mask = -2147483646
position = Vector2( 0, -2.66667 )
texture = ExtResource( 4 )
centered = false

[node name="Light2D2" type="Light2D" parent="Node2D/Sprite2"]
position = Vector2( 101.75, 162.25 )
scale = Vector2( 12.3889, 12.3889 )
texture = ExtResource( 3 )
color = Color( 0.762092, 0.913725, 0.398693, 1 )
range_item_cull_mask = 3
shadow_enabled = true

[node name="Particles2D" type="Particles2D" parent="Node2D"]
position = Vector2( 87, 175.5 )
amount = 50
lifetime = 2.5
preprocess = 4.0
speed_scale = 0.4
explosiveness = 0.1
process_material = SubResource( 7 )

[node name="Sprite3" type="Sprite" parent="Node2D"]
light_mask = 4
position = Vector2( 0, -4.5 )
texture = ExtResource( 2 )
centered = false

[node name="AnimationPlayer" type="AnimationPlayer" parent="Node2D"]
autoplay = "main"
anims/main = SubResource( 8 )

[node name="CanvasLayer" type="CanvasLayer" parent="."]

[node name="Control" type="NinePatchRect" parent="CanvasLayer"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 15.0
margin_top = 15.0
margin_right = -15.0
margin_bottom = -15.0

[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/Control"]
anchor_left = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -125.0
alignment = 2
__meta__ = {
"_edit_use_anchors_": false
}

[node name="NewGameBtn" type="Button" parent="CanvasLayer/Control/VBoxContainer"]
margin_top = 151.0
margin_right = 125.0
margin_bottom = 178.0
focus_neighbour_bottom = NodePath("../ControlsBtn")
custom_fonts/font = ExtResource( 7 )
text = "New Game"

[node name="ControlsBtn" type="Button" parent="CanvasLayer/Control/VBoxContainer"]
margin_top = 182.0
margin_right = 125.0
margin_bottom = 209.0
focus_neighbour_top = NodePath("../NewGameBtn")
focus_neighbour_bottom = NodePath("../ExitGameBtn")
custom_fonts/font = ExtResource( 7 )
text = "Controls"

[node name="ExitGameBtn" type="Button" parent="CanvasLayer/Control/VBoxContainer"]
margin_top = 213.0
margin_right = 125.0
margin_bottom = 240.0
focus_neighbour_top = NodePath("../ControlsBtn")
custom_fonts/font = ExtResource( 7 )
text = "Exit"

[node name="TextureRect" type="TextureRect" parent="CanvasLayer"]
margin_left = 38.0
margin_top = 35.0
margin_right = 237.0
margin_bottom = 147.0
texture = ExtResource( 5 )
expand = true
stretch_mode = 5
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="pressed" from="CanvasLayer/Control/VBoxContainer/NewGameBtn" to="." method="_on_NewGameBtn_pressed"]
[connection signal="pressed" from="CanvasLayer/Control/VBoxContainer/ControlsBtn" to="." method="_on_ControlsBtn_pressed"]
[connection signal="pressed" from="CanvasLayer/Control/VBoxContainer/ExitGameBtn" to="." method="_on_ExitGameBtn_pressed"]
