crabs-game/scenes/main_menu.tscn

107 lines
3.2 KiB
Plaintext

[gd_scene load_steps=11 format=2]
[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]
[ext_resource path="res://images/main_menu/title_background.tres" type="SpriteFrames" id=4]
[ext_resource path="res://scripts/menu/MainMenu.gd" type="Script" id=5]
[ext_resource path="res://images/main_menu/title_background_campfire.tres" type="SpriteFrames" id=6]
[ext_resource path="res://images/main_menu/titleWithoutEly_loop.tres" type="SpriteFrames" id=7]
[ext_resource path="res://scripts/main_menu.gd" type="Script" id=9]
[sub_resource type="StyleBoxEmpty" id=1]
[sub_resource type="StyleBoxEmpty" id=2]
[node name="Node2D" type="Node2D"]
script = ExtResource( 9 )
[node name="background" type="AnimatedSprite" parent="."]
frames = ExtResource( 7 )
playing = true
centered = false
[node name="ely" type="AnimatedSprite" parent="."]
visible = false
frames = ExtResource( 4 )
animation = "start"
centered = false
script = ExtResource( 1 )
start_delay = 2.0
[node name="fire" type="AnimatedSprite" parent="."]
visible = false
frames = ExtResource( 6 )
animation = "start"
centered = false
script = ExtResource( 1 )
start_delay = 4.0
[node name="UI" type="Control" parent="."]
margin_right = 192.0
margin_bottom = 108.0
script = ExtResource( 5 )
__meta__ = {
"_edit_use_anchors_": false
}
[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
__meta__ = {
"_edit_use_anchors_": false
}
[node name="PlayButton" type="Button" parent="UI/Buttons"]
margin_top = 23.0
margin_right = 118.0
margin_bottom = 37.0
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"]
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 = "Quit"
flat = true
script = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
[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"
[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"]