It's Cow Game! Version 2.04!

This commit is contained in:
PajamaBee 2024-09-19 23:06:51 -05:00
commit a9e1ed9ddd
3148 changed files with 95332 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 444 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b0bopedh8nqg2"
path="res://.godot/imported/CaveDarkWall1.png-85f28fce99bd0175b2b7f2ed7ae89eca.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Locations/Cave/CaveDarkWall1.png"
dest_files=["res://.godot/imported/CaveDarkWall1.png-85f28fce99bd0175b2b7f2ed7ae89eca.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 421 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cn22xtajsxsxd"
path="res://.godot/imported/CaveDarkWall2.png-50d42a587eecd913e357dc2c04766f7f.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Locations/Cave/CaveDarkWall2.png"
dest_files=["res://.godot/imported/CaveDarkWall2.png-50d42a587eecd913e357dc2c04766f7f.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 373 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dcv5831sncgij"
path="res://.godot/imported/CaveDarkWall3.png-4912391e5c7088ffc66cbf9b9b1df870.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Locations/Cave/CaveDarkWall3.png"
dest_files=["res://.godot/imported/CaveDarkWall3.png-4912391e5c7088ffc66cbf9b9b1df870.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 503 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://becotx1nv0x5m"
path="res://.godot/imported/CaveDarkWall4.png-298bea337e5d8e0321046ed1813ec3f6.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Locations/Cave/CaveDarkWall4.png"
dest_files=["res://.godot/imported/CaveDarkWall4.png-298bea337e5d8e0321046ed1813ec3f6.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://4f23sb3aag4k"
path="res://.godot/imported/CaveWall1.png-e32859bc37e3175f3e2fc7f9515e0ab1.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Locations/Cave/CaveWall1.png"
dest_files=["res://.godot/imported/CaveWall1.png-e32859bc37e3175f3e2fc7f9515e0ab1.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 924 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bwpkv4flr3bpo"
path="res://.godot/imported/CaveWall2.png-b4097d439ca4c2e3549b68984c246779.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Locations/Cave/CaveWall2.png"
dest_files=["res://.godot/imported/CaveWall2.png-b4097d439ca4c2e3549b68984c246779.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 735 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c5cd7xgvsrr7n"
path="res://.godot/imported/CaveWall3.png-7e5bb29fc9c21f2a273b601ce0f6d6be.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Locations/Cave/CaveWall3.png"
dest_files=["res://.godot/imported/CaveWall3.png-7e5bb29fc9c21f2a273b601ce0f6d6be.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

View file

@ -0,0 +1,36 @@
extends Node2D
var opened = false
var fullyMoved = false
var moveSpeed = 25
var amountMoved = 0
var amountToMove = 250
var dootsLeft = 20
var readyToCount = false
func _ready():
GameVariables.globalMessage.connect(global_message_recieved)
func _process(delta):
if opened and !fullyMoved:
var amountToMoved = moveSpeed*delta
position.x += amountToMoved
amountMoved += abs(amountToMoved)
if amountMoved >= amountToMove:
fullyMoved = true
func global_message_recieved(message:String):
if readyToCount and message.substr(0,4) == "doot":
dootsLeft -= 1
if dootsLeft <= 0:
open()
func open():
opened = true
func _on_cave_wall_waiting_opened_signal():
readyToCount = true

View file

@ -0,0 +1,40 @@
extends Node2D
var pattern = [2,3,4,5,3,1,2]
var patternIndex = 0
var opened = false
var fullyMoved = false
var moveSpeed = 25
var amountMoved = 0
var amountToMove = 250
func _ready():
GameVariables.globalMessage.connect(global_message_recieved)
func _process(delta):
if opened and !fullyMoved:
var amountToMoved = moveSpeed*delta
position.x += amountToMoved
amountMoved += abs(amountToMoved)
if amountMoved >= amountToMove:
fullyMoved = true
func global_message_recieved(message:String):
if message.substr(0,4) == "doot":
var dootNumber = message.substr(4,5)
if pattern[patternIndex] == int(dootNumber):
patternIndex += 1
if patternIndex >= pattern.size():
open()
patternIndex = 0
else:
patternIndex = 0
if pattern[patternIndex] == int(dootNumber):
patternIndex += 1
func open():
opened = true

View file

@ -0,0 +1,60 @@
extends Node2D
signal openedSignal
var pattern = [1,8,-1,8,1]
var patternIndex = 0
var opened = false
var fullyMoved = false
var moveSpeed = -25
var amountMoved = 0
var amountToMove = 250
var timeWaited = 0
func _ready():
GameVariables.globalMessage.connect(global_message_recieved)
func _process(delta):
if patternIndex < pattern.size() and pattern[patternIndex] == -1:
timeWaited += delta
if timeWaited >= 3:
timeWaited = 0
patternIndex += 1
print("ready")
if opened and !fullyMoved:
var amountToMoved = moveSpeed*delta
position.x += amountToMoved
amountMoved += abs(amountToMoved)
if amountMoved >= amountToMove:
fullyMoved = true
func global_message_recieved(message:String):
if message.substr(0,4) == "doot":
var dootNumber = message.substr(4,5)
if pattern[patternIndex] == -1:
patternIndex = 0
timeWaited = 0
if pattern[patternIndex] == int(dootNumber):
patternIndex += 1
elif pattern[patternIndex] == int(dootNumber):
patternIndex += 1
if patternIndex >= pattern.size():
open()
patternIndex = 0
timeWaited = 0
else:
patternIndex = 0
timeWaited = 0
if pattern[patternIndex] == int(dootNumber):
patternIndex += 1
func open():
opened = true
openedSignal.emit()

View file

@ -0,0 +1,12 @@
extends Location
func initialize_entry_locations():
#From Museum
entryLocations.append(Vector2(-280, 1120))
func initialize_camera_limits():
outside = true
leftCameraLimit = -950
rightCameraLimit = 950
upperCameraLimit = -1150
lowerCameraLimit = 1150

View file

@ -0,0 +1,170 @@
[gd_scene load_steps=21 format=3 uid="uid://cnprve61oweh0"]
[ext_resource type="PackedScene" uid="uid://ds2a1v38jso1e" path="res://Locations/location.tscn" id="1_ba2q4"]
[ext_resource type="Script" path="res://Locations/Cave/MuseumCave.gd" id="2_fpypc"]
[ext_resource type="PackedScene" uid="uid://spicsevifl6g" path="res://Objects/Travel/TravelBox.tscn" id="3_feakk"]
[ext_resource type="Texture2D" uid="uid://dea1o56rwhaxg" path="res://Locations/Cave/MuseumCaveLayout.png" id="3_nx41b"]
[ext_resource type="Texture2D" uid="uid://4f23sb3aag4k" path="res://Locations/Cave/CaveWall1.png" id="5_g4u0r"]
[ext_resource type="Script" path="res://Locations/Cave/CaveWallTheLick.gd" id="5_rakag"]
[ext_resource type="Texture2D" uid="uid://bwpkv4flr3bpo" path="res://Locations/Cave/CaveWall2.png" id="7_8mnqf"]
[ext_resource type="Texture2D" uid="uid://djeftfioxmtc0" path="res://Locations/Cave/MuseumCaveDarkness.png" id="7_g1m2p"]
[ext_resource type="Script" path="res://Locations/Cave/CaveWallWaiting.gd" id="7_upcmp"]
[ext_resource type="Texture2D" uid="uid://c5cd7xgvsrr7n" path="res://Locations/Cave/CaveWall3.png" id="9_4h08q"]
[ext_resource type="Script" path="res://Locations/Cave/CaveWallSolo.gd" id="9_k1r18"]
[ext_resource type="PackedScene" uid="uid://dhk768odtfjjc" path="res://Objects/GroundItems/GroundItem.tscn" id="12_6k74d"]
[ext_resource type="Script" path="res://Items/Dishes/Straw.gd" id="13_bmsxa"]
[ext_resource type="Texture2D" uid="uid://b0bopedh8nqg2" path="res://Locations/Cave/CaveDarkWall1.png" id="14_ck7dx"]
[ext_resource type="Texture2D" uid="uid://cn22xtajsxsxd" path="res://Locations/Cave/CaveDarkWall2.png" id="15_hh0rl"]
[ext_resource type="Texture2D" uid="uid://dcv5831sncgij" path="res://Locations/Cave/CaveDarkWall3.png" id="16_7n440"]
[ext_resource type="Texture2D" uid="uid://becotx1nv0x5m" path="res://Locations/Cave/CaveDarkWall4.png" id="17_egrcw"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_u421q"]
size = Vector2(169, 352)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_erfqk"]
size = Vector2(202.5, 305.5)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_knauj"]
size = Vector2(195, 237)
[node name="MuseumCave" instance=ExtResource("1_ba2q4")]
y_sort_enabled = true
script = ExtResource("2_fpypc")
[node name="Ground" parent="." index="0"]
z_index = -2
position = Vector2(-889, -1272)
scale = Vector2(2, 2)
[node name="CollisionShape2D" parent="Ground/Area2D" index="0"]
position = Vector2(441, 641)
[node name="MuseumCave" type="Sprite2D" parent="." index="1"]
z_index = -3
texture = ExtResource("3_nx41b")
[node name="TravelBox" parent="." index="2" instance=ExtResource("3_feakk")]
z_index = -1
position = Vector2(-270, 1145)
scale = Vector2(1, 0.6)
[node name="Panel" parent="TravelBox/Interactable" index="1"]
offset_left = -49.0
offset_top = -91.6667
offset_right = 51.0
offset_bottom = 8.33334
[node name="AnimatedSprite2D" parent="TravelBox" index="1"]
position = Vector2(1, -41.6667)
[node name="StaticBody2D" parent="TravelBox" index="2"]
visible = false
[node name="Traveller" parent="TravelBox" index="3"]
destinationNames = Array[String](["Museum"])
destinationLocations = Array[int]([14])
destinationEntranceID = Array[int]([1])
[node name="InteractionArea" parent="TravelBox/Traveller" index="0"]
position = Vector2(1, 1.66666)
[node name="CollisionShape2D" parent="TravelBox/Traveller/InteractionArea" index="0"]
position = Vector2(-1, -5)
[node name="CaveWallTheLick" type="Node2D" parent="." index="3"]
z_index = -2
position = Vector2(259, 570)
script = ExtResource("5_rakag")
[node name="CaveWall1" type="Sprite2D" parent="CaveWallTheLick" index="0"]
texture = ExtResource("5_g4u0r")
[node name="StaticBody2D" type="StaticBody2D" parent="CaveWallTheLick" index="1"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="CaveWallTheLick/StaticBody2D" index="0"]
position = Vector2(-11.5, -1)
shape = SubResource("RectangleShape2D_u421q")
[node name="CaveWallWaiting" type="Node2D" parent="." index="4"]
z_index = -2
position = Vector2(-221, 59)
script = ExtResource("7_upcmp")
[node name="CaveWall1" type="Sprite2D" parent="CaveWallWaiting" index="0"]
position = Vector2(6, 22)
scale = Vector2(1, 0.993548)
texture = ExtResource("7_8mnqf")
[node name="StaticBody2D" type="StaticBody2D" parent="CaveWallWaiting" index="1"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="CaveWallWaiting/StaticBody2D" index="0"]
position = Vector2(-1.25, 20.75)
shape = SubResource("RectangleShape2D_erfqk")
[node name="CaveWallSolo" type="Node2D" parent="." index="5"]
z_index = -2
position = Vector2(234, -416)
script = ExtResource("9_k1r18")
[node name="CaveWall1" type="Sprite2D" parent="CaveWallSolo" index="0"]
position = Vector2(-6.5, 64.5)
texture = ExtResource("9_4h08q")
[node name="StaticBody2D" type="StaticBody2D" parent="CaveWallSolo" index="1"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="CaveWallSolo/StaticBody2D" index="0"]
position = Vector2(2.5, 64.5)
shape = SubResource("RectangleShape2D_knauj")
[node name="MuseumCaveDarkness" type="Sprite2D" parent="." index="6"]
z_index = -1
texture = ExtResource("7_g1m2p")
[node name="GroundItem" parent="." index="7" instance=ExtResource("12_6k74d")]
position = Vector2(2, -787)
itemClass = ExtResource("13_bmsxa")
keyItem = true
[node name="Arsonable" parent="GroundItem" index="4"]
disableAddingActions = true
[node name="Weavable" parent="GroundItem" index="6"]
disableAddingActions = true
[node name="StaticBody2D" type="StaticBody2D" parent="." index="8"]
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="StaticBody2D" index="0"]
polygon = PackedVector2Array(-362, 1148, -361, 944, -354, 827, -341, 782, -317, 759, -302, 753, -261, 751, -187, 749, -147, 744, -4, 743, 27, 746, 57, 742, 107, 746, 128, 747, 144, 742, 161, 742, 162, 636, 168, 490, 167, 434, 167, 408, 94, 408, -338, 407, -343, 402, -343, 370, -341, 266, -340, 238, -327, 234, -290, 232, -292, 128, -290, -89, -279, -165, -267, -197, -247, -215, -194, -227, -71, -233, 139, -234, 139, -264, 141, -431, 140, -447, 32, -448, -158, -447, -210, -450, -241, -466, -253, -493, -268, -525, -279, -569, -280, -718, -279, -840, 207, -837, 329, -836, 329, -652, 318, -495, 312, -487, 311, -232, 315, -67, 305, -56, 101, -56, -90, -56, -130, -53, -143, -44, -142, 126, -140, 233, 38, 236, 203, 240, 279, 257, 313, 285, 328, 324, 333, 392, 333, 747, 392, 746, 399, 753, 402, 912, -134, 911, -174, 910, -174, 935, -178, 1087, -181, 1153, 939, 1148, 947, -1156, -962, -1148, -948, 1156)
[node name="CaveDarkWall1" type="Sprite2D" parent="." index="9"]
position = Vector2(108, 915)
texture = ExtResource("14_ck7dx")
offset = Vector2(0, -30)
[node name="CaveDarkWall2" type="Sprite2D" parent="." index="10"]
position = Vector2(-84, 410)
texture = ExtResource("15_hh0rl")
offset = Vector2(0, -30)
[node name="CaveDarkWall3" type="Sprite2D" parent="." index="11"]
position = Vector2(84, -44)
texture = ExtResource("16_7n440")
offset = Vector2(0, -30)
[node name="CaveDarkWall4" type="Sprite2D" parent="." index="12"]
position = Vector2(-59, -446)
texture = ExtResource("17_egrcw")
offset = Vector2(0, -33)
[connection signal="openedSignal" from="CaveWallWaiting" to="CaveWallSolo" method="_on_cave_wall_waiting_opened_signal"]
[editable path="TravelBox"]
[editable path="TravelBox/Interactable"]
[editable path="TravelBox/Interactable/ActionMenu"]
[editable path="TravelBox/Traveller"]
[editable path="GroundItem"]
[editable path="GroundItem/Interactable"]
[editable path="GroundItem/Interactable/ActionMenu"]
[editable path="GroundItem/Arsonable"]
[editable path="GroundItem/Pickupable"]
[editable path="GroundItem/Weavable"]

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://djeftfioxmtc0"
path="res://.godot/imported/MuseumCaveDarkness.png-ebe983141d938987a594b5da24ce9d50.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Locations/Cave/MuseumCaveDarkness.png"
dest_files=["res://.godot/imported/MuseumCaveDarkness.png-ebe983141d938987a594b5da24ce9d50.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

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dea1o56rwhaxg"
path="res://.godot/imported/MuseumCaveLayout.png-156dc6ee4923d602dcf8c139ddc7f515.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Locations/Cave/MuseumCaveLayout.png"
dest_files=["res://.godot/imported/MuseumCaveLayout.png-156dc6ee4923d602dcf8c139ddc7f515.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