1
0
mirror of https://github.com/JohnBreaux/Boat-Battle.git synced 2025-02-04 12:28:35 +00:00

Merge branch 'game-logic' of https://github.com/StatewideInk/Group12 into game-logic

This commit is contained in:
Chance Atkinson
2021-11-14 00:39:02 -06:00
30 changed files with 172 additions and 1332 deletions

View File

@@ -1,6 +1,5 @@
[gd_scene load_steps=3 format=2]
[gd_scene load_steps=2 format=2]
[ext_resource path="res://assets/backgrounds/dark.png" type="Texture" id=1]
[ext_resource path="res://script/game/Gameplay/Game.gd" type="Script" id=3]
[node name="Game" type="Control"]
@@ -12,15 +11,6 @@ __meta__ = {
"_edit_use_anchors_": false
}
[node name="Background" type="Sprite" parent="."]
show_behind_parent = true
position = Vector2( 321.081, 179.931 )
texture = ExtResource( 1 )
flip_h = true
__meta__ = {
"_edit_lock_": true
}
[node name="Buttons" type="VBoxContainer" parent="."]
anchor_left = 0.912
anchor_top = 0.932
@@ -39,12 +29,22 @@ margin_right = 53.0
margin_bottom = 20.0
text = "Forfeit"
[node name="Button" type="Button" parent="."]
margin_left = 593.0
margin_top = 3.0
margin_right = 636.0
margin_bottom = 23.0
text = "Win"
[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_": ""
}
[connection signal="pressed" from="Buttons/Forfeit" to="." method="_on_Forfeit_pressed"]
[connection signal="button_down" from="Button" to="." method="_on_Button_button_down"]
[connection signal="confirmed" from="ConfirmationDialog" to="." method="_on_ConfirmationDialog_confirmed"]