diff --git a/asset_dev/dope_explosion.gif b/asset_dev/dope_explosion.gif new file mode 100644 index 0000000..2cae9bc Binary files /dev/null and b/asset_dev/dope_explosion.gif differ diff --git a/assets/sprites/dope_explosion/dope_explosion.tres b/assets/sprites/dope_explosion/dope_explosion.tres new file mode 100644 index 0000000..3b48847 --- /dev/null +++ b/assets/sprites/dope_explosion/dope_explosion.tres @@ -0,0 +1,58 @@ +[gd_resource type="AnimatedTexture" load_steps=18 format=3 uid="uid://2yoipvd107t1"] + +[ext_resource type="Texture2D" uid="uid://chqekagriducf" path="res://assets/sprites/dope_explosion/explosion_01.png" id="1_d0hbp"] +[ext_resource type="Texture2D" uid="uid://djb4jup2y27wq" path="res://assets/sprites/dope_explosion/explosion_02.png" id="2_bjmaj"] +[ext_resource type="Texture2D" uid="uid://jevcsn483blb" path="res://assets/sprites/dope_explosion/explosion_11.png" id="3_21mo1"] +[ext_resource type="Texture2D" uid="uid://2rvfj0y7nebi" path="res://assets/sprites/dope_explosion/explosion_12.png" id="4_qthhk"] +[ext_resource type="Texture2D" uid="uid://dmd5ehswxcln" path="res://assets/sprites/dope_explosion/explosion_13.png" id="5_0684l"] +[ext_resource type="Texture2D" uid="uid://cdlqxt5nuhnh4" path="res://assets/sprites/dope_explosion/explosion_14.png" id="6_y6mm3"] +[ext_resource type="Texture2D" uid="uid://d8y1dfsg5bpn" path="res://assets/sprites/dope_explosion/explosion_15.png" id="7_4d5db"] +[ext_resource type="Texture2D" uid="uid://beq64w121e2qc" path="res://assets/sprites/dope_explosion/explosion_16.png" id="8_icpm3"] +[ext_resource type="Texture2D" uid="uid://cekhbr07t01y0" path="res://assets/sprites/dope_explosion/explosion_17.png" id="9_mv3mc"] +[ext_resource type="Texture2D" uid="uid://d1r2rxhg0ag4m" path="res://assets/sprites/dope_explosion/explosion_03.png" id="10_e4v3n"] +[ext_resource type="Texture2D" uid="uid://7b4mmhs7im5n" path="res://assets/sprites/dope_explosion/explosion_04.png" id="11_7y6m6"] +[ext_resource type="Texture2D" uid="uid://djgx3xsgidr0d" path="res://assets/sprites/dope_explosion/explosion_05.png" id="12_702rw"] +[ext_resource type="Texture2D" uid="uid://b5w0kigbqsnjd" path="res://assets/sprites/dope_explosion/explosion_06.png" id="13_orlo6"] +[ext_resource type="Texture2D" uid="uid://bwotlyctrl3vl" path="res://assets/sprites/dope_explosion/explosion_07.png" id="14_doi0c"] +[ext_resource type="Texture2D" uid="uid://b5jrnjaq065wu" path="res://assets/sprites/dope_explosion/explosion_08.png" id="15_8snwx"] +[ext_resource type="Texture2D" uid="uid://cw0whu63w450u" path="res://assets/sprites/dope_explosion/explosion_09.png" id="16_kbc1f"] +[ext_resource type="Texture2D" uid="uid://bj8isy502gjw6" path="res://assets/sprites/dope_explosion/explosion_10.png" id="17_ip4qp"] + +[resource] +resource_local_to_scene = true +frames = 17 +pause = true +frame_0/texture = ExtResource("1_d0hbp") +frame_0/duration = 0.1 +frame_1/texture = ExtResource("2_bjmaj") +frame_1/duration = 0.1 +frame_2/texture = ExtResource("10_e4v3n") +frame_2/duration = 0.1 +frame_3/texture = ExtResource("11_7y6m6") +frame_3/duration = 0.1 +frame_4/texture = ExtResource("12_702rw") +frame_4/duration = 0.1 +frame_5/texture = ExtResource("13_orlo6") +frame_5/duration = 0.1 +frame_6/texture = ExtResource("14_doi0c") +frame_6/duration = 0.1 +frame_7/texture = ExtResource("15_8snwx") +frame_7/duration = 0.1 +frame_8/texture = ExtResource("16_kbc1f") +frame_8/duration = 0.1 +frame_9/texture = ExtResource("17_ip4qp") +frame_9/duration = 0.1 +frame_10/texture = ExtResource("3_21mo1") +frame_10/duration = 0.1 +frame_11/texture = ExtResource("4_qthhk") +frame_11/duration = 0.1 +frame_12/texture = ExtResource("5_0684l") +frame_12/duration = 0.1 +frame_13/texture = ExtResource("6_y6mm3") +frame_13/duration = 0.1 +frame_14/texture = ExtResource("7_4d5db") +frame_14/duration = 0.1 +frame_15/texture = ExtResource("8_icpm3") +frame_15/duration = 0.1 +frame_16/texture = ExtResource("9_mv3mc") +frame_16/duration = 0.1 diff --git a/assets/sprites/dope_explosion/explosion_01.png b/assets/sprites/dope_explosion/explosion_01.png new file mode 100644 index 0000000..0e24856 --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_01.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:61e852c25cc6b8ee0760ec6b765b026e4848eaf925017c8adb2c4e7b19f01681 +size 2381 diff --git a/assets/sprites/dope_explosion/explosion_01.png.import b/assets/sprites/dope_explosion/explosion_01.png.import new file mode 100644 index 0000000..4e56534 --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_01.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://chqekagriducf" +path.s3tc="res://.godot/imported/explosion_01.png-ea15c98c46d7ced9a98a3d938aafa3d6.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/sprites/dope_explosion/explosion_01.png" +dest_files=["res://.godot/imported/explosion_01.png-ea15c98c46d7ced9a98a3d938aafa3d6.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +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 diff --git a/assets/sprites/dope_explosion/explosion_02.png b/assets/sprites/dope_explosion/explosion_02.png new file mode 100644 index 0000000..0742518 --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_02.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b87a660c450aa77ae73c4d510b844336d313f19e007e2a24f1d01acb5950f8f9 +size 2303 diff --git a/assets/sprites/dope_explosion/explosion_02.png.import b/assets/sprites/dope_explosion/explosion_02.png.import new file mode 100644 index 0000000..8de36bd --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_02.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://djb4jup2y27wq" +path.s3tc="res://.godot/imported/explosion_02.png-6bdf44084d88475de4755061ef9c774f.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/sprites/dope_explosion/explosion_02.png" +dest_files=["res://.godot/imported/explosion_02.png-6bdf44084d88475de4755061ef9c774f.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +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 diff --git a/assets/sprites/dope_explosion/explosion_03.png b/assets/sprites/dope_explosion/explosion_03.png new file mode 100644 index 0000000..a6bd31c --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_03.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c5d32aede9479ac515f568b96782cd8ee9813a53a095cf74d62ad178e7d2fb52 +size 2221 diff --git a/assets/sprites/dope_explosion/explosion_03.png.import b/assets/sprites/dope_explosion/explosion_03.png.import new file mode 100644 index 0000000..1b30e90 --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_03.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://d1r2rxhg0ag4m" +path.s3tc="res://.godot/imported/explosion_03.png-3741482b47d48f53c7163e411676c921.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/sprites/dope_explosion/explosion_03.png" +dest_files=["res://.godot/imported/explosion_03.png-3741482b47d48f53c7163e411676c921.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +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 diff --git a/assets/sprites/dope_explosion/explosion_04.png b/assets/sprites/dope_explosion/explosion_04.png new file mode 100644 index 0000000..1d1d110 --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_04.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a637732882818ac54ec9b3ecefad4a35d19046f7e2885f90d559ef686df4cc62 +size 2066 diff --git a/assets/sprites/dope_explosion/explosion_04.png.import b/assets/sprites/dope_explosion/explosion_04.png.import new file mode 100644 index 0000000..5540914 --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_04.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://7b4mmhs7im5n" +path.s3tc="res://.godot/imported/explosion_04.png-29690fff39e4940b97828e9d3a7201c5.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/sprites/dope_explosion/explosion_04.png" +dest_files=["res://.godot/imported/explosion_04.png-29690fff39e4940b97828e9d3a7201c5.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +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 diff --git a/assets/sprites/dope_explosion/explosion_05.png b/assets/sprites/dope_explosion/explosion_05.png new file mode 100644 index 0000000..bed7bac --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_05.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:644f29652e2077c945127ad80db7734cf9647b926a1c530ba2ce46f464f97c61 +size 1877 diff --git a/assets/sprites/dope_explosion/explosion_05.png.import b/assets/sprites/dope_explosion/explosion_05.png.import new file mode 100644 index 0000000..efc47a8 --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_05.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://djgx3xsgidr0d" +path.s3tc="res://.godot/imported/explosion_05.png-d7d4f42d242024b84d657d700a7397a3.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/sprites/dope_explosion/explosion_05.png" +dest_files=["res://.godot/imported/explosion_05.png-d7d4f42d242024b84d657d700a7397a3.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +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 diff --git a/assets/sprites/dope_explosion/explosion_06.png b/assets/sprites/dope_explosion/explosion_06.png new file mode 100644 index 0000000..37e03e2 --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_06.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e32242e1a9e571d8d190c0feec519d0e6eef01ac9d33d80590e436bd56a4e828 +size 1498 diff --git a/assets/sprites/dope_explosion/explosion_06.png.import b/assets/sprites/dope_explosion/explosion_06.png.import new file mode 100644 index 0000000..384ede3 --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_06.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b5w0kigbqsnjd" +path.s3tc="res://.godot/imported/explosion_06.png-31d0edf502b444bb0800a8140e9a9e34.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/sprites/dope_explosion/explosion_06.png" +dest_files=["res://.godot/imported/explosion_06.png-31d0edf502b444bb0800a8140e9a9e34.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +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 diff --git a/assets/sprites/dope_explosion/explosion_07.png b/assets/sprites/dope_explosion/explosion_07.png new file mode 100644 index 0000000..6abd9d1 --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_07.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f5ad1ac0f3b8093f19c7a946a560d8c055b2ce5404a6e2ac30397498fc065aab +size 1304 diff --git a/assets/sprites/dope_explosion/explosion_07.png.import b/assets/sprites/dope_explosion/explosion_07.png.import new file mode 100644 index 0000000..dfb9886 --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_07.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bwotlyctrl3vl" +path.s3tc="res://.godot/imported/explosion_07.png-2456b0502621a22c875dd250014514e0.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/sprites/dope_explosion/explosion_07.png" +dest_files=["res://.godot/imported/explosion_07.png-2456b0502621a22c875dd250014514e0.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +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 diff --git a/assets/sprites/dope_explosion/explosion_08.png b/assets/sprites/dope_explosion/explosion_08.png new file mode 100644 index 0000000..e4847ec --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_08.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:afcfd94827014875c8a50f1e522a9bbbae4546704b2b49754ff7a3408542f783 +size 1263 diff --git a/assets/sprites/dope_explosion/explosion_08.png.import b/assets/sprites/dope_explosion/explosion_08.png.import new file mode 100644 index 0000000..e1fe920 --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_08.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b5jrnjaq065wu" +path.s3tc="res://.godot/imported/explosion_08.png-103ad47e718348f9a399144a1f0bc1be.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/sprites/dope_explosion/explosion_08.png" +dest_files=["res://.godot/imported/explosion_08.png-103ad47e718348f9a399144a1f0bc1be.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +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 diff --git a/assets/sprites/dope_explosion/explosion_09.png b/assets/sprites/dope_explosion/explosion_09.png new file mode 100644 index 0000000..3077344 --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_09.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b4c3c8555b90dd37cda6f640615255d7e868e56d5e30c335148752ed4bee30b +size 1340 diff --git a/assets/sprites/dope_explosion/explosion_09.png.import b/assets/sprites/dope_explosion/explosion_09.png.import new file mode 100644 index 0000000..946d33f --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_09.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cw0whu63w450u" +path.s3tc="res://.godot/imported/explosion_09.png-3cbb649bbd414406620d278bd39066c9.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/sprites/dope_explosion/explosion_09.png" +dest_files=["res://.godot/imported/explosion_09.png-3cbb649bbd414406620d278bd39066c9.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +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 diff --git a/assets/sprites/dope_explosion/explosion_10.png b/assets/sprites/dope_explosion/explosion_10.png new file mode 100644 index 0000000..72a5723 --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_10.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6fbb75a91535d4c794c74f05d402c8ccd1b5f4d45c02bd73515a7dab95bed4e3 +size 1591 diff --git a/assets/sprites/dope_explosion/explosion_10.png.import b/assets/sprites/dope_explosion/explosion_10.png.import new file mode 100644 index 0000000..b10745d --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_10.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bj8isy502gjw6" +path.s3tc="res://.godot/imported/explosion_10.png-57fecff27a473611c5a8c1e26629554f.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/sprites/dope_explosion/explosion_10.png" +dest_files=["res://.godot/imported/explosion_10.png-57fecff27a473611c5a8c1e26629554f.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +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 diff --git a/assets/sprites/dope_explosion/explosion_11.png b/assets/sprites/dope_explosion/explosion_11.png new file mode 100644 index 0000000..fbe272c --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_11.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b3a0efb36e8cc9d1ee3d4d2cea5d4350dd9de026786b1d67d2624775ecb5d2fe +size 1853 diff --git a/assets/sprites/dope_explosion/explosion_11.png.import b/assets/sprites/dope_explosion/explosion_11.png.import new file mode 100644 index 0000000..13acc7e --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_11.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://jevcsn483blb" +path.s3tc="res://.godot/imported/explosion_11.png-31268dcc8dd3fde767054c54543a85a0.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/sprites/dope_explosion/explosion_11.png" +dest_files=["res://.godot/imported/explosion_11.png-31268dcc8dd3fde767054c54543a85a0.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +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 diff --git a/assets/sprites/dope_explosion/explosion_12.png b/assets/sprites/dope_explosion/explosion_12.png new file mode 100644 index 0000000..572feee --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_12.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:451a7933b8d004a146127c4f4f104c3d7d468bca32b277ea52ac245e2c0f60f5 +size 2039 diff --git a/assets/sprites/dope_explosion/explosion_12.png.import b/assets/sprites/dope_explosion/explosion_12.png.import new file mode 100644 index 0000000..b4deb42 --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_12.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://2rvfj0y7nebi" +path.s3tc="res://.godot/imported/explosion_12.png-17a5c2c7984eae5f9ce67d887299262b.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/sprites/dope_explosion/explosion_12.png" +dest_files=["res://.godot/imported/explosion_12.png-17a5c2c7984eae5f9ce67d887299262b.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +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 diff --git a/assets/sprites/dope_explosion/explosion_13.png b/assets/sprites/dope_explosion/explosion_13.png new file mode 100644 index 0000000..ca1dd1b --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_13.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:359ddd79a25c482e4db40f9086c81910841f24721b541a3e09b9f34de6a36d48 +size 2134 diff --git a/assets/sprites/dope_explosion/explosion_13.png.import b/assets/sprites/dope_explosion/explosion_13.png.import new file mode 100644 index 0000000..516b531 --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_13.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dmd5ehswxcln" +path.s3tc="res://.godot/imported/explosion_13.png-d47096656d64fa3031e82fbf818b2193.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/sprites/dope_explosion/explosion_13.png" +dest_files=["res://.godot/imported/explosion_13.png-d47096656d64fa3031e82fbf818b2193.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +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 diff --git a/assets/sprites/dope_explosion/explosion_14.png b/assets/sprites/dope_explosion/explosion_14.png new file mode 100644 index 0000000..8a11cb3 --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_14.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:52b52258e578f7134ceeb3a76e12393d6be2bf00c108d80137bc985daf1e1372 +size 2197 diff --git a/assets/sprites/dope_explosion/explosion_14.png.import b/assets/sprites/dope_explosion/explosion_14.png.import new file mode 100644 index 0000000..620883b --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_14.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cdlqxt5nuhnh4" +path.s3tc="res://.godot/imported/explosion_14.png-a88792680320ae6175944801610075e0.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/sprites/dope_explosion/explosion_14.png" +dest_files=["res://.godot/imported/explosion_14.png-a88792680320ae6175944801610075e0.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +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 diff --git a/assets/sprites/dope_explosion/explosion_15.png b/assets/sprites/dope_explosion/explosion_15.png new file mode 100644 index 0000000..b397f56 --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_15.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:347592caa783152cbbc7f8373a6ae5bfe2a3880e992706db0c301b7fe22cd939 +size 2316 diff --git a/assets/sprites/dope_explosion/explosion_15.png.import b/assets/sprites/dope_explosion/explosion_15.png.import new file mode 100644 index 0000000..f361502 --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_15.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://d8y1dfsg5bpn" +path.s3tc="res://.godot/imported/explosion_15.png-f284e8ba353bc8d9357cc6cd40a570a5.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/sprites/dope_explosion/explosion_15.png" +dest_files=["res://.godot/imported/explosion_15.png-f284e8ba353bc8d9357cc6cd40a570a5.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +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 diff --git a/assets/sprites/dope_explosion/explosion_16.png b/assets/sprites/dope_explosion/explosion_16.png new file mode 100644 index 0000000..90a22ec --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_16.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a62394e216b9f929f1e35a20c9fbc623cf414550304d343d93865e51f9ba3912 +size 2376 diff --git a/assets/sprites/dope_explosion/explosion_16.png.import b/assets/sprites/dope_explosion/explosion_16.png.import new file mode 100644 index 0000000..226b996 --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_16.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://beq64w121e2qc" +path.s3tc="res://.godot/imported/explosion_16.png-c103231805ba5f296cbaa36dd356c168.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/sprites/dope_explosion/explosion_16.png" +dest_files=["res://.godot/imported/explosion_16.png-c103231805ba5f296cbaa36dd356c168.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +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 diff --git a/assets/sprites/dope_explosion/explosion_17.png b/assets/sprites/dope_explosion/explosion_17.png new file mode 100644 index 0000000..2ee2188 --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_17.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:25b18bf2b8cb2ccba98ebf83cce2d0cc2d387ff22c42f41af299f067fbdefbde +size 2377 diff --git a/assets/sprites/dope_explosion/explosion_17.png.import b/assets/sprites/dope_explosion/explosion_17.png.import new file mode 100644 index 0000000..552cba2 --- /dev/null +++ b/assets/sprites/dope_explosion/explosion_17.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cekhbr07t01y0" +path.s3tc="res://.godot/imported/explosion_17.png-cafb80a5021d1b819bf52a4094e32be5.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/sprites/dope_explosion/explosion_17.png" +dest_files=["res://.godot/imported/explosion_17.png-cafb80a5021d1b819bf52a4094e32be5.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +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 diff --git a/src/player/shot_setup/shot_setup.gd b/src/player/shot_setup/shot_setup.gd index 7c0867a..d69be04 100644 --- a/src/player/shot_setup/shot_setup.gd +++ b/src/player/shot_setup/shot_setup.gd @@ -157,6 +157,8 @@ var _tracking_camera: OrbitalCamera @onready var downswing_timer: Timer = %DownswingTimer @onready var ball_return_timer: Timer = %BallReturnTimer +@onready var explosion_animation: AnimationPlayer = %ExplosionAnimation + @onready var camera_distance := zoom.position.z: set = _set_camera_distance @@ -582,6 +584,10 @@ func _on_ball_return_timer_timeout() -> void: func _on_hitbox_ball_collision(ball: GameBall) -> void: # TODO play animation player.life -= ball.base_damage + game.viewport.hit_lag_big() + game.viewport.screen_shake(ball.base_damage, 0.4) + explosion_animation.play("explode") + # TODO kinematic collisions ## Create a new instance for the given player. diff --git a/src/player/shot_setup/shot_setup.tscn b/src/player/shot_setup/shot_setup.tscn index 3182685..10830e5 100644 --- a/src/player/shot_setup/shot_setup.tscn +++ b/src/player/shot_setup/shot_setup.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=16 format=3 uid="uid://cy7t2tc4y3b4"] +[gd_scene load_steps=22 format=3 uid="uid://cy7t2tc4y3b4"] [ext_resource type="Script" path="res://src/player/shot_setup/shot_setup.gd" id="1_r6ei4"] [ext_resource type="Script" path="res://src/player/shot_setup/ball_point.gd" id="2_e6i3g"] @@ -7,6 +7,7 @@ [ext_resource type="PackedScene" uid="uid://fht6j87o8ecr" path="res://src/ui/3d/projectile_arc/projectile_arc.tscn" id="4_ry2ho"] [ext_resource type="PackedScene" uid="uid://dbdul15c4oblg" path="res://src/ui/3d/projected_target.tscn" id="6_mynqj"] [ext_resource type="Script" path="res://src/player/shot_setup/hitbox.gd" id="7_uh8kn"] +[ext_resource type="Texture2D" uid="uid://2yoipvd107t1" path="res://assets/sprites/dope_explosion/dope_explosion.tres" id="8_5ghmo"] [sub_resource type="Animation" id="Animation_ug2a7"] length = 0.001 @@ -178,6 +179,80 @@ _data = { [sub_resource type="SphereShape3D" id="SphereShape3D_xvvdi"] radius = 1.5 +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_4n2rd"] +transparency = 1 +shading_mode = 0 +albedo_texture = ExtResource("8_5ghmo") +texture_filter = 4 +billboard_mode = 1 +grow = true +grow_amount = 1.0 + +[sub_resource type="QuadMesh" id="QuadMesh_t34ji"] +material = SubResource("StandardMaterial3D_4n2rd") +size = Vector2(2.84, 4) + +[sub_resource type="Animation" id="Animation_vahxw"] +length = 0.001 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("ExplosionMesh:mesh:material:albedo_texture:pause") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [true] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("ExplosionMesh:visible") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [false] +} + +[sub_resource type="Animation" id="Animation_bv1ov"] +resource_name = "explode" +length = 1.618 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("ExplosionMesh:mesh:material:albedo_texture:pause") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 1.618), +"transitions": PackedFloat32Array(1, 1), +"update": 1, +"values": [false, true] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("ExplosionMesh:visible") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0, 1.618), +"transitions": PackedFloat32Array(1, 1), +"update": 1, +"values": [true, false] +} + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_dg262"] +_data = { +"RESET": SubResource("Animation_vahxw"), +"explode": SubResource("Animation_bv1ov") +} + [node name="ShotSetup" type="Node3D"] script = ExtResource("1_r6ei4") @@ -335,6 +410,18 @@ script = ExtResource("7_uh8kn") [node name="CollisionShape3D" type="CollisionShape3D" parent="Hitbox"] shape = SubResource("SphereShape3D_xvvdi") +[node name="ExplosionMesh" type="MeshInstance3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0) +visible = false +mesh = SubResource("QuadMesh_t34ji") + +[node name="ExplosionAnimation" type="AnimationPlayer" parent="ExplosionMesh"] +unique_name_in_owner = true +root_node = NodePath("../..") +libraries = { +"": SubResource("AnimationLibrary_dg262") +} + [connection signal="ball_changed" from="BallPoint" to="." method="_on_game_ball_changed"] [connection signal="timeout" from="DownswingTimer" to="." method="finish_downswing"] [connection signal="timeout" from="BallReturnTimer" to="." method="_on_ball_return_timer_timeout"] diff --git a/src/ui/shot_hud/curve_bar/curve_bar.tscn b/src/ui/shot_hud/curve_bar/curve_bar.tscn index 3d5ded1..49298f5 100644 --- a/src/ui/shot_hud/curve_bar/curve_bar.tscn +++ b/src/ui/shot_hud/curve_bar/curve_bar.tscn @@ -14,6 +14,45 @@ fill_from = Vector2(0.5, 0.02) fill_to = Vector2(0.5, 0.37) metadata/_snap_enabled = true +[sub_resource type="Animation" id="Animation_kfg2n"] +length = 0.001 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("Reticle:rotation") +tracks/0/interp = 2 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [0.0] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("Reticle:scale") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(1, 1)] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("Pivot/ArcBG:color") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Color(0.0352941, 0.0784314, 0.160784, 0.784314)] +} + [sub_resource type="Animation" id="Animation_pt3no"] resource_name = "flourish" length = 0.42 @@ -55,45 +94,6 @@ tracks/2/keys = { "values": [Color(0.0352941, 0.0784314, 0.160784, 0.784314), Color(1, 1, 1, 1), Color(0.0352941, 0.0784314, 0.160784, 0.784314), Color(1, 1, 1, 1), Color(0.0352941, 0.0784314, 0.160784, 0.784314)] } -[sub_resource type="Animation" id="Animation_kfg2n"] -length = 0.001 -tracks/0/type = "value" -tracks/0/imported = false -tracks/0/enabled = true -tracks/0/path = NodePath("Reticle:rotation") -tracks/0/interp = 2 -tracks/0/loop_wrap = true -tracks/0/keys = { -"times": PackedFloat32Array(0), -"transitions": PackedFloat32Array(1), -"update": 0, -"values": [0.0] -} -tracks/1/type = "value" -tracks/1/imported = false -tracks/1/enabled = true -tracks/1/path = NodePath("Reticle:scale") -tracks/1/interp = 1 -tracks/1/loop_wrap = true -tracks/1/keys = { -"times": PackedFloat32Array(0), -"transitions": PackedFloat32Array(1), -"update": 0, -"values": [Vector2(1, 1)] -} -tracks/2/type = "value" -tracks/2/imported = false -tracks/2/enabled = true -tracks/2/path = NodePath("Pivot/ArcBG:color") -tracks/2/interp = 1 -tracks/2/loop_wrap = true -tracks/2/keys = { -"times": PackedFloat32Array(0), -"transitions": PackedFloat32Array(1), -"update": 0, -"values": [Color(0.0352941, 0.0784314, 0.160784, 0.784314)] -} - [sub_resource type="AnimationLibrary" id="AnimationLibrary_eqkfk"] _data = { "RESET": SubResource("Animation_kfg2n"),