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 f420fd9c38 Updated Title Screen
- Added buttons that change scene
- Added Background
2021-10-20 06:22:17 -05:00

60 lines
1.7 KiB
Plaintext

[gd_scene load_steps=3 format=2]
[ext_resource path="res://scenes/Title-Screen-Background.png" type="Texture" id=1]
[ext_resource path="res://scenes/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 = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
margin_left = -46.5
margin_top = -171.0
margin_right = 46.5
margin_bottom = -79.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Singleplayer" type="Button" parent="VBoxContainer"]
margin_right = 93.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 = 93.0
margin_bottom = 44.0
text = "Multiplayer"
[node name="Options" type="Button" parent="VBoxContainer"]
margin_top = 48.0
margin_right = 93.0
margin_bottom = 68.0
text = "Options"
[node name="Quit" type="Button" parent="VBoxContainer"]
margin_top = 72.0
margin_right = 93.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"]