mirror of
https://github.com/JohnBreaux/Boat-Battle.git
synced 2024-11-14 21:15:58 +00:00
added a grid and made Gameplay.gd
My boats :(
This commit is contained in:
parent
57d6335016
commit
d23bba5498
@ -0,0 +1 @@
|
||||
source_md5="00168b53c9cd61265cf190664db29efd"
|
@ -0,0 +1 @@
|
||||
source_md5="106a395014345c8cc774de6517b1daec"
|
@ -0,0 +1 @@
|
||||
source_md5="d7007c0826320bc9947330c594d307d2"
|
@ -0,0 +1 @@
|
||||
source_md5="278bc0390207207f494ab806902f32fc"
|
@ -0,0 +1 @@
|
||||
source_md5="90a2843c6e6f4d35686a4d7df3fb80c5"
|
@ -0,0 +1 @@
|
||||
source_md5="e158daf627468a5021d76c094cebf989"
|
@ -0,0 +1 @@
|
||||
source_md5="a9439f384e30ad2103fd9cb6d0e7a91f"
|
@ -0,0 +1 @@
|
||||
source_md5="b82d0290f4d4ecad747ca2eaf9fbd88a"
|
@ -0,0 +1 @@
|
||||
source_md5="6458cdf7b31cecf002293127c1a25a1f"
|
@ -0,0 +1 @@
|
||||
source_md5="fb805474b6bfe87e83ccf640c32a76e6"
|
@ -0,0 +1 @@
|
||||
source_md5="ec343778050c59c4d80eed9e7d983c10"
|
@ -0,0 +1,3 @@
|
||||
source_md5="d170428fb8fee49a5eb5678c98b2250a"
|
||||
dest_md5="b0ca5f775a2fc3f7bb0490efd7529b1f"
|
||||
|
Binary file not shown.
@ -0,0 +1,3 @@
|
||||
source_md5="b92638ab580fe79d74bb8107654c3251"
|
||||
dest_md5="63739009bf08a9c44da9311804dd83ec"
|
||||
|
Binary file not shown.
@ -0,0 +1,3 @@
|
||||
source_md5="63dd36a667b0c12811b2125ee52eccfa"
|
||||
dest_md5="6d17cd95e250f32964311c12ff5cfaf8"
|
||||
|
Binary file not shown.
16
godot_ship/Gameplay.gd
Normal file
16
godot_ship/Gameplay.gd
Normal file
@ -0,0 +1,16 @@
|
||||
extends Control
|
||||
|
||||
|
||||
# Declare member variables here. Examples:
|
||||
# var a = 2
|
||||
# var b = "text"
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
#func _process(delta):
|
||||
# pass
|
BIN
godot_ship/assets/game/2longShip.png
Normal file
BIN
godot_ship/assets/game/2longShip.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
29
godot_ship/assets/game/2longShip.png.import
Normal file
29
godot_ship/assets/game/2longShip.png.import
Normal file
@ -0,0 +1,29 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
valid=false
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/game/2longShip.png"
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
godot_ship/assets/game/3longShipA.png
Normal file
BIN
godot_ship/assets/game/3longShipA.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
29
godot_ship/assets/game/3longShipA.png.import
Normal file
29
godot_ship/assets/game/3longShipA.png.import
Normal file
@ -0,0 +1,29 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
valid=false
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/game/3longShipA.png"
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
godot_ship/assets/game/3longShipB.png
Normal file
BIN
godot_ship/assets/game/3longShipB.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
29
godot_ship/assets/game/3longShipB.png.import
Normal file
29
godot_ship/assets/game/3longShipB.png.import
Normal file
@ -0,0 +1,29 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
valid=false
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/game/3longShipB.png"
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
godot_ship/assets/game/4longShip.png
Normal file
BIN
godot_ship/assets/game/4longShip.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
29
godot_ship/assets/game/4longShip.png.import
Normal file
29
godot_ship/assets/game/4longShip.png.import
Normal file
@ -0,0 +1,29 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
valid=false
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/game/4longShip.png"
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
godot_ship/assets/game/5longShip.png
Normal file
BIN
godot_ship/assets/game/5longShip.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 31 KiB |
29
godot_ship/assets/game/5longShip.png.import
Normal file
29
godot_ship/assets/game/5longShip.png.import
Normal file
@ -0,0 +1,29 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
valid=false
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/game/5longShip.png"
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
34
godot_ship/assets/game/board.png.import
Normal file
34
godot_ship/assets/game/board.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/board.png-9e4a38787502ba50f20171816826c39a.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/game/board.png"
|
||||
dest_files=[ "res://.import/board.png-9e4a38787502ba50f20171816826c39a.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
34
godot_ship/assets/game/board_blue.png.import
Normal file
34
godot_ship/assets/game/board_blue.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/board_blue.png-8626e50dfcb57a0efd28af7e65ef2b42.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/game/board_blue.png"
|
||||
dest_files=[ "res://.import/board_blue.png-8626e50dfcb57a0efd28af7e65ef2b42.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
34
godot_ship/assets/game/board_dark.png.import
Normal file
34
godot_ship/assets/game/board_dark.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/board_dark.png-8ab92393097062ca3eabf40325bbb36d.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/game/board_dark.png"
|
||||
dest_files=[ "res://.import/board_dark.png-8ab92393097062ca3eabf40325bbb36d.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
@ -1,9 +1,50 @@
|
||||
[gd_scene format=2]
|
||||
[gd_scene load_steps=4 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]
|
||||
|
||||
[node name="Game" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.889
|
||||
margin_bottom = 39.96
|
||||
margin_left = -0.5
|
||||
margin_top = 1.37003
|
||||
margin_right = -0.5
|
||||
margin_bottom = 41.33
|
||||
script = ExtResource( 3 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="board_blue" type="Sprite" parent="."]
|
||||
position = Vector2( 187, 178 )
|
||||
texture = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_lock_": true
|
||||
}
|
||||
|
||||
[node name="Title-Screen-Background" type="Sprite" parent="."]
|
||||
show_behind_parent = true
|
||||
position = Vector2( 321.081, 179.931 )
|
||||
texture = ExtResource( 2 )
|
||||
flip_h = true
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
anchor_left = 0.912
|
||||
anchor_top = 0.932
|
||||
anchor_right = 0.912
|
||||
anchor_bottom = 0.932
|
||||
margin_left = 0.319946
|
||||
margin_top = 0.47998
|
||||
margin_right = 53.3199
|
||||
margin_bottom = 20.48
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Forfeit" type="Button" parent="VBoxContainer"]
|
||||
margin_right = 53.0
|
||||
margin_bottom = 20.0
|
||||
text = "Forfeit"
|
||||
|
||||
[connection signal="pressed" from="VBoxContainer/Forfeit" to="." method="_on_Forfeit_pressed"]
|
||||
|
19
godot_ship/script/game/Gameplay.gd
Normal file
19
godot_ship/script/game/Gameplay.gd
Normal file
@ -0,0 +1,19 @@
|
||||
extends Control
|
||||
|
||||
|
||||
# Declare member variables here. Examples:
|
||||
# var a = 2
|
||||
# var b = "text"
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
pass # Replace with function body.
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
#func _process(delta):
|
||||
# pass
|
||||
|
||||
|
||||
func _on_Forfeit_pressed():
|
||||
pass # Replace with function body.
|
Loading…
Reference in New Issue
Block a user