mirror of
https://github.com/kristoferssolo/FuncIt.git
synced 2025-10-21 19:30:35 +00:00
58 lines
1.4 KiB
Plaintext
58 lines
1.4 KiB
Plaintext
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://roboto.tres" type="DynamicFont" id=1]
|
|
[ext_resource path="res://menu.gd" type="Script" id=2]
|
|
|
|
[node name="menu" type="Node2D"]
|
|
position = Vector2( 984, 560 )
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="singleplayer" type="Button" parent="."]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_left = -144.0
|
|
margin_top = -200.0
|
|
margin_right = 156.0
|
|
margin_bottom = -120.0
|
|
custom_fonts/font = ExtResource( 1 )
|
|
text = "Singleplayer"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="host_button" type="Button" parent="."]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_left = -150.0
|
|
margin_top = -90.0
|
|
margin_right = 150.0
|
|
margin_bottom = -10.0001
|
|
custom_fonts/font = ExtResource( 1 )
|
|
text = "Host game"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="join_button" type="Button" parent="."]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_left = -150.0
|
|
margin_top = 10.0
|
|
margin_right = 150.0
|
|
margin_bottom = 90.0
|
|
custom_fonts/font = ExtResource( 1 )
|
|
text = "Join game"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[connection signal="pressed" from="singleplayer" to="." method="_on_singleplayer_pressed"]
|
|
[connection signal="pressed" from="host_button" to="." method="_on_host_button_pressed"]
|
|
[connection signal="pressed" from="join_button" to="." method="_on_join_button_pressed"]
|