mirror of
https://github.com/JohnBreaux/Boat-Battle.git
synced 2025-02-04 12:28:35 +00:00
Click and drag ships, rotate ships
:)
This commit is contained in:
@@ -1,16 +1,22 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
[gd_scene load_steps=10 format=2]
|
||||
|
||||
[ext_resource path="res://assets/game/board_blue.png" type="Texture" id=1]
|
||||
[ext_resource path="res://script/title screen/Title-Screen-Background.png" type="Texture" id=2]
|
||||
[ext_resource path="res://script/game/Gameplay.gd" type="Script" id=3]
|
||||
[ext_resource path="res://assets/game/2longShipS.png" type="Texture" id=4]
|
||||
[ext_resource path="res://assets/game/5longShipS.png" type="Texture" id=5]
|
||||
[ext_resource path="res://assets/game/3longShipBS.png" type="Texture" id=6]
|
||||
[ext_resource path="res://assets/game/4longShipS.png" type="Texture" id=7]
|
||||
[ext_resource path="res://assets/game/3longShipAS.png" type="Texture" id=8]
|
||||
[ext_resource path="res://script/game/moveShip.gd" type="Script" id=9]
|
||||
|
||||
[node name="Game" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.889
|
||||
margin_left = -0.5
|
||||
margin_top = 1.37003
|
||||
margin_top = 0.740086
|
||||
margin_right = -0.5
|
||||
margin_bottom = 41.33
|
||||
margin_bottom = 40.7
|
||||
script = ExtResource( 3 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
@@ -19,15 +25,40 @@ __meta__ = {
|
||||
[node name="board_blue" type="Sprite" parent="."]
|
||||
position = Vector2( 187, 178 )
|
||||
texture = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_lock_": true
|
||||
}
|
||||
|
||||
[node name="2longShipS" type="Sprite" parent="board_blue"]
|
||||
position = Vector2( 413.784, -126.581 )
|
||||
texture = ExtResource( 4 )
|
||||
script = ExtResource( 9 )
|
||||
|
||||
[node name="3longShipAS" type="Sprite" parent="board_blue"]
|
||||
position = Vector2( 412.524, 83.826 )
|
||||
texture = ExtResource( 8 )
|
||||
script = ExtResource( 9 )
|
||||
|
||||
[node name="3longShipBS" type="Sprite" parent="board_blue"]
|
||||
position = Vector2( 413.784, -31.457 )
|
||||
texture = ExtResource( 6 )
|
||||
script = ExtResource( 9 )
|
||||
|
||||
[node name="4longShipS" type="Sprite" parent="board_blue"]
|
||||
position = Vector2( 356.458, 75.006 )
|
||||
texture = ExtResource( 7 )
|
||||
script = ExtResource( 9 )
|
||||
|
||||
[node name="5longShipS" type="Sprite" parent="board_blue"]
|
||||
position = Vector2( 354.568, -88.7834 )
|
||||
texture = ExtResource( 5 )
|
||||
script = ExtResource( 9 )
|
||||
|
||||
[node name="Title-Screen-Background" type="Sprite" parent="."]
|
||||
show_behind_parent = true
|
||||
position = Vector2( 321.081, 179.931 )
|
||||
texture = ExtResource( 2 )
|
||||
flip_h = true
|
||||
__meta__ = {
|
||||
"_edit_lock_": true
|
||||
}
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
anchor_left = 0.912
|
||||
@@ -47,4 +78,15 @@ margin_right = 53.0
|
||||
margin_bottom = 20.0
|
||||
text = "Forfeit"
|
||||
|
||||
[node name="ConfirmationDialog" type="ConfirmationDialog" parent="."]
|
||||
margin_left = 199.156
|
||||
margin_top = 155.6
|
||||
margin_right = 458.156
|
||||
margin_bottom = 225.6
|
||||
window_title = "Are you sure you'd like to forfeit?"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[connection signal="pressed" from="VBoxContainer/Forfeit" to="." method="_on_Forfeit_pressed"]
|
||||
[connection signal="about_to_show" from="ConfirmationDialog" to="." method="_on_ConfirmationDialog_about_to_show"]
|
||||
|
||||
Reference in New Issue
Block a user