mirror of
https://github.com/JohnBreaux/Boat-Battle.git
synced 2024-11-15 05:25:57 +00:00
60 lines
1.5 KiB
Plaintext
60 lines
1.5 KiB
Plaintext
[gd_scene load_steps=2 format=2]
|
|
|
|
[ext_resource path="res://script/game/Gameplay/Game.gd" type="Script" id=3]
|
|
|
|
[node name="Game" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
mouse_filter = 2
|
|
script = ExtResource( 3 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Buttons" type="VBoxContainer" parent="."]
|
|
anchor_left = 0.912
|
|
anchor_top = 0.932
|
|
anchor_right = 0.912
|
|
anchor_bottom = 0.932
|
|
margin_left = -37.68
|
|
margin_top = -329.52
|
|
margin_right = 50.32
|
|
margin_bottom = -305.52
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Forfeit" type="Button" parent="Buttons"]
|
|
margin_right = 88.0
|
|
margin_bottom = 20.0
|
|
text = "Forfeit"
|
|
|
|
[node name="ConfirmationDialog" type="ConfirmationDialog" parent="."]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_left = -111.5
|
|
margin_top = -29.0
|
|
margin_right = 111.5
|
|
margin_bottom = 29.0
|
|
rect_min_size = Vector2( 150, 52.5 )
|
|
window_title = "Forfeit Confirmation..."
|
|
dialog_text = "Are you sure you want to forfeit?"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false,
|
|
"_editor_description_": ""
|
|
}
|
|
|
|
[node name="Button" type="Button" parent="."]
|
|
visible = false
|
|
margin_left = 6.4668
|
|
margin_top = 6.14783
|
|
margin_right = 43.4668
|
|
margin_bottom = 26.1478
|
|
text = "Win"
|
|
|
|
[connection signal="pressed" from="Buttons/Forfeit" to="." method="_on_Forfeit_pressed"]
|
|
[connection signal="confirmed" from="ConfirmationDialog" to="." method="_on_ConfirmationDialog_confirmed"]
|
|
[connection signal="button_down" from="Button" to="." method="_on_Button_button_down"]
|