85 lines
2.5 KiB
Plaintext
85 lines
2.5 KiB
Plaintext
|
[gd_scene load_steps=9 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/title_background.tres" type="SpriteFrames" id=4]
|
||
|
[ext_resource path="res://scripts/menu/MainMenu.gd" type="Script" id=5]
|
||
|
[ext_resource path="res://images/title_background_campfire.tres" type="SpriteFrames" id=6]
|
||
|
|
||
|
[sub_resource type="StyleBoxEmpty" id=1]
|
||
|
|
||
|
[sub_resource type="StyleBoxEmpty" id=2]
|
||
|
|
||
|
[node name="Node2D" type="Node2D"]
|
||
|
|
||
|
[node name="background" type="AnimatedSprite" parent="."]
|
||
|
frames = ExtResource( 4 )
|
||
|
animation = "start"
|
||
|
centered = false
|
||
|
script = ExtResource( 1 )
|
||
|
|
||
|
[node name="Fire" type="AnimatedSprite" parent="."]
|
||
|
frames = ExtResource( 6 )
|
||
|
animation = "start"
|
||
|
centered = false
|
||
|
script = ExtResource( 1 )
|
||
|
|
||
|
[node name="UI" type="Control" parent="."]
|
||
|
margin_right = 40.0
|
||
|
margin_bottom = 40.0
|
||
|
script = ExtResource( 5 )
|
||
|
__meta__ = {
|
||
|
"_edit_use_anchors_": false
|
||
|
}
|
||
|
|
||
|
[node name="Buttons" type="Control" parent="UI"]
|
||
|
margin_right = 40.0
|
||
|
margin_bottom = 40.0
|
||
|
__meta__ = {
|
||
|
"_edit_use_anchors_": false
|
||
|
}
|
||
|
|
||
|
[node name="PlayButton" type="Button" parent="UI/Buttons"]
|
||
|
anchor_left = 3.875
|
||
|
anchor_top = 1.35
|
||
|
anchor_right = 3.875
|
||
|
anchor_bottom = 1.35
|
||
|
margin_left = -13.3871
|
||
|
margin_top = -17.551
|
||
|
margin_right = 30.6129
|
||
|
margin_bottom = 2.449
|
||
|
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"]
|
||
|
anchor_left = 3.875
|
||
|
anchor_top = 1.35
|
||
|
anchor_right = 3.875
|
||
|
anchor_bottom = 1.35
|
||
|
margin_left = -13.3871
|
||
|
margin_top = 2.449
|
||
|
margin_right = 30.6129
|
||
|
margin_bottom = 22.449
|
||
|
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
|
||
|
}
|
||
|
[connection signal="animation_finished" from="background" to="background" method="_on_background_animation_finished"]
|
||
|
[connection signal="animation_finished" from="Fire" to="Fire" method="_on_background_animation_finished"]
|