GMTKJam2021/MainMenu.tscn

101 lines
2.5 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=5 format=2]
2021-06-11 21:35:15 +02:00
[ext_resource path="res://assets/MonoRaccoon.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://MainMenu.gd" type="Script" id=2]
2021-06-11 21:22:59 +02:00
[sub_resource type="DynamicFont" id=1]
size = 58
outline_color = Color( 0.0313726, 0.0313726, 0.0313726, 1 )
font_data = ExtResource( 1 )
2021-06-11 21:22:59 +02:00
[sub_resource type="DynamicFont" id=2]
size = 22
font_data = ExtResource( 1 )
[node name="MarginContainer" type="MarginContainer"]
margin_top = -8.0
margin_right = 1280.0
margin_bottom = 739.0
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ColorRect" type="ColorRect" parent="."]
2021-06-11 21:22:59 +02:00
margin_right = 1280.0
margin_bottom = 747.0
color = Color( 1, 1, 1, 0.447059 )
2021-06-11 21:22:59 +02:00
[node name="VBoxContainer" type="VBoxContainer" parent="ColorRect"]
margin_top = 164.0
margin_right = 1280.0
margin_bottom = 516.0
__meta__ = {
"_edit_use_anchors_": false
}
2021-06-11 21:22:59 +02:00
[node name="Game Over" type="Label" parent="ColorRect/VBoxContainer"]
margin_right = 1280.0
margin_bottom = 59.0
size_flags_horizontal = 3
custom_fonts/font = SubResource( 1 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "City Bounds"
align = 1
2021-06-11 21:22:59 +02:00
[node name="MarginContainer" type="MarginContainer" parent="ColorRect/VBoxContainer"]
margin_top = 63.0
margin_right = 1280.0
margin_bottom = 63.0
__meta__ = {
"_edit_use_anchors_": false
}
2021-06-11 21:22:59 +02:00
[node name="New Game" type="Button" parent="ColorRect/VBoxContainer"]
margin_left = 575.0
margin_top = 67.0
margin_right = 705.0
margin_bottom = 96.0
size_flags_horizontal = 4
custom_fonts/font = SubResource( 2 )
text = "New Game"
2021-06-11 21:22:59 +02:00
[node name="High Scores" type="Button" parent="ColorRect/VBoxContainer"]
margin_left = 567.0
margin_top = 100.0
margin_right = 712.0
margin_bottom = 129.0
2021-06-11 21:35:15 +02:00
size_flags_horizontal = 4
custom_fonts/font = SubResource( 2 )
text = "High Scores"
__meta__ = {
"_edit_use_anchors_": false
}
2021-06-11 21:22:59 +02:00
[node name="Options" type="Button" parent="ColorRect/VBoxContainer"]
margin_left = 590.0
margin_top = 133.0
margin_right = 689.0
margin_bottom = 162.0
2021-06-11 21:35:15 +02:00
size_flags_horizontal = 4
custom_fonts/font = SubResource( 2 )
2021-06-11 21:35:15 +02:00
text = "Options"
__meta__ = {
"_edit_use_anchors_": false
}
2021-06-11 21:22:59 +02:00
[node name="Exit" type="Button" parent="ColorRect/VBoxContainer"]
margin_left = 612.0
margin_top = 166.0
margin_right = 667.0
margin_bottom = 195.0
2021-06-11 21:35:15 +02:00
size_flags_horizontal = 4
custom_fonts/font = SubResource( 2 )
2021-06-11 21:35:15 +02:00
text = "Exit"
__meta__ = {
"_edit_use_anchors_": false
}
2021-06-11 21:22:59 +02:00
[connection signal="pressed" from="ColorRect/VBoxContainer/New Game" to="." method="_on_New_Game_pressed"]
[connection signal="pressed" from="ColorRect/VBoxContainer/Exit" to="." method="_on_Exit_pressed"]