2020-08-20 17:32:24 +02:00
|
|
|
[gd_scene load_steps=11 format=2]
|
2020-08-16 08:50:04 +02:00
|
|
|
|
|
|
|
[ext_resource path="res://scripts/menu/title_background.gd" type="Script" id=1]
|
|
|
|
[ext_resource path="res://fonts/dialog_default_font.tres" type="DynamicFont" id=2]
|
|
|
|
[ext_resource path="res://scripts/menu/MenuButton.gd" type="Script" id=3]
|
2020-08-17 11:51:44 +02:00
|
|
|
[ext_resource path="res://images/main_menu/title_background.tres" type="SpriteFrames" id=4]
|
2020-08-16 08:50:04 +02:00
|
|
|
[ext_resource path="res://scripts/menu/MainMenu.gd" type="Script" id=5]
|
2020-08-17 11:51:44 +02:00
|
|
|
[ext_resource path="res://images/main_menu/title_background_campfire.tres" type="SpriteFrames" id=6]
|
2020-08-20 15:32:23 +02:00
|
|
|
[ext_resource path="res://images/main_menu/titleWithoutEly_loop.tres" type="SpriteFrames" id=7]
|
2020-08-20 16:19:53 +02:00
|
|
|
[ext_resource path="res://scripts/main_menu.gd" type="Script" id=9]
|
2020-08-16 08:50:04 +02:00
|
|
|
|
|
|
|
[sub_resource type="StyleBoxEmpty" id=1]
|
|
|
|
|
|
|
|
[sub_resource type="StyleBoxEmpty" id=2]
|
|
|
|
|
|
|
|
[node name="Node2D" type="Node2D"]
|
2020-08-20 16:19:53 +02:00
|
|
|
script = ExtResource( 9 )
|
2020-08-16 08:50:04 +02:00
|
|
|
|
2020-08-20 15:32:23 +02:00
|
|
|
[node name="background" type="AnimatedSprite" parent="."]
|
|
|
|
frames = ExtResource( 7 )
|
|
|
|
playing = true
|
|
|
|
centered = false
|
|
|
|
|
2020-08-17 11:38:42 +02:00
|
|
|
[node name="ely" type="AnimatedSprite" parent="."]
|
|
|
|
visible = false
|
2020-08-16 08:50:04 +02:00
|
|
|
frames = ExtResource( 4 )
|
|
|
|
animation = "start"
|
|
|
|
centered = false
|
|
|
|
script = ExtResource( 1 )
|
2020-08-17 11:38:42 +02:00
|
|
|
start_delay = 2.0
|
2020-08-16 08:50:04 +02:00
|
|
|
|
2020-08-17 11:38:42 +02:00
|
|
|
[node name="fire" type="AnimatedSprite" parent="."]
|
|
|
|
visible = false
|
2020-08-16 08:50:04 +02:00
|
|
|
frames = ExtResource( 6 )
|
|
|
|
animation = "start"
|
|
|
|
centered = false
|
|
|
|
script = ExtResource( 1 )
|
2020-08-17 11:38:42 +02:00
|
|
|
start_delay = 4.0
|
2020-08-16 08:50:04 +02:00
|
|
|
|
|
|
|
[node name="UI" type="Control" parent="."]
|
2020-08-20 17:45:40 +02:00
|
|
|
margin_right = 192.0
|
|
|
|
margin_bottom = 108.0
|
2020-08-16 08:50:04 +02:00
|
|
|
script = ExtResource( 5 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-08-20 17:45:40 +02:00
|
|
|
[node name="Buttons" type="VBoxContainer" parent="UI"]
|
|
|
|
margin_left = 74.0
|
|
|
|
margin_top = 19.0
|
|
|
|
margin_right = 192.0
|
|
|
|
margin_bottom = 74.0
|
|
|
|
alignment = 2
|
2020-08-16 08:50:04 +02:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="PlayButton" type="Button" parent="UI/Buttons"]
|
2020-08-20 17:45:40 +02:00
|
|
|
margin_top = 23.0
|
|
|
|
margin_right = 118.0
|
|
|
|
margin_bottom = 37.0
|
2020-08-16 08:50:04 +02:00
|
|
|
custom_styles/focus = SubResource( 1 )
|
|
|
|
custom_fonts/font = ExtResource( 2 )
|
|
|
|
custom_colors/font_color = Color( 0.282353, 0.282353, 0.282353, 1 )
|
|
|
|
custom_colors/font_color_hover = Color( 1, 1, 1, 1 )
|
|
|
|
text = "Play"
|
|
|
|
flat = true
|
|
|
|
script = ExtResource( 3 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
scene_to_load = "res://scenes/campfire.tscn"
|
|
|
|
|
|
|
|
[node name="QuitButton" type="Button" parent="UI/Buttons"]
|
2020-08-20 17:45:40 +02:00
|
|
|
margin_top = 41.0
|
|
|
|
margin_right = 118.0
|
|
|
|
margin_bottom = 55.0
|
2020-08-16 08:50:04 +02:00
|
|
|
custom_styles/focus = SubResource( 2 )
|
|
|
|
custom_fonts/font = ExtResource( 2 )
|
|
|
|
custom_colors/font_color = Color( 0.282353, 0.282353, 0.282353, 1 )
|
|
|
|
custom_colors/font_color_hover = Color( 1, 1, 1, 1 )
|
|
|
|
text = "Quit"
|
|
|
|
flat = true
|
|
|
|
script = ExtResource( 3 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-08-20 17:45:40 +02:00
|
|
|
|
|
|
|
[node name="AnotherChoiceButton" type="Button" parent="UI/Buttons"]
|
|
|
|
visible = false
|
|
|
|
margin_top = 41.0
|
|
|
|
margin_right = 118.0
|
|
|
|
margin_bottom = 55.0
|
|
|
|
custom_styles/focus = SubResource( 2 )
|
|
|
|
custom_fonts/font = ExtResource( 2 )
|
|
|
|
custom_colors/font_color = Color( 0.282353, 0.282353, 0.282353, 1 )
|
|
|
|
custom_colors/font_color_hover = Color( 1, 1, 1, 1 )
|
|
|
|
text = "Make another choice"
|
|
|
|
flat = true
|
|
|
|
script = ExtResource( 3 )
|
|
|
|
__meta__ = {
|
|
|
|
"_editor_description_": ""
|
|
|
|
}
|
|
|
|
scene_to_load = "res://scenes/campfire2.tscn"
|
2020-08-17 11:38:42 +02:00
|
|
|
[connection signal="animation_finished" from="ely" to="ely" method="_on_background_animation_finished"]
|
|
|
|
[connection signal="animation_finished" from="fire" to="fire" method="_on_background_animation_finished"]
|