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

Major restructuring to better support object-oriented design of the main game logic and UI. This was necessary, I swear.

This commit is contained in:
2021-11-13 04:34:39 -06:00
parent b0995cbd0d
commit 1cb400361d
22 changed files with 251 additions and 241 deletions

View File

@@ -1,6 +1,6 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://script/game/moveShip.gd" type="Script" id=1]
[ext_resource path="res://script/game/SetupShip.gd" type="Script" id=1]
[ext_resource path="res://assets/game/2Ship.png" type="Texture" id=2]
[sub_resource type="RectangleShape2D" id=1]

View File

@@ -1,6 +1,6 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://script/game/moveShip.gd" type="Script" id=1]
[ext_resource path="res://script/game/SetupShip.gd" type="Script" id=1]
[ext_resource path="res://assets/game/3ShipB.png" type="Texture" id=2]
[sub_resource type="RectangleShape2D" id=1]
@@ -16,7 +16,7 @@ script = ExtResource( 1 )
texture = ExtResource( 2 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
scale = Vector2( 0.9, 0.966 )
scale = Vector2( 0.5, 0.833 )
shape = SubResource( 1 )
[node name="Area2D" type="Area2D" parent="."]

View File

@@ -1,6 +1,6 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://script/game/moveShip.gd" type="Script" id=1]
[ext_resource path="res://script/game/SetupShip.gd" type="Script" id=1]
[ext_resource path="res://assets/game/3ShipA.png" type="Texture" id=2]
[sub_resource type="RectangleShape2D" id=1]

View File

@@ -1,6 +1,6 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://script/game/moveShip.gd" type="Script" id=1]
[ext_resource path="res://script/game/SetupShip.gd" type="Script" id=1]
[ext_resource path="res://assets/game/4Ship.png" type="Texture" id=2]
[sub_resource type="RectangleShape2D" id=1]

View File

@@ -1,6 +1,6 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://script/game/moveShip.gd" type="Script" id=1]
[ext_resource path="res://script/game/SetupShip.gd" type="Script" id=1]
[ext_resource path="res://assets/game/5Ship.png" type="Texture" id=2]
[sub_resource type="RectangleShape2D" id=1]