It's Cow Game! Version 2.04!
This commit is contained in:
commit
a9e1ed9ddd
3148 changed files with 95332 additions and 0 deletions
1472
Locations/Beach/Bea3C5D.tmp
Normal file
1472
Locations/Beach/Bea3C5D.tmp
Normal file
File diff suppressed because it is too large
Load diff
49
Locations/Beach/Beach.gd
Normal file
49
Locations/Beach/Beach.gd
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
extends Location
|
||||
|
||||
var itemDryingDelay = 0.6
|
||||
var itemDryingTimer = 0.6
|
||||
|
||||
var waveSpawnDelay = 3.3
|
||||
var waveSpawnTimer = 0
|
||||
|
||||
var waveScene = preload("res://Objects/Beach/Waves/MainWaterWave.tscn")
|
||||
var waveScene2 = preload("res://Objects/Beach/Waves/MainWaterWave2.tscn")
|
||||
|
||||
var waveFlipped = false
|
||||
|
||||
func initialize_entry_locations():
|
||||
#From Park
|
||||
entryLocations.append(Vector2(-400, -2110))
|
||||
#From Forest
|
||||
entryLocations.append(Vector2(550, -2110))
|
||||
|
||||
func _process(delta):
|
||||
if GameVariables.player.swimmingZones.size() == 0:
|
||||
itemDryingTimer -= delta
|
||||
if itemDryingTimer <= 0:
|
||||
itemDryingTimer = itemDryingDelay
|
||||
InventoryManager.dry_player_inventory()
|
||||
|
||||
if waveSpawnTimer <= 0:
|
||||
waveSpawnTimer = waveSpawnDelay
|
||||
spawn_wave()
|
||||
else:
|
||||
waveSpawnTimer -= delta
|
||||
|
||||
func spawn_wave():
|
||||
var newWave
|
||||
if !waveFlipped:
|
||||
newWave = waveScene.instantiate()
|
||||
waveFlipped = true
|
||||
else:
|
||||
newWave = waveScene2.instantiate()
|
||||
waveFlipped = false
|
||||
|
||||
newWave.position = Vector2(65, -1201)
|
||||
$MainWaves.add_child(newWave)
|
||||
|
||||
func initialize_camera_limits():
|
||||
leftCameraLimit = -880
|
||||
rightCameraLimit = 880
|
||||
upperCameraLimit = -2200
|
||||
lowerCameraLimit = 2200
|
||||
BIN
Locations/Beach/Beach.png
Normal file
BIN
Locations/Beach/Beach.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 84 KiB |
34
Locations/Beach/Beach.png.import
Normal file
34
Locations/Beach/Beach.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://clngvnjeqr4bd"
|
||||
path="res://.godot/imported/Beach.png-79a3e6673453740de67399c4aebf158e.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Locations/Beach/Beach.png"
|
||||
dest_files=["res://.godot/imported/Beach.png-79a3e6673453740de67399c4aebf158e.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
1542
Locations/Beach/Beach.tscn
Normal file
1542
Locations/Beach/Beach.tscn
Normal file
File diff suppressed because it is too large
Load diff
BIN
Locations/Beach/Beach2.ase
Normal file
BIN
Locations/Beach/Beach2.ase
Normal file
Binary file not shown.
BIN
Locations/Beach/Beach2.png
Normal file
BIN
Locations/Beach/Beach2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 48 KiB |
34
Locations/Beach/Beach2.png.import
Normal file
34
Locations/Beach/Beach2.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://d0l056p1xotbd"
|
||||
path="res://.godot/imported/Beach2.png-f03201a7d529ec73bcd8de8466d20ba9.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Locations/Beach/Beach2.png"
|
||||
dest_files=["res://.godot/imported/Beach2.png-f03201a7d529ec73bcd8de8466d20ba9.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
Loading…
Add table
Add a link
Reference in a new issue