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: 687 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cbmb44kk2dqas"
path="res://.godot/imported/JuiceCafeCounter.png-10aafb44ffc3e11032f7c4eec3ab1242.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Objects/JuiceCafe/Counter/JuiceCafeCounter.png"
dest_files=["res://.godot/imported/JuiceCafeCounter.png-10aafb44ffc3e11032f7c4eec3ab1242.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,27 @@
[gd_scene load_steps=4 format=3 uid="uid://cx6dailgmw0bj"]
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_hbel3"]
[ext_resource type="Texture2D" uid="uid://cbmb44kk2dqas" path="res://Objects/JuiceCafe/Counter/JuiceCafeCounter.png" id="2_qynn4"]
[sub_resource type="SpriteFrames" id="SpriteFrames_w42fa"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_qynn4")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[node name="JuiceCafeCounter" instance=ExtResource("1_hbel3")]
[node name="AnimatedSprite2D" parent="." index="0"]
position = Vector2(19, -12)
sprite_frames = SubResource("SpriteFrames_w42fa")
[node name="StaticBody2D" parent="." index="1"]
position = Vector2(0, -12)
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
polygon = PackedVector2Array(-320, 0, 318, 0, 319, 55, -321, 55)

View file

@ -0,0 +1,23 @@
extends "res://Interactions/Shopping/ShopHaver.gd"
func instantiate_shop_inventory():
var orange = load("res://Items/Foods/Fruits/Orange.gd").new()
var apple = load("res://Items/Foods/Fruits/Apple.gd").new()
var grape = load("res://Items/Foods/Fruits/Grape.gd").new()
var tomato = load("res://Items/Foods/Fruits/Tomato.gd").new()
var noveltyBerry = load("res://Items/Foods/Fruits/NoveltyBerry.gd").new()
var bananaBerry = load("res://Items/Foods/Fruits/BananaBerry.gd").new()
shopInventory = []
shopInventory.append(JuiceGenerator.generate_juice(noveltyBerry))
shopInventory.append(JuiceGenerator.generate_juice(bananaBerry))
shopInventory.append(JuiceGenerator.generate_juice(tomato))
shopInventory.append(JuiceGenerator.generate_juice(orange))
shopInventory.append(JuiceGenerator.generate_juice(apple))
shopInventory.append(JuiceGenerator.generate_juice(grape))
shopInventory.append(orange)
shopInventory.append(apple)
shopInventory.append(grape)
super.instantiate_shop_inventory()

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c0nxuy4a8mna0"
path="res://.godot/imported/Table.png-6aae8a572a6d3395b2d435d3bcc4c308.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Objects/JuiceCafe/Table/Table.png"
dest_files=["res://.godot/imported/Table.png-6aae8a572a6d3395b2d435d3bcc4c308.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,54 @@
[gd_scene load_steps=10 format=3 uid="uid://cylkhfv8ohox3"]
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_210mi"]
[ext_resource type="Texture2D" uid="uid://c0nxuy4a8mna0" path="res://Objects/JuiceCafe/Table/Table.png" id="2_ivgr7"]
[ext_resource type="PackedScene" uid="uid://cgqntk262jowi" path="res://Interactions/Scavenging/scavengeable.tscn" id="3_y4tnm"]
[ext_resource type="Script" path="res://Items/Dishes/Cup.gd" id="4_8e5sk"]
[ext_resource type="PackedScene" uid="uid://bqibe7ha6r5ls" path="res://Interactions/Interactable/interactable.tscn" id="4_f534x"]
[ext_resource type="Script" path="res://Items/Foods/Packaged/SugarPacket.gd" id="5_ud1bm"]
[ext_resource type="Script" path="res://Items/Foods/Snack/Pretzel.gd" id="6_ma06b"]
[sub_resource type="SpriteFrames" id="SpriteFrames_6k2eg"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_ivgr7")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_410gg"]
radius = 56.0357
[node name="JuiceTable" instance=ExtResource("1_210mi")]
[node name="AnimatedSprite2D" parent="." index="0"]
sprite_frames = SubResource("SpriteFrames_6k2eg")
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
position = Vector2(3, 1)
polygon = PackedVector2Array(-10, 49, -10, 31, -31, 26, -47, 16, -62, -1, -3, -1, 55, -1, 40, 17, 26, 26, 3, 31, 3, 49, 8, 53, 8, 62, 1, 68, -8, 68, -14, 62, -15, 54)
[node name="Scavengeable" parent="." index="2" instance=ExtResource("3_y4tnm")]
dropItemClasses = Array[Resource]([ExtResource("4_8e5sk"), ExtResource("5_ud1bm"), ExtResource("6_ma06b")])
dropItemProbabilities = Array[int]([1, 2, 2])
xpRewards = Array[int]([5, 2, 2])
dropItemLocationOffsets = Array[Vector2]([Vector2(-25, -35), Vector2(37, 0), Vector2(-37, 0), Vector2(25, -35), Vector2(0, 12)])
[node name="CollisionShape2D" parent="Scavengeable/InteractionArea" index="0"]
position = Vector2(0, -14)
shape = SubResource("CircleShape2D_410gg")
[node name="Interactable" parent="." index="3" instance=ExtResource("4_f534x")]
[node name="Panel" parent="Interactable" index="1"]
offset_left = -47.0
offset_top = -52.0
offset_right = 47.0
offset_bottom = 18.0
[editable path="Scavengeable"]
[editable path="Interactable"]
[editable path="Interactable/ActionMenu"]

View file

@ -0,0 +1,15 @@
extends "res://Interactions/Shopping/ShopHaver.gd"
func instantiate_shop_inventory():
var orange = load("res://Items/Foods/Fruits/Orange.gd").new()
var apple = load("res://Items/Foods/Fruits/Apple.gd").new()
var grape = load("res://Items/Foods/Fruits/Grape.gd").new()
shopInventory = []
shopInventory.append(orange)
shopInventory.append(apple)
shopInventory.append(grape)
super.instantiate_shop_inventory()

View file

@ -0,0 +1,30 @@
[gd_scene load_steps=3 format=3 uid="uid://ccxcml46e4nxw"]
[ext_resource type="PackedScene" uid="uid://xiad8cmbm2ic" path="res://Objects/Shop/shop.tscn" id="1_oee6i"]
[ext_resource type="Script" path="res://Objects/JuiceCafe/JuiceShop.gd" id="2_krsdn"]
[node name="JuiceShop" instance=ExtResource("1_oee6i")]
[node name="Interactable" parent="." index="0"]
position = Vector2(-1.2, -66.9)
[node name="Panel" parent="Interactable" index="1"]
metadata/_edit_use_anchors_ = true
[node name="AnimatedSprite2D" parent="." index="1"]
position = Vector2(-1.2, -66.9)
scale = Vector2(0.6, 0.6)
[node name="StaticBody2D" parent="." index="2"]
position = Vector2(-1.2, -66.9)
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
visible = false
[node name="ShopHaver" parent="." index="3"]
position = Vector2(-1.2, -66.9)
script = ExtResource("2_krsdn")
[editable path="Interactable"]
[editable path="Interactable/ActionMenu"]
[editable path="ShopHaver"]