1
0
mirror of https://github.com/JohnBreaux/Boat-Battle.git synced 2024-11-14 21:15:58 +00:00

Borders for the board (In progress)

This commit is contained in:
tommy-l-ngo 2021-10-31 20:23:54 -05:00
parent 1e5def8329
commit 6696577a85

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=9 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]
@ -9,6 +9,9 @@
[ext_resource path="res://scenes/ships/3shipA.tscn" type="PackedScene" id=7]
[ext_resource path="res://scenes/ships/4Ship.tscn" type="PackedScene" id=8]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 7.27765, 175.36 )
[node name="Game" type="Control"]
anchor_right = 1.0
anchor_bottom = 0.889
@ -25,6 +28,9 @@ __meta__ = {
position = Vector2( 18, 18 )
texture = ExtResource( 1 )
centered = false
__meta__ = {
"_edit_lock_": true
}
[node name="Title-Screen-Background" type="Sprite" parent="."]
show_behind_parent = true
@ -58,6 +64,7 @@ margin_left = 199.156
margin_top = 155.6
margin_right = 458.156
margin_bottom = 225.6
rect_min_size = Vector2( 150, 52.5 )
window_title = "Are you sure you'd like to forfeit?"
__meta__ = {
"_edit_use_anchors_": false
@ -78,5 +85,28 @@ position = Vector2( 522.911, 218.599 )
[node name="5Ship" parent="." instance=ExtResource( 5 )]
position = Vector2( 607.096, 211.864 )
[node name="Borders" type="Area2D" parent="."]
position = Vector2( 8.87946, 176.974 )
gravity_vec = Vector2( 0, 0 )
gravity = 0.0
[node name="CollisionShape2D" type="CollisionShape2D" parent="Borders"]
shape = SubResource( 1 )
one_way_collision_margin = 0.0
[node name="CollisionShape2D2" type="CollisionShape2D" parent="Borders"]
position = Vector2( 343, 0 )
shape = SubResource( 1 )
[node name="CollisionShape2D3" type="CollisionShape2D" parent="Borders"]
position = Vector2( 171.26, -168.324 )
rotation = 1.5708
shape = SubResource( 1 )
[node name="CollisionShape2D4" type="CollisionShape2D" parent="Borders"]
position = Vector2( 171.26, 173.677 )
rotation = 1.5708
shape = SubResource( 1 )
[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"]