mirror of
https://github.com/Steffo99/pineapple-surf.git
synced 2024-11-21 23:34:21 +00:00
you asked for it: exploding pineapples!
This commit is contained in:
parent
0c7f054155
commit
26b27542d0
39 changed files with 809 additions and 5 deletions
|
@ -20,7 +20,11 @@ Creative Commons: [This work is dedicated to the public domain with CC0 1.0 Univ
|
||||||
|
|
||||||
> Yes, but a credit would be nice
|
> Yes, but a credit would be nice
|
||||||
|
|
||||||
</details>
|
### [Explosion Boom Sticker](https://tenor.com/view/explosion-boom-gif-13902355)
|
||||||
|
|
||||||
|
Unlicensed, multiple copies found on Tenor, should be fine to use in a non-commercial project.
|
||||||
|
|
||||||
|
Will remove if asked, obviously.
|
||||||
|
|
||||||
## Sounds
|
## Sounds
|
||||||
|
|
||||||
|
@ -39,3 +43,7 @@ Creative Commons: [This work is licensed under the Attribution 4.0 License.](htt
|
||||||
### [level up.wav](https://freesound.org/people/MakoFox/sounds/126422/) by MakoFox
|
### [level up.wav](https://freesound.org/people/MakoFox/sounds/126422/) by MakoFox
|
||||||
|
|
||||||
Creative Commons: [This work is licensed under the Attribution 3.0 License.](https://creativecommons.org/licenses/by/3.0/)
|
Creative Commons: [This work is licensed under the Attribution 3.0 License.](https://creativecommons.org/licenses/by/3.0/)
|
||||||
|
|
||||||
|
### [Tremolo explosion](https://freesound.org/people/ProjectsU012/sounds/334265/) by ProjectsU012
|
||||||
|
|
||||||
|
Creative Commons: [This work is licensed under the Attribution 4.0 License.](https://creativecommons.org/licenses/by/4.0/)
|
||||||
|
|
BIN
assets/explosion-0.png
(Stored with Git LFS)
Normal file
BIN
assets/explosion-0.png
(Stored with Git LFS)
Normal file
Binary file not shown.
36
assets/explosion-0.png.import
Normal file
36
assets/explosion-0.png.import
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://d3kaojwkr153h"
|
||||||
|
path.s3tc="res://.godot/imported/explosion-0.png-fecb904b4a86682dbc747b5faf02133d.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/explosion-0.png-fecb904b4a86682dbc747b5faf02133d.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc", "etc2"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/explosion-0.png"
|
||||||
|
dest_files=["res://.godot/imported/explosion-0.png-fecb904b4a86682dbc747b5faf02133d.s3tc.ctex", "res://.godot/imported/explosion-0.png-fecb904b4a86682dbc747b5faf02133d.etc2.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=true
|
||||||
|
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=0
|
BIN
assets/explosion-1.png
(Stored with Git LFS)
Normal file
BIN
assets/explosion-1.png
(Stored with Git LFS)
Normal file
Binary file not shown.
36
assets/explosion-1.png.import
Normal file
36
assets/explosion-1.png.import
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://eu6xgrgvif88"
|
||||||
|
path.s3tc="res://.godot/imported/explosion-1.png-7d499d7a060e73319f96b890ce748f19.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/explosion-1.png-7d499d7a060e73319f96b890ce748f19.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc", "etc2"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/explosion-1.png"
|
||||||
|
dest_files=["res://.godot/imported/explosion-1.png-7d499d7a060e73319f96b890ce748f19.s3tc.ctex", "res://.godot/imported/explosion-1.png-7d499d7a060e73319f96b890ce748f19.etc2.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=true
|
||||||
|
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=0
|
BIN
assets/explosion-10.png
(Stored with Git LFS)
Normal file
BIN
assets/explosion-10.png
(Stored with Git LFS)
Normal file
Binary file not shown.
36
assets/explosion-10.png.import
Normal file
36
assets/explosion-10.png.import
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bssoq34kffcrt"
|
||||||
|
path.s3tc="res://.godot/imported/explosion-10.png-2a3b26b00c96c98949784299ca5970db.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/explosion-10.png-2a3b26b00c96c98949784299ca5970db.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc", "etc2"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/explosion-10.png"
|
||||||
|
dest_files=["res://.godot/imported/explosion-10.png-2a3b26b00c96c98949784299ca5970db.s3tc.ctex", "res://.godot/imported/explosion-10.png-2a3b26b00c96c98949784299ca5970db.etc2.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=true
|
||||||
|
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=0
|
BIN
assets/explosion-11.png
(Stored with Git LFS)
Normal file
BIN
assets/explosion-11.png
(Stored with Git LFS)
Normal file
Binary file not shown.
36
assets/explosion-11.png.import
Normal file
36
assets/explosion-11.png.import
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://cle253gvopdgi"
|
||||||
|
path.s3tc="res://.godot/imported/explosion-11.png-59bd76b1621aee5d3f1d0450826cc6ee.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/explosion-11.png-59bd76b1621aee5d3f1d0450826cc6ee.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc", "etc2"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/explosion-11.png"
|
||||||
|
dest_files=["res://.godot/imported/explosion-11.png-59bd76b1621aee5d3f1d0450826cc6ee.s3tc.ctex", "res://.godot/imported/explosion-11.png-59bd76b1621aee5d3f1d0450826cc6ee.etc2.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=true
|
||||||
|
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=0
|
BIN
assets/explosion-12.png
(Stored with Git LFS)
Normal file
BIN
assets/explosion-12.png
(Stored with Git LFS)
Normal file
Binary file not shown.
36
assets/explosion-12.png.import
Normal file
36
assets/explosion-12.png.import
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bisvup28pj3vu"
|
||||||
|
path.s3tc="res://.godot/imported/explosion-12.png-cdf22428a1b3547e08d4c8f64994bc17.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/explosion-12.png-cdf22428a1b3547e08d4c8f64994bc17.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc", "etc2"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/explosion-12.png"
|
||||||
|
dest_files=["res://.godot/imported/explosion-12.png-cdf22428a1b3547e08d4c8f64994bc17.s3tc.ctex", "res://.godot/imported/explosion-12.png-cdf22428a1b3547e08d4c8f64994bc17.etc2.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=true
|
||||||
|
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=0
|
BIN
assets/explosion-13.png
(Stored with Git LFS)
Normal file
BIN
assets/explosion-13.png
(Stored with Git LFS)
Normal file
Binary file not shown.
36
assets/explosion-13.png.import
Normal file
36
assets/explosion-13.png.import
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://jhvuyc3mkxsw"
|
||||||
|
path.s3tc="res://.godot/imported/explosion-13.png-df6f857625de16977380bdcaa6e9a4a2.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/explosion-13.png-df6f857625de16977380bdcaa6e9a4a2.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc", "etc2"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/explosion-13.png"
|
||||||
|
dest_files=["res://.godot/imported/explosion-13.png-df6f857625de16977380bdcaa6e9a4a2.s3tc.ctex", "res://.godot/imported/explosion-13.png-df6f857625de16977380bdcaa6e9a4a2.etc2.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=true
|
||||||
|
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=0
|
BIN
assets/explosion-14.png
(Stored with Git LFS)
Normal file
BIN
assets/explosion-14.png
(Stored with Git LFS)
Normal file
Binary file not shown.
36
assets/explosion-14.png.import
Normal file
36
assets/explosion-14.png.import
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://v7t1m3w1ra71"
|
||||||
|
path.s3tc="res://.godot/imported/explosion-14.png-2ee71c9658d4cc5992ccb9c98b78fdc7.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/explosion-14.png-2ee71c9658d4cc5992ccb9c98b78fdc7.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc", "etc2"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/explosion-14.png"
|
||||||
|
dest_files=["res://.godot/imported/explosion-14.png-2ee71c9658d4cc5992ccb9c98b78fdc7.s3tc.ctex", "res://.godot/imported/explosion-14.png-2ee71c9658d4cc5992ccb9c98b78fdc7.etc2.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=true
|
||||||
|
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=0
|
BIN
assets/explosion-15.png
(Stored with Git LFS)
Normal file
BIN
assets/explosion-15.png
(Stored with Git LFS)
Normal file
Binary file not shown.
36
assets/explosion-15.png.import
Normal file
36
assets/explosion-15.png.import
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://c133nx6d76drd"
|
||||||
|
path.s3tc="res://.godot/imported/explosion-15.png-e0fb934e7dcf7b38c6d8ae36abd1c822.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/explosion-15.png-e0fb934e7dcf7b38c6d8ae36abd1c822.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc", "etc2"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/explosion-15.png"
|
||||||
|
dest_files=["res://.godot/imported/explosion-15.png-e0fb934e7dcf7b38c6d8ae36abd1c822.s3tc.ctex", "res://.godot/imported/explosion-15.png-e0fb934e7dcf7b38c6d8ae36abd1c822.etc2.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=true
|
||||||
|
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=0
|
BIN
assets/explosion-16.png
(Stored with Git LFS)
Normal file
BIN
assets/explosion-16.png
(Stored with Git LFS)
Normal file
Binary file not shown.
36
assets/explosion-16.png.import
Normal file
36
assets/explosion-16.png.import
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://b40axj1pan8q7"
|
||||||
|
path.s3tc="res://.godot/imported/explosion-16.png-3178469d3b7dd3d37c2bfe6a9c0ee09d.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/explosion-16.png-3178469d3b7dd3d37c2bfe6a9c0ee09d.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc", "etc2"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/explosion-16.png"
|
||||||
|
dest_files=["res://.godot/imported/explosion-16.png-3178469d3b7dd3d37c2bfe6a9c0ee09d.s3tc.ctex", "res://.godot/imported/explosion-16.png-3178469d3b7dd3d37c2bfe6a9c0ee09d.etc2.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=true
|
||||||
|
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=0
|
BIN
assets/explosion-2.png
(Stored with Git LFS)
Normal file
BIN
assets/explosion-2.png
(Stored with Git LFS)
Normal file
Binary file not shown.
36
assets/explosion-2.png.import
Normal file
36
assets/explosion-2.png.import
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://ckmdjo1n5ga86"
|
||||||
|
path.s3tc="res://.godot/imported/explosion-2.png-56d49f3e5dc4906b913dd1c34c73b8bb.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/explosion-2.png-56d49f3e5dc4906b913dd1c34c73b8bb.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc", "etc2"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/explosion-2.png"
|
||||||
|
dest_files=["res://.godot/imported/explosion-2.png-56d49f3e5dc4906b913dd1c34c73b8bb.s3tc.ctex", "res://.godot/imported/explosion-2.png-56d49f3e5dc4906b913dd1c34c73b8bb.etc2.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=true
|
||||||
|
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=0
|
BIN
assets/explosion-3.png
(Stored with Git LFS)
Normal file
BIN
assets/explosion-3.png
(Stored with Git LFS)
Normal file
Binary file not shown.
36
assets/explosion-3.png.import
Normal file
36
assets/explosion-3.png.import
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://cc2cjbpjq3omt"
|
||||||
|
path.s3tc="res://.godot/imported/explosion-3.png-a268d596289a3a741e73b69a84cdc97b.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/explosion-3.png-a268d596289a3a741e73b69a84cdc97b.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc", "etc2"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/explosion-3.png"
|
||||||
|
dest_files=["res://.godot/imported/explosion-3.png-a268d596289a3a741e73b69a84cdc97b.s3tc.ctex", "res://.godot/imported/explosion-3.png-a268d596289a3a741e73b69a84cdc97b.etc2.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=true
|
||||||
|
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=0
|
BIN
assets/explosion-4.png
(Stored with Git LFS)
Normal file
BIN
assets/explosion-4.png
(Stored with Git LFS)
Normal file
Binary file not shown.
36
assets/explosion-4.png.import
Normal file
36
assets/explosion-4.png.import
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://cp3o3dslld45c"
|
||||||
|
path.s3tc="res://.godot/imported/explosion-4.png-20dc097b7efd19d61d91666196e399c0.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/explosion-4.png-20dc097b7efd19d61d91666196e399c0.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc", "etc2"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/explosion-4.png"
|
||||||
|
dest_files=["res://.godot/imported/explosion-4.png-20dc097b7efd19d61d91666196e399c0.s3tc.ctex", "res://.godot/imported/explosion-4.png-20dc097b7efd19d61d91666196e399c0.etc2.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=true
|
||||||
|
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=0
|
BIN
assets/explosion-5.png
(Stored with Git LFS)
Normal file
BIN
assets/explosion-5.png
(Stored with Git LFS)
Normal file
Binary file not shown.
36
assets/explosion-5.png.import
Normal file
36
assets/explosion-5.png.import
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://dmqhn7xartywl"
|
||||||
|
path.s3tc="res://.godot/imported/explosion-5.png-ea2dfe13be3c651ba3cbe58bbd4417a7.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/explosion-5.png-ea2dfe13be3c651ba3cbe58bbd4417a7.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc", "etc2"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/explosion-5.png"
|
||||||
|
dest_files=["res://.godot/imported/explosion-5.png-ea2dfe13be3c651ba3cbe58bbd4417a7.s3tc.ctex", "res://.godot/imported/explosion-5.png-ea2dfe13be3c651ba3cbe58bbd4417a7.etc2.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=true
|
||||||
|
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=0
|
BIN
assets/explosion-6.png
(Stored with Git LFS)
Normal file
BIN
assets/explosion-6.png
(Stored with Git LFS)
Normal file
Binary file not shown.
36
assets/explosion-6.png.import
Normal file
36
assets/explosion-6.png.import
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://d3kwy45lj731i"
|
||||||
|
path.s3tc="res://.godot/imported/explosion-6.png-87864dc0248b9655bb4aa24299d06638.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/explosion-6.png-87864dc0248b9655bb4aa24299d06638.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc", "etc2"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/explosion-6.png"
|
||||||
|
dest_files=["res://.godot/imported/explosion-6.png-87864dc0248b9655bb4aa24299d06638.s3tc.ctex", "res://.godot/imported/explosion-6.png-87864dc0248b9655bb4aa24299d06638.etc2.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=true
|
||||||
|
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=0
|
BIN
assets/explosion-7.png
(Stored with Git LFS)
Normal file
BIN
assets/explosion-7.png
(Stored with Git LFS)
Normal file
Binary file not shown.
36
assets/explosion-7.png.import
Normal file
36
assets/explosion-7.png.import
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://cvr1rcmqkmkbx"
|
||||||
|
path.s3tc="res://.godot/imported/explosion-7.png-c0ef04b895a84b554c70a6f4ec81d92c.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/explosion-7.png-c0ef04b895a84b554c70a6f4ec81d92c.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc", "etc2"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/explosion-7.png"
|
||||||
|
dest_files=["res://.godot/imported/explosion-7.png-c0ef04b895a84b554c70a6f4ec81d92c.s3tc.ctex", "res://.godot/imported/explosion-7.png-c0ef04b895a84b554c70a6f4ec81d92c.etc2.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=true
|
||||||
|
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=0
|
BIN
assets/explosion-8.png
(Stored with Git LFS)
Normal file
BIN
assets/explosion-8.png
(Stored with Git LFS)
Normal file
Binary file not shown.
36
assets/explosion-8.png.import
Normal file
36
assets/explosion-8.png.import
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bas16piibercr"
|
||||||
|
path.s3tc="res://.godot/imported/explosion-8.png-3cd12dffc2f5a53ac25efe75ce91be5e.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/explosion-8.png-3cd12dffc2f5a53ac25efe75ce91be5e.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc", "etc2"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/explosion-8.png"
|
||||||
|
dest_files=["res://.godot/imported/explosion-8.png-3cd12dffc2f5a53ac25efe75ce91be5e.s3tc.ctex", "res://.godot/imported/explosion-8.png-3cd12dffc2f5a53ac25efe75ce91be5e.etc2.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=true
|
||||||
|
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=0
|
BIN
assets/explosion-9.png
(Stored with Git LFS)
Normal file
BIN
assets/explosion-9.png
(Stored with Git LFS)
Normal file
Binary file not shown.
36
assets/explosion-9.png.import
Normal file
36
assets/explosion-9.png.import
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://sh6al31s6ghr"
|
||||||
|
path.s3tc="res://.godot/imported/explosion-9.png-3213f2f338614ce98faf7f4900e79c79.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/explosion-9.png-3213f2f338614ce98faf7f4900e79c79.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc", "etc2"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/explosion-9.png"
|
||||||
|
dest_files=["res://.godot/imported/explosion-9.png-3213f2f338614ce98faf7f4900e79c79.s3tc.ctex", "res://.godot/imported/explosion-9.png-3213f2f338614ce98faf7f4900e79c79.etc2.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=true
|
||||||
|
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=0
|
BIN
assets/explosion.wav
(Stored with Git LFS)
Normal file
BIN
assets/explosion.wav
(Stored with Git LFS)
Normal file
Binary file not shown.
24
assets/explosion.wav.import
Normal file
24
assets/explosion.wav.import
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="wav"
|
||||||
|
type="AudioStreamWAV"
|
||||||
|
uid="uid://tho5brgaucvs"
|
||||||
|
path="res://.godot/imported/explosion.wav-de00f2d0ef23a85998326fdf0ffd33ab.sample"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/explosion.wav"
|
||||||
|
dest_files=["res://.godot/imported/explosion.wav-de00f2d0ef23a85998326fdf0ffd33ab.sample"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
force/8_bit=false
|
||||||
|
force/mono=false
|
||||||
|
force/max_rate=false
|
||||||
|
force/max_rate_hz=44100
|
||||||
|
edit/trim=false
|
||||||
|
edit/normalize=false
|
||||||
|
edit/loop_mode=0
|
||||||
|
edit/loop_begin=0
|
||||||
|
edit/loop_end=-1
|
||||||
|
compress/mode=0
|
80
island/FunnyExplosion.tscn
Normal file
80
island/FunnyExplosion.tscn
Normal file
|
@ -0,0 +1,80 @@
|
||||||
|
[gd_scene load_steps=22 format=3 uid="uid://c7bksket63jcj"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://d3kaojwkr153h" path="res://assets/explosion-0.png" id="1_hxwep"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://eu6xgrgvif88" path="res://assets/explosion-1.png" id="2_2tkr2"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bssoq34kffcrt" path="res://assets/explosion-10.png" id="3_q1jbk"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://cle253gvopdgi" path="res://assets/explosion-11.png" id="4_p8rg3"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bisvup28pj3vu" path="res://assets/explosion-12.png" id="5_i34r0"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://jhvuyc3mkxsw" path="res://assets/explosion-13.png" id="6_5nwwk"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://v7t1m3w1ra71" path="res://assets/explosion-14.png" id="7_41h8t"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://c133nx6d76drd" path="res://assets/explosion-15.png" id="8_cv5xe"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://b40axj1pan8q7" path="res://assets/explosion-16.png" id="9_ynukq"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://ckmdjo1n5ga86" path="res://assets/explosion-2.png" id="10_ohx73"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://cc2cjbpjq3omt" path="res://assets/explosion-3.png" id="11_vop8w"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://cp3o3dslld45c" path="res://assets/explosion-4.png" id="12_06a6x"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://dmqhn7xartywl" path="res://assets/explosion-5.png" id="13_auxjw"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://d3kwy45lj731i" path="res://assets/explosion-6.png" id="14_5bq0b"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://cvr1rcmqkmkbx" path="res://assets/explosion-7.png" id="15_y8upx"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bas16piibercr" path="res://assets/explosion-8.png" id="16_u4l4h"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://sh6al31s6ghr" path="res://assets/explosion-9.png" id="17_p1w8b"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://tho5brgaucvs" path="res://assets/explosion.wav" id="18_8xllm"]
|
||||||
|
|
||||||
|
[sub_resource type="AnimatedTexture" id="AnimatedTexture_ikahs"]
|
||||||
|
frames = 18
|
||||||
|
speed_scale = 5.0
|
||||||
|
frame_0/texture = ExtResource("15_y8upx")
|
||||||
|
frame_1/texture = ExtResource("16_u4l4h")
|
||||||
|
frame_1/duration = 1.0
|
||||||
|
frame_2/texture = ExtResource("17_p1w8b")
|
||||||
|
frame_2/duration = 1.0
|
||||||
|
frame_3/texture = ExtResource("3_q1jbk")
|
||||||
|
frame_3/duration = 1.0
|
||||||
|
frame_4/texture = ExtResource("4_p8rg3")
|
||||||
|
frame_4/duration = 1.0
|
||||||
|
frame_5/texture = ExtResource("5_i34r0")
|
||||||
|
frame_5/duration = 1.0
|
||||||
|
frame_6/texture = ExtResource("6_5nwwk")
|
||||||
|
frame_6/duration = 1.0
|
||||||
|
frame_7/texture = ExtResource("7_41h8t")
|
||||||
|
frame_7/duration = 1.0
|
||||||
|
frame_8/texture = ExtResource("8_cv5xe")
|
||||||
|
frame_8/duration = 1.0
|
||||||
|
frame_9/texture = ExtResource("9_ynukq")
|
||||||
|
frame_9/duration = 1.0
|
||||||
|
frame_10/texture = ExtResource("1_hxwep")
|
||||||
|
frame_10/duration = 1.0
|
||||||
|
frame_11/texture = ExtResource("2_2tkr2")
|
||||||
|
frame_11/duration = 1.0
|
||||||
|
frame_12/texture = ExtResource("10_ohx73")
|
||||||
|
frame_12/duration = 1.0
|
||||||
|
frame_13/texture = ExtResource("11_vop8w")
|
||||||
|
frame_13/duration = 1.0
|
||||||
|
frame_14/texture = ExtResource("12_06a6x")
|
||||||
|
frame_14/duration = 1.0
|
||||||
|
frame_15/texture = ExtResource("13_auxjw")
|
||||||
|
frame_15/duration = 1.0
|
||||||
|
frame_16/texture = ExtResource("14_5bq0b")
|
||||||
|
frame_16/duration = 1.0
|
||||||
|
frame_17/texture = ExtResource("15_y8upx")
|
||||||
|
frame_17/duration = 1.0
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_t6dwm"]
|
||||||
|
render_priority = 1
|
||||||
|
transparency = 1
|
||||||
|
blend_mode = 1
|
||||||
|
shading_mode = 0
|
||||||
|
albedo_texture = SubResource("AnimatedTexture_ikahs")
|
||||||
|
texture_filter = 0
|
||||||
|
billboard_mode = 1
|
||||||
|
billboard_keep_scale = true
|
||||||
|
|
||||||
|
[sub_resource type="PlaneMesh" id="PlaneMesh_wyptu"]
|
||||||
|
orientation = 2
|
||||||
|
|
||||||
|
[node name="FunnyExplosion" type="MeshInstance3D"]
|
||||||
|
material_override = SubResource("StandardMaterial3D_t6dwm")
|
||||||
|
mesh = SubResource("PlaneMesh_wyptu")
|
||||||
|
|
||||||
|
[node name="ExplosionSound" type="AudioStreamPlayer3D" parent="."]
|
||||||
|
stream = ExtResource("18_8xllm")
|
||||||
|
autoplay = true
|
|
@ -1,8 +1,13 @@
|
||||||
extends Node3D
|
extends Node3D
|
||||||
|
|
||||||
|
|
||||||
@export var size_per_prayer = 0.05
|
var score = 0
|
||||||
@export var pitch_per_prayer = 0.02
|
var exploded = false
|
||||||
|
|
||||||
|
@export var size_per_prayer: float = 0.05
|
||||||
|
@export var pitch_per_prayer: float = 0.02
|
||||||
|
@export var explode_at: int = 1
|
||||||
|
@export var explosion_scene: PackedScene = preload("res://island/FunnyExplosion.tscn")
|
||||||
|
|
||||||
@onready var player: Player = Singletons.player
|
@onready var player: Player = Singletons.player
|
||||||
@onready var prayer_area: Area3D = $PrayerArea
|
@onready var prayer_area: Area3D = $PrayerArea
|
||||||
|
@ -10,13 +15,13 @@ extends Node3D
|
||||||
@onready var pineglasses_sound: AudioStreamPlayer3D = $Pineglasses/Growth
|
@onready var pineglasses_sound: AudioStreamPlayer3D = $Pineglasses/Growth
|
||||||
|
|
||||||
|
|
||||||
func _physics_process(_delta):
|
func try_to_collect_fruit():
|
||||||
if prayer_area.overlaps_body(player):
|
if prayer_area.overlaps_body(player):
|
||||||
if player.collected_fruit > 0:
|
if player.collected_fruit > 0:
|
||||||
if not pineglasses_sound.playing:
|
if not pineglasses_sound.playing:
|
||||||
pineglasses_sound.play()
|
pineglasses_sound.play()
|
||||||
player.collected_fruit -= 1
|
player.collected_fruit -= 1
|
||||||
Singletons.score += 1
|
score += 1
|
||||||
pineglasses.scale += Vector3(size_per_prayer, size_per_prayer, size_per_prayer)
|
pineglasses.scale += Vector3(size_per_prayer, size_per_prayer, size_per_prayer)
|
||||||
pineglasses_sound.pitch_scale += pitch_per_prayer
|
pineglasses_sound.pitch_scale += pitch_per_prayer
|
||||||
else:
|
else:
|
||||||
|
@ -25,3 +30,24 @@ func _physics_process(_delta):
|
||||||
else:
|
else:
|
||||||
if pineglasses_sound.playing:
|
if pineglasses_sound.playing:
|
||||||
pineglasses_sound.stop()
|
pineglasses_sound.stop()
|
||||||
|
|
||||||
|
|
||||||
|
func try_to_explode():
|
||||||
|
if not exploded and score >= explode_at:
|
||||||
|
exploded = true
|
||||||
|
var explosion = explosion_scene.instantiate()
|
||||||
|
var explosion_sound = explosion.get_node("ExplosionSound")
|
||||||
|
explosion.position = Vector3(1, 6, -1)
|
||||||
|
explosion.scale = Vector3(2, 2, 2)
|
||||||
|
explosion_sound.connect("finished", win)
|
||||||
|
add_child(explosion)
|
||||||
|
|
||||||
|
|
||||||
|
func win():
|
||||||
|
print("YOU WIN!")
|
||||||
|
queue_free()
|
||||||
|
|
||||||
|
|
||||||
|
func _physics_process(_delta):
|
||||||
|
try_to_collect_fruit()
|
||||||
|
try_to_explode()
|
||||||
|
|
Loading…
Reference in a new issue