1
0
mirror of https://github.com/JohnBreaux/Boat-Battle.git synced 2024-11-15 05:25:57 +00:00
Boat-Battle/godot_ship/scenes/Title Screen.tscn
tommy-l-ngo 8d43475a2f Update Title Screen.tscn
changed button sizing
2021-10-19 23:44:26 -05:00

60 lines
1.7 KiB
Plaintext

[gd_scene load_steps=3 format=2]
[ext_resource path="res://script/title screen/Title-Screen-Background.png" type="Texture" id=1]
[ext_resource path="res://script/title screen/Title Screen.gd" type="Script" id=2]
[node name="Title Node" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Title-Screen-Background" type="Sprite" parent="."]
position = Vector2( 320, 180 )
texture = ExtResource( 1 )
[node name="VBoxContainer" type="VBoxContainer" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -68.077
margin_top = 10.0
margin_right = 68.077
margin_bottom = 102.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Singleplayer" type="Button" parent="VBoxContainer"]
margin_right = 136.0
margin_bottom = 20.0
focus_neighbour_top = NodePath("../Quit")
text = "Single Player"
[node name="Multiplayer" type="Button" parent="VBoxContainer"]
margin_top = 24.0
margin_right = 136.0
margin_bottom = 44.0
text = "Multiplayer"
[node name="Options" type="Button" parent="VBoxContainer"]
margin_top = 48.0
margin_right = 136.0
margin_bottom = 68.0
text = "Options"
[node name="Quit" type="Button" parent="VBoxContainer"]
margin_top = 72.0
margin_right = 136.0
margin_bottom = 92.0
focus_neighbour_bottom = NodePath("../Singleplayer")
text = "Quit"
[connection signal="pressed" from="VBoxContainer/Singleplayer" to="." method="_on_Singleplayer_pressed"]
[connection signal="pressed" from="VBoxContainer/Multiplayer" to="." method="_on_Multiplayer_pressed"]
[connection signal="pressed" from="VBoxContainer/Options" to="." method="_on_Options_pressed"]
[connection signal="pressed" from="VBoxContainer/Quit" to="." method="_on_Quit_pressed"]