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

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://da8pqedka2stm"
path="res://.godot/imported/juiceAnim1.png-156d2caf68957f37649b12ba52e50800.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://UI/Juicing/JuiceAnim/juiceAnim1.png"
dest_files=["res://.godot/imported/juiceAnim1.png-156d2caf68957f37649b12ba52e50800.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: 700 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c4j14kwhypmr7"
path="res://.godot/imported/juiceAnim10.png-651c3ad7f5b338729fa6c8eca5a7f67d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://UI/Juicing/JuiceAnim/juiceAnim10.png"
dest_files=["res://.godot/imported/juiceAnim10.png-651c3ad7f5b338729fa6c8eca5a7f67d.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: 631 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c1urafq8k20a5"
path="res://.godot/imported/juiceAnim11.png-695a0162bbb0aa72dc7b020b443f1917.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://UI/Juicing/JuiceAnim/juiceAnim11.png"
dest_files=["res://.godot/imported/juiceAnim11.png-695a0162bbb0aa72dc7b020b443f1917.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: 680 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b3ky6bn4vronw"
path="res://.godot/imported/juiceAnim12.png-8d7579b94a025b9b1d46fe65b3cff135.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://UI/Juicing/JuiceAnim/juiceAnim12.png"
dest_files=["res://.godot/imported/juiceAnim12.png-8d7579b94a025b9b1d46fe65b3cff135.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: 618 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://kchs1ssknsba"
path="res://.godot/imported/juiceAnim13.png-7310a2d2ff2583cbbec4c445f679ac52.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://UI/Juicing/JuiceAnim/juiceAnim13.png"
dest_files=["res://.godot/imported/juiceAnim13.png-7310a2d2ff2583cbbec4c445f679ac52.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: 469 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://nqudfa4jfref"
path="res://.godot/imported/juiceAnim14.png-642c16fab1f103ce29219e79e75ddef6.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://UI/Juicing/JuiceAnim/juiceAnim14.png"
dest_files=["res://.godot/imported/juiceAnim14.png-642c16fab1f103ce29219e79e75ddef6.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: 576 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://5qsrwya1m0it"
path="res://.godot/imported/juiceAnim2.png-ab5c7d2094f5ccb80e26fac24292f637.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://UI/Juicing/JuiceAnim/juiceAnim2.png"
dest_files=["res://.godot/imported/juiceAnim2.png-ab5c7d2094f5ccb80e26fac24292f637.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: 494 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://rd0crhf3meb8"
path="res://.godot/imported/juiceAnim3.png-89fa4577864e2d668ce42f26cbd5f120.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://UI/Juicing/JuiceAnim/juiceAnim3.png"
dest_files=["res://.godot/imported/juiceAnim3.png-89fa4577864e2d668ce42f26cbd5f120.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: 535 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cbx2ymve13krt"
path="res://.godot/imported/juiceAnim4.png-6785a028a8d1c858950f62b521d3355d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://UI/Juicing/JuiceAnim/juiceAnim4.png"
dest_files=["res://.godot/imported/juiceAnim4.png-6785a028a8d1c858950f62b521d3355d.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: 748 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b6o7qhpqcatcw"
path="res://.godot/imported/juiceAnim5.png-f60a9e0513a6a08c750feda44d46cee4.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://UI/Juicing/JuiceAnim/juiceAnim5.png"
dest_files=["res://.godot/imported/juiceAnim5.png-f60a9e0513a6a08c750feda44d46cee4.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: 827 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b0jlej8bqxoyj"
path="res://.godot/imported/juiceAnim6.png-0d3c2f6a9a8a20f64cbcd378a1a350ed.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://UI/Juicing/JuiceAnim/juiceAnim6.png"
dest_files=["res://.godot/imported/juiceAnim6.png-0d3c2f6a9a8a20f64cbcd378a1a350ed.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: 776 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c65ln4ew163ju"
path="res://.godot/imported/juiceAnim7.png-dd9800a6cab9325c76326ffee299ab99.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://UI/Juicing/JuiceAnim/juiceAnim7.png"
dest_files=["res://.godot/imported/juiceAnim7.png-dd9800a6cab9325c76326ffee299ab99.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: 912 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ulxw3vmw1kwp"
path="res://.godot/imported/juiceAnim8.png-96f44e15372168ed72fca3b84489cad1.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://UI/Juicing/JuiceAnim/juiceAnim8.png"
dest_files=["res://.godot/imported/juiceAnim8.png-96f44e15372168ed72fca3b84489cad1.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: 779 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dytyevikq0jwp"
path="res://.godot/imported/juiceAnim9.png-5916ed6c803520a06cd5899409540221.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://UI/Juicing/JuiceAnim/juiceAnim9.png"
dest_files=["res://.godot/imported/juiceAnim9.png-5916ed6c803520a06cd5899409540221.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

BIN
UI/Juicing/Juicer.ase Normal file

Binary file not shown.

BIN
UI/Juicing/Juicer1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

View file

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

BIN
UI/Juicing/Juicer2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

View file

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

BIN
UI/Juicing/Juicer3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://7icusg0hgqac"
path="res://.godot/imported/Juicer3.png-3c13a2e28c0e66ed2a6fb2bb21bf97ab.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://UI/Juicing/Juicer3.png"
dest_files=["res://.godot/imported/Juicer3.png-3c13a2e28c0e66ed2a6fb2bb21bf97ab.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

BIN
UI/Juicing/Juicer4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://m6rypsqeoro8"
path="res://.godot/imported/Juicer4.png-342b6c56bf10514add4433c0593138d0.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://UI/Juicing/Juicer4.png"
dest_files=["res://.godot/imported/Juicer4.png-342b6c56bf10514add4433c0593138d0.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

252
UI/Juicing/juiceAnim.tscn Normal file
View file

@ -0,0 +1,252 @@
[gd_scene load_steps=20 format=3 uid="uid://blcc3jw5ao3q4"]
[ext_resource type="Texture2D" uid="uid://c3m2e2k7pa3al" path="res://Items/Foods/Fruits/Sprites/Apple.png" id="1_bi63s"]
[ext_resource type="Texture2D" uid="uid://da8pqedka2stm" path="res://UI/Juicing/JuiceAnim/juiceAnim1.png" id="2_be7f4"]
[ext_resource type="Texture2D" uid="uid://5qsrwya1m0it" path="res://UI/Juicing/JuiceAnim/juiceAnim2.png" id="3_ssfxw"]
[ext_resource type="Texture2D" uid="uid://rd0crhf3meb8" path="res://UI/Juicing/JuiceAnim/juiceAnim3.png" id="4_adrvw"]
[ext_resource type="Texture2D" uid="uid://cbx2ymve13krt" path="res://UI/Juicing/JuiceAnim/juiceAnim4.png" id="5_45dlg"]
[ext_resource type="Texture2D" uid="uid://b6o7qhpqcatcw" path="res://UI/Juicing/JuiceAnim/juiceAnim5.png" id="6_i6kqx"]
[ext_resource type="Texture2D" uid="uid://b0jlej8bqxoyj" path="res://UI/Juicing/JuiceAnim/juiceAnim6.png" id="7_eev5b"]
[ext_resource type="Texture2D" uid="uid://c65ln4ew163ju" path="res://UI/Juicing/JuiceAnim/juiceAnim7.png" id="8_n4mf6"]
[ext_resource type="Texture2D" uid="uid://ulxw3vmw1kwp" path="res://UI/Juicing/JuiceAnim/juiceAnim8.png" id="9_u2ibj"]
[ext_resource type="Texture2D" uid="uid://dytyevikq0jwp" path="res://UI/Juicing/JuiceAnim/juiceAnim9.png" id="10_3e7xv"]
[ext_resource type="Texture2D" uid="uid://c4j14kwhypmr7" path="res://UI/Juicing/JuiceAnim/juiceAnim10.png" id="11_615pt"]
[ext_resource type="Texture2D" uid="uid://c1urafq8k20a5" path="res://UI/Juicing/JuiceAnim/juiceAnim11.png" id="12_kptvy"]
[ext_resource type="Texture2D" uid="uid://b3ky6bn4vronw" path="res://UI/Juicing/JuiceAnim/juiceAnim12.png" id="13_rv0am"]
[ext_resource type="Texture2D" uid="uid://kchs1ssknsba" path="res://UI/Juicing/JuiceAnim/juiceAnim13.png" id="14_4bm02"]
[ext_resource type="Texture2D" uid="uid://nqudfa4jfref" path="res://UI/Juicing/JuiceAnim/juiceAnim14.png" id="15_8mmtw"]
[sub_resource type="Animation" id="Animation_bxmsx"]
resource_name = "Juice"
length = 1.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Item:position")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.3, 0.6, 0.7, 0.9, 1.1),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
"update": 0,
"values": [Vector2(6.42857, -123.571), Vector2(38.5714, -90), Vector2(-46.4286, -5), Vector2(-27.1429, 21.4286), Vector2(45, 59.2857), Vector2(19.2857, 89.2857)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Juice:frame")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [0]
}
tracks/2/type = "method"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("Juice")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0, 1.49),
"transitions": PackedFloat32Array(1, 1),
"values": [{
"args": [&"", 1.0, false],
"method": &"play"
}, {
"args": [],
"method": &"stop"
}]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("Juice:visible")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0, 1.5),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [true, false]
}
tracks/4/type = "value"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("Item:self_modulate")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = {
"times": PackedFloat32Array(0, 0.6, 1.2),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
tracks/5/type = "value"
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/path = NodePath("Juice:modulate")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/keys = {
"times": PackedFloat32Array(0, 0.9),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
[sub_resource type="Animation" id="Animation_8l1at"]
resource_name = "JuiceUnjuiceable"
length = 1.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Item:position")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.3, 0.6, 0.7, 0.9, 1.1, 1.4),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1),
"update": 0,
"values": [Vector2(6.42857, -123.571), Vector2(38.5714, -90), Vector2(-46.4286, -5), Vector2(-27.1429, 21.4286), Vector2(45, 59.2857), Vector2(19.2857, 89.2857), Vector2(-50, 89.286)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Juice:frame")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [0]
}
tracks/2/type = "method"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("Juice")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0, 1.49),
"transitions": PackedFloat32Array(1, 1),
"values": [{
"args": [&"", 1.0, false],
"method": &"play"
}, {
"args": [],
"method": &"stop"
}]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("Juice:visible")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0, 1.5),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [false, false]
}
tracks/4/type = "value"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("Item:self_modulate")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = {
"times": PackedFloat32Array(0, 1.4, 1.5),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
tracks/5/type = "value"
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/path = NodePath("Juice:modulate")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/keys = {
"times": PackedFloat32Array(0, 0.9),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_rpk61"]
_data = {
"Juice": SubResource("Animation_bxmsx"),
"JuiceUnjuiceable": SubResource("Animation_8l1at")
}
[sub_resource type="SpriteFrames" id="SpriteFrames_n4yy1"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_be7f4")
}, {
"duration": 1.0,
"texture": ExtResource("3_ssfxw")
}, {
"duration": 1.0,
"texture": ExtResource("4_adrvw")
}, {
"duration": 1.0,
"texture": ExtResource("5_45dlg")
}, {
"duration": 1.0,
"texture": ExtResource("6_i6kqx")
}, {
"duration": 1.0,
"texture": ExtResource("7_eev5b")
}, {
"duration": 1.0,
"texture": ExtResource("8_n4mf6")
}, {
"duration": 1.0,
"texture": ExtResource("9_u2ibj")
}, {
"duration": 1.0,
"texture": ExtResource("10_3e7xv")
}, {
"duration": 1.0,
"texture": ExtResource("11_615pt")
}, {
"duration": 1.0,
"texture": ExtResource("12_kptvy")
}, {
"duration": 1.0,
"texture": ExtResource("13_rv0am")
}, {
"duration": 1.0,
"texture": ExtResource("14_4bm02")
}, {
"duration": 1.0,
"texture": ExtResource("15_8mmtw")
}],
"loop": false,
"name": &"default",
"speed": 9.0
}]
[node name="JuiceAnim" type="Node2D"]
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_rpk61")
}
[node name="Item" type="Sprite2D" parent="."]
position = Vector2(6.42857, -123.571)
texture = ExtResource("1_bi63s")
[node name="Juice" type="AnimatedSprite2D" parent="."]
visible = false
modulate = Color(1, 1, 1, 0)
self_modulate = Color(1, 0.576471, 0.168627, 1)
sprite_frames = SubResource("SpriteFrames_n4yy1")

View file

@ -0,0 +1,20 @@
extends AnimatedSprite2D
var juiceAnimScene = preload("res://UI/Juicing/juiceAnim.tscn")
func _ready():
play()
func juice_item(item:Item):
var newJuiceAnim = juiceAnimScene.instantiate()
newJuiceAnim.get_node("Item").texture = item.get_sprite()
newJuiceAnim.get_node("Juice").self_modulate = SpriteGeneration.get_average_color(item.get_sprite().get_image())
newJuiceAnim.get_node("Item").visible = true
if Item.types.Unjuiceable in item.itemTypes:
newJuiceAnim.get_node("AnimationPlayer").play("JuiceUnjuiceable")
else:
newJuiceAnim.get_node("AnimationPlayer").play("Juice")
add_child(newJuiceAnim)

View file

@ -0,0 +1,33 @@
[gd_scene load_steps=7 format=3 uid="uid://b16tycjrc63ll"]
[ext_resource type="Texture2D" uid="uid://cks2r7alhftha" path="res://UI/Juicing/Juicer1.png" id="1_n4erh"]
[ext_resource type="Texture2D" uid="uid://sjs6eomwdd08" path="res://UI/Juicing/Juicer2.png" id="2_crf4w"]
[ext_resource type="Texture2D" uid="uid://7icusg0hgqac" path="res://UI/Juicing/Juicer3.png" id="3_wna67"]
[ext_resource type="Texture2D" uid="uid://m6rypsqeoro8" path="res://UI/Juicing/Juicer4.png" id="4_nlo6b"]
[ext_resource type="Script" path="res://UI/Juicing/juicer_animation.gd" id="5_7pv28"]
[sub_resource type="SpriteFrames" id="SpriteFrames_21f1y"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("1_n4erh")
}, {
"duration": 1.0,
"texture": ExtResource("2_crf4w")
}, {
"duration": 1.0,
"texture": ExtResource("3_wna67")
}, {
"duration": 1.0,
"texture": ExtResource("4_nlo6b")
}],
"loop": true,
"name": &"default",
"speed": 10.0
}]
[node name="JuicerAnimation" type="AnimatedSprite2D"]
scale = Vector2(1.4, 1.4)
sprite_frames = SubResource("SpriteFrames_21f1y")
frame_progress = 0.982845
script = ExtResource("5_7pv28")

View file

@ -0,0 +1,71 @@
extends Window
@onready var inventoryItemDisplayer = %InventoryDisplayer
var playerInventory:Inventory
func _ready():
inventoryItemDisplayer.buttonPressed.connect(juice_item)
func opened():
get_tree().paused = true
playerInventory = InventoryManager.get_inventory()
inventoryItemDisplayer.inventory = playerInventory
inventoryItemDisplayer.update_display()
inventoryItemDisplayer.set_title("Inventory")
func juice_item(item):
%JuicerAnimation.juice_item(item)
#used for tutorial flag
get_tree().call_group("FlagManager", "Juiced")
inventoryItemDisplayer.remove_item(item, 1)
InventoryManager.remove_item_from_inventory(item)
if item.get_name(false) == "Sunflower":
var newItem = preload("res://Items/Foods/Seeds/SunflowerSeed.gd").new()
add_juiced_item(newItem, 5)
elif item.get_name(false) == "Explosive Barrel":
var newItem = preload("res://Items/Artificial/Industrial/Gasoline.gd").new()
add_juiced_item(newItem, 8)
elif item.get_name(false) == "Birch Bark":
var newItem = preload("res://Items/Foods/Liquids/BirchBeer.gd").new()
add_juiced_item(newItem, 1)
else:
var newJuice = JuiceGenerator.generate_juice(item)
add_juiced_item(newJuice)
if item.get_name(false) == "Green Soda":
var newItem = preload("res://Items/Foods/Liquids/GreenSodaCan.gd").new()
add_juiced_item(newItem, 1)
elif item.get_name(false) == "Blue Soda":
var newItem = preload("res://Items/Foods/Liquids/BlueSodaCan.gd").new()
add_juiced_item(newItem, 1)
elif item.get_name(false) == "Sugar Packet":
var newItem = preload("res://Items/Foods/Packaged/EmptySugarPacket.gd").new()
add_juiced_item(newItem, 1)
elif item.get_name(false) == "Ketchup Packet":
var newItem = preload("res://Items/Foods/Packaged/EmptyKetchupPacket.gd").new()
add_juiced_item(newItem, 1)
elif item.get_name(false) == "Relish Packet":
var newItem = preload("res://Items/Foods/Packaged/EmptyRelishPacket.gd").new()
add_juiced_item(newItem, 1)
elif item.get_name(false) == "Wustard Packet":
var newItem = preload("res://Items/Foods/Packaged/EmptyWustardPacket.gd").new()
add_juiced_item(newItem, 1)
elif item.get_name(false) == "Key Packet":
var newItem = preload("res://Items/Artificial/Products/EmptyKeyPacket.gd").new()
add_juiced_item(newItem, 1)
elif item.get_name(false) == "Silica Gel Packet":
var newItem = preload("res://Items/Artificial/Products/EmptySilicaGelPacket.gd").new()
add_juiced_item(newItem, 1)
func add_juiced_item(item, quantity:int = 1):
InventoryManager.add_item_to_inventory(item, quantity)
inventoryItemDisplayer.add_item(item, 0)
func _on_leave_button_pressed():
get_tree().paused = false
hide()

View file

@ -0,0 +1,78 @@
[gd_scene load_steps=5 format=3 uid="uid://dodoaqx11kq4o"]
[ext_resource type="Script" path="res://UI/Juicing/juicing_menu.gd" id="1_h6hpn"]
[ext_resource type="PackedScene" uid="uid://c3ku75p4ep3c7" path="res://UI/Inventory/InventoryDisplayer.tscn" id="2_6n2us"]
[ext_resource type="PackedScene" uid="uid://b16tycjrc63ll" path="res://UI/Juicing/juicer_animation.tscn" id="8_f76qh"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ftmm6"]
bg_color = Color(0.45098, 0.588235, 0.733333, 1)
border_width_left = 4
border_width_top = 4
border_width_right = 4
border_width_bottom = 4
border_color = Color(0, 0.545098, 0.964706, 1)
[node name="JuicingMenu" type="Window"]
process_mode = 3
size = Vector2i(600, 500)
unresizable = true
borderless = true
script = ExtResource("1_h6hpn")
[node name="PanelContainer" type="PanelContainer" parent="."]
custom_minimum_size = Vector2(600, 500)
offset_right = 40.0
offset_bottom = 40.0
theme_override_styles/panel = SubResource("StyleBoxFlat_ftmm6")
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
custom_minimum_size = Vector2(590, 490)
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/separation = 11
[node name="JuicerName" type="Label" parent="PanelContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 0
theme_override_colors/font_color = Color(0.180392, 0.996078, 0.415686, 1)
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
theme_override_constants/outline_size = 8
theme_override_font_sizes/font_size = 32
text = "Juicer 2000"
horizontal_alignment = 1
vertical_alignment = 2
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
theme_override_constants/margin_left = 4
theme_override_constants/margin_right = 4
theme_override_constants/margin_bottom = 2
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/VBoxContainer/MarginContainer"]
layout_mode = 2
size_flags_vertical = 3
[node name="InventoryDisplayer" parent="PanelContainer/VBoxContainer/MarginContainer/HBoxContainer" instance=ExtResource("2_6n2us")]
unique_name_in_owner = true
layout_mode = 2
[node name="PanelContainer" type="PanelContainer" parent="PanelContainer/VBoxContainer/MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
mouse_filter = 2
[node name="JuicerAnimation" parent="PanelContainer/VBoxContainer/MarginContainer/HBoxContainer/PanelContainer" instance=ExtResource("8_f76qh")]
unique_name_in_owner = true
position = Vector2(145, 180)
[node name="MarginContainer2" type="MarginContainer" parent="PanelContainer/VBoxContainer"]
layout_mode = 2
theme_override_constants/margin_bottom = 6
[node name="LeaveButton" type="Button" parent="PanelContainer/VBoxContainer/MarginContainer2"]
layout_mode = 2
size_flags_horizontal = 4
text = "Leave"
[connection signal="pressed" from="PanelContainer/VBoxContainer/MarginContainer2/LeaveButton" to="." method="_on_leave_button_pressed"]