From aef396151234aa21af4a658ea11f03ea9434961c Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Thu, 14 Apr 2022 16:36:24 +0530 Subject: Graphics and SFX Changes * Adds Background parallax images (not exactly parallax since we have a fixed camera) * Adds SFX * Fixes Pickable collisions and SFX playback --- .../Blue.png-67d03d5d37013954c33d3929f1c8ead9.md5 | 3 + .../Blue.png-67d03d5d37013954c33d3929f1c8ead9.stex | Bin 0 -> 108 bytes .../Blue.png-99b845350a8b7cb68c6cc5bba6d44eeb.md5 | 3 + .../Blue.png-99b845350a8b7cb68c6cc5bba6d44eeb.stex | Bin 0 -> 108 bytes .../Brown.png-150dcd85596b8e4cffe30274d1cab3fe.md5 | 3 + ...Brown.png-150dcd85596b8e4cffe30274d1cab3fe.stex | Bin 0 -> 242 bytes .../Brown.png-a02d499715ee8fbbf390ea5ca381cdb4.md5 | 3 + ...Brown.png-a02d499715ee8fbbf390ea5ca381cdb4.stex | Bin 0 -> 242 bytes .../Gray.png-58a615d2cdd5c7d723a1f0573bdd7ed1.md5 | 3 + .../Gray.png-58a615d2cdd5c7d723a1f0573bdd7ed1.stex | Bin 0 -> 244 bytes .../Gray.png-86eb58dbcab696be1601153a322cc2d3.md5 | 3 + .../Gray.png-86eb58dbcab696be1601153a322cc2d3.stex | Bin 0 -> 244 bytes .../Green.png-76fc8b0704fd40125f1570702f88a265.md5 | 3 + ...Green.png-76fc8b0704fd40125f1570702f88a265.stex | Bin 0 -> 238 bytes .../Green.png-a73a03d0a1febdb864b00265fc9002a0.md5 | 3 + ...Green.png-a73a03d0a1febdb864b00265fc9002a0.stex | Bin 0 -> 238 bytes .../Pink.png-59945329d561b5ef1136740f03dbe479.md5 | 3 + .../Pink.png-59945329d561b5ef1136740f03dbe479.stex | Bin 0 -> 140 bytes .../Pink.png-a067c35975d2ed27845404f5a0d12b7a.md5 | 3 + .../Pink.png-a067c35975d2ed27845404f5a0d12b7a.stex | Bin 0 -> 140 bytes ...Purple.png-3b93a7f8b5ec59ba9c22152d9a19d80d.md5 | 3 + ...urple.png-3b93a7f8b5ec59ba9c22152d9a19d80d.stex | Bin 0 -> 86 bytes ...Purple.png-f83a475191b77e5660227b13583a3921.md5 | 3 + ...urple.png-f83a475191b77e5660227b13583a3921.stex | Bin 0 -> 86 bytes ...Yellow.png-8c5e275313f765d02799362409b1b5fe.md5 | 3 + ...ellow.png-8c5e275313f765d02799362409b1b5fe.stex | Bin 0 -> 180 bytes ...Yellow.png-aa0149917c8f0e2a5f5aa94a63e07f5a.md5 | 3 + ...ellow.png-aa0149917c8f0e2a5f5aa94a63e07f5a.stex | Bin 0 -> 180 bytes .../coin.wav-b287e1be76f15650fa953c52a76a4850.md5 | 3 + ...oin.wav-b287e1be76f15650fa953c52a76a4850.sample | Bin 0 -> 14905 bytes .../coin.wav-e0b3115232d3005d5bf18d2d62cdd59b.md5 | 3 + ...oin.wav-e0b3115232d3005d5bf18d2d62cdd59b.sample | Bin 0 -> 14905 bytes .../death.wav-8591d1c850a531e6d680c433a6e9c93b.md5 | 3 + ...ath.wav-8591d1c850a531e6d680c433a6e9c93b.sample | Bin 0 -> 32913 bytes .../death.wav-f0eccc243df32e7656ed6194637ca93b.md5 | 3 + ...ath.wav-f0eccc243df32e7656ed6194637ca93b.sample | Bin 0 -> 32913 bytes ..._heart.wav-1676102ba0fd35f6f9309cb1a449ca8c.md5 | 3 + ...art.wav-1676102ba0fd35f6f9309cb1a449ca8c.sample | Bin 0 -> 46221 bytes ..._heart.wav-56514903b62b5098edeb68fb84a652a5.md5 | 3 + ...art.wav-56514903b62b5098edeb68fb84a652a5.sample | Bin 0 -> 46221 bytes ...d_item.wav-018b3bdc3b80db7e8e7981fb2514df67.md5 | 3 + ...tem.wav-018b3bdc3b80db7e8e7981fb2514df67.sample | Bin 0 -> 49157 bytes ...d_item.wav-2a2e3b9fbe7c733af4ee7abdb9b245f7.md5 | 3 + ...tem.wav-2a2e3b9fbe7c733af4ee7abdb9b245f7.sample | Bin 0 -> 49157 bytes .../hurt.wav-2cb5c2fa6a1da6cff830b5c940b3b10a.md5 | 3 + ...urt.wav-2cb5c2fa6a1da6cff830b5c940b3b10a.sample | Bin 0 -> 6861 bytes .../hurt.wav-45ff85e7eb266c1db80248e043d7c9a0.md5 | 3 + ...urt.wav-45ff85e7eb266c1db80248e043d7c9a0.sample | Bin 0 -> 6861 bytes .../hurt2.wav-b5b39bca340ff3a1f716efc6a0aad06e.md5 | 3 + ...rt2.wav-b5b39bca340ff3a1f716efc6a0aad06e.sample | Bin 0 -> 6097 bytes .../hurt2.wav-f9bf192020689a696c78601b71de5156.md5 | 3 + ...rt2.wav-f9bf192020689a696c78601b71de5156.sample | Bin 0 -> 6097 bytes ...select.wav-4c9b0e81d8c993e697feb7eeffaed947.md5 | 3 + ...ect.wav-4c9b0e81d8c993e697feb7eeffaed947.sample | Bin 0 -> 4009 bytes ...select.wav-f131fb53b73dc37fe5b99f3d10367c45.md5 | 3 + ...ect.wav-f131fb53b73dc37fe5b99f3d10367c45.sample | Bin 0 -> 4009 bytes backgrounds/Blue.png | Bin 0 -> 298 bytes backgrounds/Blue.png.import | 35 ++ backgrounds/Brown.png | Bin 0 -> 552 bytes backgrounds/Brown.png.import | 35 ++ backgrounds/Gray.png | Bin 0 -> 480 bytes backgrounds/Gray.png.import | 35 ++ backgrounds/Green.png | Bin 0 -> 543 bytes backgrounds/Green.png.import | 35 ++ backgrounds/Pink.png | Bin 0 -> 417 bytes backgrounds/Pink.png.import | 35 ++ backgrounds/Purple.png | Bin 0 -> 249 bytes backgrounds/Purple.png.import | 35 ++ backgrounds/Yellow.png | Bin 0 -> 488 bytes backgrounds/Yellow.png.import | 35 ++ collectables/Apple.gd | 7 +- collectables/Apple.tscn | 8 +- entities/Player.tscn | 28 +- scenes/level1.tscn | 18 +- sfx/coin.wav | Bin 0 -> 14619 bytes sfx/coin.wav.import | 21 ++ sfx/death.wav | Bin 0 -> 32627 bytes sfx/death.wav.import | 21 ++ sfx/found_heart.wav | Bin 0 -> 45934 bytes sfx/found_heart.wav.import | 21 ++ sfx/found_item.wav | Bin 0 -> 48870 bytes sfx/found_item.wav.import | 21 ++ sfx/hurt.wav | Bin 0 -> 6576 bytes sfx/hurt.wav.import | 21 ++ sfx/hurt2.wav | Bin 0 -> 5812 bytes sfx/hurt2.wav.import | 21 ++ sfx/select.wav | Bin 0 -> 3721 bytes sfx/select.wav.import | 21 ++ tileset/main_tileset.tres | 152 ++++++--- tileset/tileset.tscn | 354 ++------------------- 90 files changed, 668 insertions(+), 375 deletions(-) create mode 100644 .import/Blue.png-67d03d5d37013954c33d3929f1c8ead9.md5 create mode 100644 .import/Blue.png-67d03d5d37013954c33d3929f1c8ead9.stex create mode 100644 .import/Blue.png-99b845350a8b7cb68c6cc5bba6d44eeb.md5 create mode 100644 .import/Blue.png-99b845350a8b7cb68c6cc5bba6d44eeb.stex create mode 100644 .import/Brown.png-150dcd85596b8e4cffe30274d1cab3fe.md5 create mode 100644 .import/Brown.png-150dcd85596b8e4cffe30274d1cab3fe.stex create mode 100644 .import/Brown.png-a02d499715ee8fbbf390ea5ca381cdb4.md5 create mode 100644 .import/Brown.png-a02d499715ee8fbbf390ea5ca381cdb4.stex create mode 100644 .import/Gray.png-58a615d2cdd5c7d723a1f0573bdd7ed1.md5 create mode 100644 .import/Gray.png-58a615d2cdd5c7d723a1f0573bdd7ed1.stex create mode 100644 .import/Gray.png-86eb58dbcab696be1601153a322cc2d3.md5 create mode 100644 .import/Gray.png-86eb58dbcab696be1601153a322cc2d3.stex create mode 100644 .import/Green.png-76fc8b0704fd40125f1570702f88a265.md5 create mode 100644 .import/Green.png-76fc8b0704fd40125f1570702f88a265.stex create mode 100644 .import/Green.png-a73a03d0a1febdb864b00265fc9002a0.md5 create mode 100644 .import/Green.png-a73a03d0a1febdb864b00265fc9002a0.stex create mode 100644 .import/Pink.png-59945329d561b5ef1136740f03dbe479.md5 create mode 100644 .import/Pink.png-59945329d561b5ef1136740f03dbe479.stex create mode 100644 .import/Pink.png-a067c35975d2ed27845404f5a0d12b7a.md5 create mode 100644 .import/Pink.png-a067c35975d2ed27845404f5a0d12b7a.stex create mode 100644 .import/Purple.png-3b93a7f8b5ec59ba9c22152d9a19d80d.md5 create mode 100644 .import/Purple.png-3b93a7f8b5ec59ba9c22152d9a19d80d.stex create mode 100644 .import/Purple.png-f83a475191b77e5660227b13583a3921.md5 create mode 100644 .import/Purple.png-f83a475191b77e5660227b13583a3921.stex create mode 100644 .import/Yellow.png-8c5e275313f765d02799362409b1b5fe.md5 create mode 100644 .import/Yellow.png-8c5e275313f765d02799362409b1b5fe.stex create mode 100644 .import/Yellow.png-aa0149917c8f0e2a5f5aa94a63e07f5a.md5 create mode 100644 .import/Yellow.png-aa0149917c8f0e2a5f5aa94a63e07f5a.stex create mode 100644 .import/coin.wav-b287e1be76f15650fa953c52a76a4850.md5 create mode 100644 .import/coin.wav-b287e1be76f15650fa953c52a76a4850.sample create mode 100644 .import/coin.wav-e0b3115232d3005d5bf18d2d62cdd59b.md5 create mode 100644 .import/coin.wav-e0b3115232d3005d5bf18d2d62cdd59b.sample create mode 100644 .import/death.wav-8591d1c850a531e6d680c433a6e9c93b.md5 create mode 100644 .import/death.wav-8591d1c850a531e6d680c433a6e9c93b.sample create mode 100644 .import/death.wav-f0eccc243df32e7656ed6194637ca93b.md5 create mode 100644 .import/death.wav-f0eccc243df32e7656ed6194637ca93b.sample create mode 100644 .import/found_heart.wav-1676102ba0fd35f6f9309cb1a449ca8c.md5 create mode 100644 .import/found_heart.wav-1676102ba0fd35f6f9309cb1a449ca8c.sample create mode 100644 .import/found_heart.wav-56514903b62b5098edeb68fb84a652a5.md5 create mode 100644 .import/found_heart.wav-56514903b62b5098edeb68fb84a652a5.sample create mode 100644 .import/found_item.wav-018b3bdc3b80db7e8e7981fb2514df67.md5 create mode 100644 .import/found_item.wav-018b3bdc3b80db7e8e7981fb2514df67.sample create mode 100644 .import/found_item.wav-2a2e3b9fbe7c733af4ee7abdb9b245f7.md5 create mode 100644 .import/found_item.wav-2a2e3b9fbe7c733af4ee7abdb9b245f7.sample create mode 100644 .import/hurt.wav-2cb5c2fa6a1da6cff830b5c940b3b10a.md5 create mode 100644 .import/hurt.wav-2cb5c2fa6a1da6cff830b5c940b3b10a.sample create mode 100644 .import/hurt.wav-45ff85e7eb266c1db80248e043d7c9a0.md5 create mode 100644 .import/hurt.wav-45ff85e7eb266c1db80248e043d7c9a0.sample create mode 100644 .import/hurt2.wav-b5b39bca340ff3a1f716efc6a0aad06e.md5 create mode 100644 .import/hurt2.wav-b5b39bca340ff3a1f716efc6a0aad06e.sample create mode 100644 .import/hurt2.wav-f9bf192020689a696c78601b71de5156.md5 create mode 100644 .import/hurt2.wav-f9bf192020689a696c78601b71de5156.sample create mode 100644 .import/select.wav-4c9b0e81d8c993e697feb7eeffaed947.md5 create mode 100644 .import/select.wav-4c9b0e81d8c993e697feb7eeffaed947.sample create mode 100644 .import/select.wav-f131fb53b73dc37fe5b99f3d10367c45.md5 create mode 100644 .import/select.wav-f131fb53b73dc37fe5b99f3d10367c45.sample create mode 100644 backgrounds/Blue.png create mode 100644 backgrounds/Blue.png.import create mode 100644 backgrounds/Brown.png create mode 100644 backgrounds/Brown.png.import create mode 100644 backgrounds/Gray.png create mode 100644 backgrounds/Gray.png.import create mode 100644 backgrounds/Green.png create mode 100644 backgrounds/Green.png.import create mode 100644 backgrounds/Pink.png create mode 100644 backgrounds/Pink.png.import create mode 100644 backgrounds/Purple.png create mode 100644 backgrounds/Purple.png.import create mode 100644 backgrounds/Yellow.png create mode 100644 backgrounds/Yellow.png.import create mode 100644 sfx/coin.wav create mode 100644 sfx/coin.wav.import create mode 100644 sfx/death.wav create mode 100644 sfx/death.wav.import create mode 100644 sfx/found_heart.wav create mode 100644 sfx/found_heart.wav.import create mode 100644 sfx/found_item.wav create mode 100644 sfx/found_item.wav.import create mode 100644 sfx/hurt.wav create mode 100644 sfx/hurt.wav.import create mode 100644 sfx/hurt2.wav create mode 100644 sfx/hurt2.wav.import create mode 100644 sfx/select.wav create mode 100644 sfx/select.wav.import diff --git a/.import/Blue.png-67d03d5d37013954c33d3929f1c8ead9.md5 b/.import/Blue.png-67d03d5d37013954c33d3929f1c8ead9.md5 new file mode 100644 index 0000000..9e3245b --- /dev/null +++ b/.import/Blue.png-67d03d5d37013954c33d3929f1c8ead9.md5 @@ -0,0 +1,3 @@ +source_md5="f86e07aab82505fc49710152f83cc385" +dest_md5="87f8fe9e2194f3ab1f1dc33ee0e6a59d" + diff --git a/.import/Blue.png-67d03d5d37013954c33d3929f1c8ead9.stex b/.import/Blue.png-67d03d5d37013954c33d3929f1c8ead9.stex new file mode 100644 index 0000000..78b560d Binary files /dev/null and b/.import/Blue.png-67d03d5d37013954c33d3929f1c8ead9.stex differ diff --git a/.import/Blue.png-99b845350a8b7cb68c6cc5bba6d44eeb.md5 b/.import/Blue.png-99b845350a8b7cb68c6cc5bba6d44eeb.md5 new file mode 100644 index 0000000..410248b --- /dev/null +++ b/.import/Blue.png-99b845350a8b7cb68c6cc5bba6d44eeb.md5 @@ -0,0 +1,3 @@ +source_md5="f86e07aab82505fc49710152f83cc385" +dest_md5="08b0fecb9644d5ea514b990b7796b3c7" + diff --git a/.import/Blue.png-99b845350a8b7cb68c6cc5bba6d44eeb.stex b/.import/Blue.png-99b845350a8b7cb68c6cc5bba6d44eeb.stex new file mode 100644 index 0000000..99bba3f Binary files /dev/null and b/.import/Blue.png-99b845350a8b7cb68c6cc5bba6d44eeb.stex differ diff --git a/.import/Brown.png-150dcd85596b8e4cffe30274d1cab3fe.md5 b/.import/Brown.png-150dcd85596b8e4cffe30274d1cab3fe.md5 new file mode 100644 index 0000000..f038867 --- /dev/null +++ b/.import/Brown.png-150dcd85596b8e4cffe30274d1cab3fe.md5 @@ -0,0 +1,3 @@ +source_md5="45c9c887fa73b0ade76974de63ab9157" +dest_md5="81dbc7ea33ae1bd82f1d8c8091b539f5" + diff --git a/.import/Brown.png-150dcd85596b8e4cffe30274d1cab3fe.stex b/.import/Brown.png-150dcd85596b8e4cffe30274d1cab3fe.stex new file mode 100644 index 0000000..f143e53 Binary files /dev/null and b/.import/Brown.png-150dcd85596b8e4cffe30274d1cab3fe.stex differ diff --git a/.import/Brown.png-a02d499715ee8fbbf390ea5ca381cdb4.md5 b/.import/Brown.png-a02d499715ee8fbbf390ea5ca381cdb4.md5 new file mode 100644 index 0000000..d055101 --- /dev/null +++ b/.import/Brown.png-a02d499715ee8fbbf390ea5ca381cdb4.md5 @@ -0,0 +1,3 @@ +source_md5="45c9c887fa73b0ade76974de63ab9157" +dest_md5="1a1ca601eab8531b6ecc7245f2638eb0" + diff --git a/.import/Brown.png-a02d499715ee8fbbf390ea5ca381cdb4.stex b/.import/Brown.png-a02d499715ee8fbbf390ea5ca381cdb4.stex new file mode 100644 index 0000000..310696b Binary files /dev/null and b/.import/Brown.png-a02d499715ee8fbbf390ea5ca381cdb4.stex differ diff --git a/.import/Gray.png-58a615d2cdd5c7d723a1f0573bdd7ed1.md5 b/.import/Gray.png-58a615d2cdd5c7d723a1f0573bdd7ed1.md5 new file mode 100644 index 0000000..9c13bda --- /dev/null +++ b/.import/Gray.png-58a615d2cdd5c7d723a1f0573bdd7ed1.md5 @@ -0,0 +1,3 @@ +source_md5="31fb9bc36ec926ee64d999d3387b7e09" +dest_md5="6b30c2b5272e1c347e791642abde9690" + diff --git a/.import/Gray.png-58a615d2cdd5c7d723a1f0573bdd7ed1.stex b/.import/Gray.png-58a615d2cdd5c7d723a1f0573bdd7ed1.stex new file mode 100644 index 0000000..fe83e44 Binary files /dev/null and b/.import/Gray.png-58a615d2cdd5c7d723a1f0573bdd7ed1.stex differ diff --git a/.import/Gray.png-86eb58dbcab696be1601153a322cc2d3.md5 b/.import/Gray.png-86eb58dbcab696be1601153a322cc2d3.md5 new file mode 100644 index 0000000..0b4eaf1 --- /dev/null +++ b/.import/Gray.png-86eb58dbcab696be1601153a322cc2d3.md5 @@ -0,0 +1,3 @@ +source_md5="31fb9bc36ec926ee64d999d3387b7e09" +dest_md5="d4f759490e1b216db51b6fa27570ce50" + diff --git a/.import/Gray.png-86eb58dbcab696be1601153a322cc2d3.stex b/.import/Gray.png-86eb58dbcab696be1601153a322cc2d3.stex new file mode 100644 index 0000000..bca452c Binary files /dev/null and b/.import/Gray.png-86eb58dbcab696be1601153a322cc2d3.stex differ diff --git a/.import/Green.png-76fc8b0704fd40125f1570702f88a265.md5 b/.import/Green.png-76fc8b0704fd40125f1570702f88a265.md5 new file mode 100644 index 0000000..606af24 --- /dev/null +++ b/.import/Green.png-76fc8b0704fd40125f1570702f88a265.md5 @@ -0,0 +1,3 @@ +source_md5="e6eeace8a9d516f2e9768e5228e824fb" +dest_md5="978315fedb9db13c4170c4dc72df5db7" + diff --git a/.import/Green.png-76fc8b0704fd40125f1570702f88a265.stex b/.import/Green.png-76fc8b0704fd40125f1570702f88a265.stex new file mode 100644 index 0000000..230eb06 Binary files /dev/null and b/.import/Green.png-76fc8b0704fd40125f1570702f88a265.stex differ diff --git a/.import/Green.png-a73a03d0a1febdb864b00265fc9002a0.md5 b/.import/Green.png-a73a03d0a1febdb864b00265fc9002a0.md5 new file mode 100644 index 0000000..c288c21 --- /dev/null +++ b/.import/Green.png-a73a03d0a1febdb864b00265fc9002a0.md5 @@ -0,0 +1,3 @@ +source_md5="e6eeace8a9d516f2e9768e5228e824fb" +dest_md5="1ef98181ca05b6196cdf1502b132f5f8" + diff --git a/.import/Green.png-a73a03d0a1febdb864b00265fc9002a0.stex b/.import/Green.png-a73a03d0a1febdb864b00265fc9002a0.stex new file mode 100644 index 0000000..0b05a5c Binary files /dev/null and b/.import/Green.png-a73a03d0a1febdb864b00265fc9002a0.stex differ diff --git a/.import/Pink.png-59945329d561b5ef1136740f03dbe479.md5 b/.import/Pink.png-59945329d561b5ef1136740f03dbe479.md5 new file mode 100644 index 0000000..a527682 --- /dev/null +++ b/.import/Pink.png-59945329d561b5ef1136740f03dbe479.md5 @@ -0,0 +1,3 @@ +source_md5="31b5e360eb9610c58138bb7cfdfb96a1" +dest_md5="fdfc7141be8a035745d582878eff96bb" + diff --git a/.import/Pink.png-59945329d561b5ef1136740f03dbe479.stex b/.import/Pink.png-59945329d561b5ef1136740f03dbe479.stex new file mode 100644 index 0000000..3bc8c14 Binary files /dev/null and b/.import/Pink.png-59945329d561b5ef1136740f03dbe479.stex differ diff --git a/.import/Pink.png-a067c35975d2ed27845404f5a0d12b7a.md5 b/.import/Pink.png-a067c35975d2ed27845404f5a0d12b7a.md5 new file mode 100644 index 0000000..6256740 --- /dev/null +++ b/.import/Pink.png-a067c35975d2ed27845404f5a0d12b7a.md5 @@ -0,0 +1,3 @@ +source_md5="31b5e360eb9610c58138bb7cfdfb96a1" +dest_md5="e66ba152789e8ed4946da60fc8c60da3" + diff --git a/.import/Pink.png-a067c35975d2ed27845404f5a0d12b7a.stex b/.import/Pink.png-a067c35975d2ed27845404f5a0d12b7a.stex new file mode 100644 index 0000000..bd31d36 Binary files /dev/null and b/.import/Pink.png-a067c35975d2ed27845404f5a0d12b7a.stex differ diff --git a/.import/Purple.png-3b93a7f8b5ec59ba9c22152d9a19d80d.md5 b/.import/Purple.png-3b93a7f8b5ec59ba9c22152d9a19d80d.md5 new file mode 100644 index 0000000..3afaaa7 --- /dev/null +++ b/.import/Purple.png-3b93a7f8b5ec59ba9c22152d9a19d80d.md5 @@ -0,0 +1,3 @@ +source_md5="f8cc6aa8fd738e6e4db8b6607b7e6c37" +dest_md5="e25fad12be1f4533170ed8776c2b7293" + diff --git a/.import/Purple.png-3b93a7f8b5ec59ba9c22152d9a19d80d.stex b/.import/Purple.png-3b93a7f8b5ec59ba9c22152d9a19d80d.stex new file mode 100644 index 0000000..3df85f8 Binary files /dev/null and b/.import/Purple.png-3b93a7f8b5ec59ba9c22152d9a19d80d.stex differ diff --git a/.import/Purple.png-f83a475191b77e5660227b13583a3921.md5 b/.import/Purple.png-f83a475191b77e5660227b13583a3921.md5 new file mode 100644 index 0000000..1a1a8ad --- /dev/null +++ b/.import/Purple.png-f83a475191b77e5660227b13583a3921.md5 @@ -0,0 +1,3 @@ +source_md5="f8cc6aa8fd738e6e4db8b6607b7e6c37" +dest_md5="8e138f30b0b17e48de658a0c22c448e6" + diff --git a/.import/Purple.png-f83a475191b77e5660227b13583a3921.stex b/.import/Purple.png-f83a475191b77e5660227b13583a3921.stex new file mode 100644 index 0000000..f2b33a6 Binary files /dev/null and b/.import/Purple.png-f83a475191b77e5660227b13583a3921.stex differ diff --git a/.import/Yellow.png-8c5e275313f765d02799362409b1b5fe.md5 b/.import/Yellow.png-8c5e275313f765d02799362409b1b5fe.md5 new file mode 100644 index 0000000..8a35a15 --- /dev/null +++ b/.import/Yellow.png-8c5e275313f765d02799362409b1b5fe.md5 @@ -0,0 +1,3 @@ +source_md5="c3f96416e21f366bc0c3635ce5b530d5" +dest_md5="3bf6ad939cbe7c594b52655046542af9" + diff --git a/.import/Yellow.png-8c5e275313f765d02799362409b1b5fe.stex b/.import/Yellow.png-8c5e275313f765d02799362409b1b5fe.stex new file mode 100644 index 0000000..3ad0ea8 Binary files /dev/null and b/.import/Yellow.png-8c5e275313f765d02799362409b1b5fe.stex differ diff --git a/.import/Yellow.png-aa0149917c8f0e2a5f5aa94a63e07f5a.md5 b/.import/Yellow.png-aa0149917c8f0e2a5f5aa94a63e07f5a.md5 new file mode 100644 index 0000000..d8d5b06 --- /dev/null +++ b/.import/Yellow.png-aa0149917c8f0e2a5f5aa94a63e07f5a.md5 @@ -0,0 +1,3 @@ +source_md5="c3f96416e21f366bc0c3635ce5b530d5" +dest_md5="ef2ad3a832c51ae6ce31dd17699e4e9a" + diff --git a/.import/Yellow.png-aa0149917c8f0e2a5f5aa94a63e07f5a.stex b/.import/Yellow.png-aa0149917c8f0e2a5f5aa94a63e07f5a.stex new file mode 100644 index 0000000..533f26d Binary files /dev/null and b/.import/Yellow.png-aa0149917c8f0e2a5f5aa94a63e07f5a.stex differ diff --git a/.import/coin.wav-b287e1be76f15650fa953c52a76a4850.md5 b/.import/coin.wav-b287e1be76f15650fa953c52a76a4850.md5 new file mode 100644 index 0000000..09e2737 --- /dev/null +++ b/.import/coin.wav-b287e1be76f15650fa953c52a76a4850.md5 @@ -0,0 +1,3 @@ +source_md5="1e998b11a6c5fa9a48fe87be5583fbbc" +dest_md5="781541a022c4ca32f051511d54afe4fe" + diff --git a/.import/coin.wav-b287e1be76f15650fa953c52a76a4850.sample b/.import/coin.wav-b287e1be76f15650fa953c52a76a4850.sample new file mode 100644 index 0000000..bb89a59 Binary files /dev/null and b/.import/coin.wav-b287e1be76f15650fa953c52a76a4850.sample differ diff --git a/.import/coin.wav-e0b3115232d3005d5bf18d2d62cdd59b.md5 b/.import/coin.wav-e0b3115232d3005d5bf18d2d62cdd59b.md5 new file mode 100644 index 0000000..09e2737 --- /dev/null +++ b/.import/coin.wav-e0b3115232d3005d5bf18d2d62cdd59b.md5 @@ -0,0 +1,3 @@ +source_md5="1e998b11a6c5fa9a48fe87be5583fbbc" +dest_md5="781541a022c4ca32f051511d54afe4fe" + diff --git a/.import/coin.wav-e0b3115232d3005d5bf18d2d62cdd59b.sample b/.import/coin.wav-e0b3115232d3005d5bf18d2d62cdd59b.sample new file mode 100644 index 0000000..bb89a59 Binary files /dev/null and b/.import/coin.wav-e0b3115232d3005d5bf18d2d62cdd59b.sample differ diff --git a/.import/death.wav-8591d1c850a531e6d680c433a6e9c93b.md5 b/.import/death.wav-8591d1c850a531e6d680c433a6e9c93b.md5 new file mode 100644 index 0000000..4e1da71 --- /dev/null +++ b/.import/death.wav-8591d1c850a531e6d680c433a6e9c93b.md5 @@ -0,0 +1,3 @@ +source_md5="a5db6011a6f726897cb90a439e993165" +dest_md5="529cf730147700424004ac7e5223c47d" + diff --git a/.import/death.wav-8591d1c850a531e6d680c433a6e9c93b.sample b/.import/death.wav-8591d1c850a531e6d680c433a6e9c93b.sample new file mode 100644 index 0000000..ee9282d Binary files /dev/null and b/.import/death.wav-8591d1c850a531e6d680c433a6e9c93b.sample differ diff --git a/.import/death.wav-f0eccc243df32e7656ed6194637ca93b.md5 b/.import/death.wav-f0eccc243df32e7656ed6194637ca93b.md5 new file mode 100644 index 0000000..4e1da71 --- /dev/null +++ b/.import/death.wav-f0eccc243df32e7656ed6194637ca93b.md5 @@ -0,0 +1,3 @@ +source_md5="a5db6011a6f726897cb90a439e993165" +dest_md5="529cf730147700424004ac7e5223c47d" + diff --git a/.import/death.wav-f0eccc243df32e7656ed6194637ca93b.sample b/.import/death.wav-f0eccc243df32e7656ed6194637ca93b.sample new file mode 100644 index 0000000..ee9282d Binary files /dev/null and b/.import/death.wav-f0eccc243df32e7656ed6194637ca93b.sample differ diff --git a/.import/found_heart.wav-1676102ba0fd35f6f9309cb1a449ca8c.md5 b/.import/found_heart.wav-1676102ba0fd35f6f9309cb1a449ca8c.md5 new file mode 100644 index 0000000..b00efd3 --- /dev/null +++ b/.import/found_heart.wav-1676102ba0fd35f6f9309cb1a449ca8c.md5 @@ -0,0 +1,3 @@ +source_md5="d1aecd9515fb4ea7dcd3482ab1dd6819" +dest_md5="da224f53eb7b007631a6ac7e67fbef1d" + diff --git a/.import/found_heart.wav-1676102ba0fd35f6f9309cb1a449ca8c.sample b/.import/found_heart.wav-1676102ba0fd35f6f9309cb1a449ca8c.sample new file mode 100644 index 0000000..08177d4 Binary files /dev/null and b/.import/found_heart.wav-1676102ba0fd35f6f9309cb1a449ca8c.sample differ diff --git a/.import/found_heart.wav-56514903b62b5098edeb68fb84a652a5.md5 b/.import/found_heart.wav-56514903b62b5098edeb68fb84a652a5.md5 new file mode 100644 index 0000000..b00efd3 --- /dev/null +++ b/.import/found_heart.wav-56514903b62b5098edeb68fb84a652a5.md5 @@ -0,0 +1,3 @@ +source_md5="d1aecd9515fb4ea7dcd3482ab1dd6819" +dest_md5="da224f53eb7b007631a6ac7e67fbef1d" + diff --git a/.import/found_heart.wav-56514903b62b5098edeb68fb84a652a5.sample b/.import/found_heart.wav-56514903b62b5098edeb68fb84a652a5.sample new file mode 100644 index 0000000..08177d4 Binary files /dev/null and b/.import/found_heart.wav-56514903b62b5098edeb68fb84a652a5.sample differ diff --git a/.import/found_item.wav-018b3bdc3b80db7e8e7981fb2514df67.md5 b/.import/found_item.wav-018b3bdc3b80db7e8e7981fb2514df67.md5 new file mode 100644 index 0000000..128e96d --- /dev/null +++ b/.import/found_item.wav-018b3bdc3b80db7e8e7981fb2514df67.md5 @@ -0,0 +1,3 @@ +source_md5="156bfc6ce4a9ded88f2c0a5ff9aeae39" +dest_md5="225db413ce8d8f60027e5f0d5805089e" + diff --git a/.import/found_item.wav-018b3bdc3b80db7e8e7981fb2514df67.sample b/.import/found_item.wav-018b3bdc3b80db7e8e7981fb2514df67.sample new file mode 100644 index 0000000..a5907e2 Binary files /dev/null and b/.import/found_item.wav-018b3bdc3b80db7e8e7981fb2514df67.sample differ diff --git a/.import/found_item.wav-2a2e3b9fbe7c733af4ee7abdb9b245f7.md5 b/.import/found_item.wav-2a2e3b9fbe7c733af4ee7abdb9b245f7.md5 new file mode 100644 index 0000000..128e96d --- /dev/null +++ b/.import/found_item.wav-2a2e3b9fbe7c733af4ee7abdb9b245f7.md5 @@ -0,0 +1,3 @@ +source_md5="156bfc6ce4a9ded88f2c0a5ff9aeae39" +dest_md5="225db413ce8d8f60027e5f0d5805089e" + diff --git a/.import/found_item.wav-2a2e3b9fbe7c733af4ee7abdb9b245f7.sample b/.import/found_item.wav-2a2e3b9fbe7c733af4ee7abdb9b245f7.sample new file mode 100644 index 0000000..a5907e2 Binary files /dev/null and b/.import/found_item.wav-2a2e3b9fbe7c733af4ee7abdb9b245f7.sample differ diff --git a/.import/hurt.wav-2cb5c2fa6a1da6cff830b5c940b3b10a.md5 b/.import/hurt.wav-2cb5c2fa6a1da6cff830b5c940b3b10a.md5 new file mode 100644 index 0000000..3db9142 --- /dev/null +++ b/.import/hurt.wav-2cb5c2fa6a1da6cff830b5c940b3b10a.md5 @@ -0,0 +1,3 @@ +source_md5="c2485afceeec6e44af2b2ca6bc6824e4" +dest_md5="2913873409a8a9dec6a2061ab7f571c8" + diff --git a/.import/hurt.wav-2cb5c2fa6a1da6cff830b5c940b3b10a.sample b/.import/hurt.wav-2cb5c2fa6a1da6cff830b5c940b3b10a.sample new file mode 100644 index 0000000..ad2f96e Binary files /dev/null and b/.import/hurt.wav-2cb5c2fa6a1da6cff830b5c940b3b10a.sample differ diff --git a/.import/hurt.wav-45ff85e7eb266c1db80248e043d7c9a0.md5 b/.import/hurt.wav-45ff85e7eb266c1db80248e043d7c9a0.md5 new file mode 100644 index 0000000..3db9142 --- /dev/null +++ b/.import/hurt.wav-45ff85e7eb266c1db80248e043d7c9a0.md5 @@ -0,0 +1,3 @@ +source_md5="c2485afceeec6e44af2b2ca6bc6824e4" +dest_md5="2913873409a8a9dec6a2061ab7f571c8" + diff --git a/.import/hurt.wav-45ff85e7eb266c1db80248e043d7c9a0.sample b/.import/hurt.wav-45ff85e7eb266c1db80248e043d7c9a0.sample new file mode 100644 index 0000000..ad2f96e Binary files /dev/null and b/.import/hurt.wav-45ff85e7eb266c1db80248e043d7c9a0.sample differ diff --git a/.import/hurt2.wav-b5b39bca340ff3a1f716efc6a0aad06e.md5 b/.import/hurt2.wav-b5b39bca340ff3a1f716efc6a0aad06e.md5 new file mode 100644 index 0000000..f6d9ced --- /dev/null +++ b/.import/hurt2.wav-b5b39bca340ff3a1f716efc6a0aad06e.md5 @@ -0,0 +1,3 @@ +source_md5="2019745a171c86f5913efcc9c3ec63c4" +dest_md5="bd05fb0ff8d90970de2cd7ce1de9869d" + diff --git a/.import/hurt2.wav-b5b39bca340ff3a1f716efc6a0aad06e.sample b/.import/hurt2.wav-b5b39bca340ff3a1f716efc6a0aad06e.sample new file mode 100644 index 0000000..b52042e Binary files /dev/null and b/.import/hurt2.wav-b5b39bca340ff3a1f716efc6a0aad06e.sample differ diff --git a/.import/hurt2.wav-f9bf192020689a696c78601b71de5156.md5 b/.import/hurt2.wav-f9bf192020689a696c78601b71de5156.md5 new file mode 100644 index 0000000..f6d9ced --- /dev/null +++ b/.import/hurt2.wav-f9bf192020689a696c78601b71de5156.md5 @@ -0,0 +1,3 @@ +source_md5="2019745a171c86f5913efcc9c3ec63c4" +dest_md5="bd05fb0ff8d90970de2cd7ce1de9869d" + diff --git a/.import/hurt2.wav-f9bf192020689a696c78601b71de5156.sample b/.import/hurt2.wav-f9bf192020689a696c78601b71de5156.sample new file mode 100644 index 0000000..b52042e Binary files /dev/null and b/.import/hurt2.wav-f9bf192020689a696c78601b71de5156.sample differ diff --git a/.import/select.wav-4c9b0e81d8c993e697feb7eeffaed947.md5 b/.import/select.wav-4c9b0e81d8c993e697feb7eeffaed947.md5 new file mode 100644 index 0000000..cb38346 --- /dev/null +++ b/.import/select.wav-4c9b0e81d8c993e697feb7eeffaed947.md5 @@ -0,0 +1,3 @@ +source_md5="5aaa041fbf039db831da34548b430796" +dest_md5="6c78d5b7a2720938b2d464f408e26c5f" + diff --git a/.import/select.wav-4c9b0e81d8c993e697feb7eeffaed947.sample b/.import/select.wav-4c9b0e81d8c993e697feb7eeffaed947.sample new file mode 100644 index 0000000..c25107e Binary files /dev/null and b/.import/select.wav-4c9b0e81d8c993e697feb7eeffaed947.sample differ diff --git a/.import/select.wav-f131fb53b73dc37fe5b99f3d10367c45.md5 b/.import/select.wav-f131fb53b73dc37fe5b99f3d10367c45.md5 new file mode 100644 index 0000000..cb38346 --- /dev/null +++ b/.import/select.wav-f131fb53b73dc37fe5b99f3d10367c45.md5 @@ -0,0 +1,3 @@ +source_md5="5aaa041fbf039db831da34548b430796" +dest_md5="6c78d5b7a2720938b2d464f408e26c5f" + diff --git a/.import/select.wav-f131fb53b73dc37fe5b99f3d10367c45.sample b/.import/select.wav-f131fb53b73dc37fe5b99f3d10367c45.sample new file mode 100644 index 0000000..c25107e Binary files /dev/null and b/.import/select.wav-f131fb53b73dc37fe5b99f3d10367c45.sample differ diff --git a/backgrounds/Blue.png b/backgrounds/Blue.png new file mode 100644 index 0000000..3a85422 Binary files /dev/null and b/backgrounds/Blue.png differ diff --git a/backgrounds/Blue.png.import b/backgrounds/Blue.png.import new file mode 100644 index 0000000..09a81b6 --- /dev/null +++ b/backgrounds/Blue.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Blue.png-67d03d5d37013954c33d3929f1c8ead9.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://backgrounds/Blue.png" +dest_files=[ "res://.import/Blue.png-67d03d5d37013954c33d3929f1c8ead9.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/backgrounds/Brown.png b/backgrounds/Brown.png new file mode 100644 index 0000000..4925f71 Binary files /dev/null and b/backgrounds/Brown.png differ diff --git a/backgrounds/Brown.png.import b/backgrounds/Brown.png.import new file mode 100644 index 0000000..a2d18c7 --- /dev/null +++ b/backgrounds/Brown.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Brown.png-a02d499715ee8fbbf390ea5ca381cdb4.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://backgrounds/Brown.png" +dest_files=[ "res://.import/Brown.png-a02d499715ee8fbbf390ea5ca381cdb4.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/backgrounds/Gray.png b/backgrounds/Gray.png new file mode 100644 index 0000000..07d6792 Binary files /dev/null and b/backgrounds/Gray.png differ diff --git a/backgrounds/Gray.png.import b/backgrounds/Gray.png.import new file mode 100644 index 0000000..3a1028e --- /dev/null +++ b/backgrounds/Gray.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Gray.png-58a615d2cdd5c7d723a1f0573bdd7ed1.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://backgrounds/Gray.png" +dest_files=[ "res://.import/Gray.png-58a615d2cdd5c7d723a1f0573bdd7ed1.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/backgrounds/Green.png b/backgrounds/Green.png new file mode 100644 index 0000000..c95d78d Binary files /dev/null and b/backgrounds/Green.png differ diff --git a/backgrounds/Green.png.import b/backgrounds/Green.png.import new file mode 100644 index 0000000..e37bbbe --- /dev/null +++ b/backgrounds/Green.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Green.png-76fc8b0704fd40125f1570702f88a265.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://backgrounds/Green.png" +dest_files=[ "res://.import/Green.png-76fc8b0704fd40125f1570702f88a265.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/backgrounds/Pink.png b/backgrounds/Pink.png new file mode 100644 index 0000000..d313606 Binary files /dev/null and b/backgrounds/Pink.png differ diff --git a/backgrounds/Pink.png.import b/backgrounds/Pink.png.import new file mode 100644 index 0000000..7ccb474 --- /dev/null +++ b/backgrounds/Pink.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Pink.png-a067c35975d2ed27845404f5a0d12b7a.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://backgrounds/Pink.png" +dest_files=[ "res://.import/Pink.png-a067c35975d2ed27845404f5a0d12b7a.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/backgrounds/Purple.png b/backgrounds/Purple.png new file mode 100644 index 0000000..b64b504 Binary files /dev/null and b/backgrounds/Purple.png differ diff --git a/backgrounds/Purple.png.import b/backgrounds/Purple.png.import new file mode 100644 index 0000000..ee24dc1 --- /dev/null +++ b/backgrounds/Purple.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Purple.png-f83a475191b77e5660227b13583a3921.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://backgrounds/Purple.png" +dest_files=[ "res://.import/Purple.png-f83a475191b77e5660227b13583a3921.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/backgrounds/Yellow.png b/backgrounds/Yellow.png new file mode 100644 index 0000000..6f90ecf Binary files /dev/null and b/backgrounds/Yellow.png differ diff --git a/backgrounds/Yellow.png.import b/backgrounds/Yellow.png.import new file mode 100644 index 0000000..64edb4c --- /dev/null +++ b/backgrounds/Yellow.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Yellow.png-aa0149917c8f0e2a5f5aa94a63e07f5a.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://backgrounds/Yellow.png" +dest_files=[ "res://.import/Yellow.png-aa0149917c8f0e2a5f5aa94a63e07f5a.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/collectables/Apple.gd b/collectables/Apple.gd index e95ef61..abf0db3 100644 --- a/collectables/Apple.gd +++ b/collectables/Apple.gd @@ -4,8 +4,11 @@ export var health=10 func _ready(): $AnimationPlayer.play("idle") - func _on_Area2D_body_entered(body): if (body.name=="Player"): body.health += health - queue_free() + self.hide() + $pickup.play() + +func _on_pickup_finished(): + queue_free() diff --git a/collectables/Apple.tscn b/collectables/Apple.tscn index 681e6ce..21cca67 100644 --- a/collectables/Apple.tscn +++ b/collectables/Apple.tscn @@ -1,7 +1,8 @@ -[gd_scene load_steps=6 format=2] +[gd_scene load_steps=7 format=2] [ext_resource path="res://collectables/Apple.png" type="Texture" id=1] [ext_resource path="res://collectables/Apple.gd" type="Script" id=2] +[ext_resource path="res://sfx/coin.wav" type="AudioStream" id=3] [sub_resource type="RectangleShape2D" id=1] extents = Vector2( 6, 7 ) @@ -55,4 +56,9 @@ playback_speed = 64.0 anims/RESET = SubResource( 2 ) anims/idle = SubResource( 3 ) +[node name="pickup" type="AudioStreamPlayer2D" parent="."] +stream = ExtResource( 3 ) + [connection signal="body_entered" from="Sprite/Area2D" to="." method="_on_Area2D_body_entered"] +[connection signal="body_exited" from="Sprite/Area2D" to="." method="_on_Area2D_body_exited"] +[connection signal="finished" from="pickup" to="." method="_on_pickup_finished"] diff --git a/entities/Player.tscn b/entities/Player.tscn index 2029798..a5d1f7e 100644 --- a/entities/Player.tscn +++ b/entities/Player.tscn @@ -55,14 +55,9 @@ animations = [ { "name": "idle", "speed": 25.0 }, { -"frames": [ ExtResource( 31 ), ExtResource( 23 ), ExtResource( 40 ), ExtResource( 33 ), ExtResource( 37 ), ExtResource( 25 ), ExtResource( 41 ) ], -"loop": true, -"name": "hit", -"speed": 5.0 -}, { -"frames": [ ExtResource( 39 ), ExtResource( 42 ), ExtResource( 32 ), ExtResource( 38 ), ExtResource( 35 ), ExtResource( 22 ), ExtResource( 24 ), ExtResource( 43 ), ExtResource( 21 ), ExtResource( 34 ), ExtResource( 26 ), ExtResource( 36 ) ], +"frames": [ ExtResource( 27 ), ExtResource( 29 ), ExtResource( 18 ), ExtResource( 20 ), ExtResource( 19 ) ], "loop": true, -"name": "run", +"name": "wall_jump", "speed": 25.0 }, { "frames": [ ExtResource( 30 ) ], @@ -70,19 +65,24 @@ animations = [ { "name": "fall", "speed": 5.0 }, { -"frames": [ ExtResource( 27 ), ExtResource( 29 ), ExtResource( 18 ), ExtResource( 20 ), ExtResource( 19 ) ], +"frames": [ ExtResource( 2 ), ExtResource( 10 ), ExtResource( 7 ), ExtResource( 11 ), ExtResource( 3 ), ExtResource( 9 ) ], "loop": true, -"name": "wall_jump", +"name": "double_jump", "speed": 25.0 }, { +"frames": [ ExtResource( 31 ), ExtResource( 23 ), ExtResource( 40 ), ExtResource( 33 ), ExtResource( 37 ), ExtResource( 25 ), ExtResource( 41 ) ], +"loop": true, +"name": "hit", +"speed": 5.0 +}, { "frames": [ ExtResource( 28 ) ], "loop": true, "name": "jump", "speed": 5.0 }, { -"frames": [ ExtResource( 2 ), ExtResource( 10 ), ExtResource( 7 ), ExtResource( 11 ), ExtResource( 3 ), ExtResource( 9 ) ], +"frames": [ ExtResource( 39 ), ExtResource( 42 ), ExtResource( 32 ), ExtResource( 38 ), ExtResource( 35 ), ExtResource( 22 ), ExtResource( 24 ), ExtResource( 43 ), ExtResource( 21 ), ExtResource( 34 ), ExtResource( 26 ), ExtResource( 36 ) ], "loop": true, -"name": "double_jump", +"name": "run", "speed": 25.0 } ] @@ -94,6 +94,12 @@ script = ExtResource( 44 ) position = Vector2( 0, 2 ) shape = SubResource( 2 ) +[node name="Area2D" type="Area2D" parent="."] + +[node name="CollisionShape2D2" type="CollisionShape2D" parent="Area2D"] +position = Vector2( 0, 2 ) +shape = SubResource( 2 ) + [node name="AnimatedSprite" type="AnimatedSprite" parent="."] frames = SubResource( 1 ) animation = "idle" diff --git a/scenes/level1.tscn b/scenes/level1.tscn index bbe7b4a..e87deb0 100644 --- a/scenes/level1.tscn +++ b/scenes/level1.tscn @@ -1,11 +1,22 @@ -[gd_scene load_steps=4 format=2] +[gd_scene load_steps=5 format=2] [ext_resource path="res://entities/Player.tscn" type="PackedScene" id=1] [ext_resource path="res://tileset/main_tileset.tres" type="TileSet" id=2] [ext_resource path="res://collectables/Apple.tscn" type="PackedScene" id=3] +[ext_resource path="res://backgrounds/Brown.png" type="Texture" id=4] [node name="Node2D" type="Node2D"] +[node name="ParallaxBackground" type="ParallaxBackground" parent="."] + +[node name="ParallaxLayer" type="ParallaxLayer" parent="ParallaxBackground"] + +[node name="TextureRect" type="TextureRect" parent="ParallaxBackground/ParallaxLayer"] +margin_right = 799.0 +margin_bottom = 610.0 +texture = ExtResource( 4 ) +stretch_mode = 2 + [node name="Player" parent="." instance=ExtResource( 1 )] position = Vector2( 77, 31 ) @@ -13,7 +24,7 @@ position = Vector2( 77, 31 ) tile_set = ExtResource( 2 ) cell_size = Vector2( 16, 16 ) format = 1 -tile_data = PoolIntArray( 0, 12, 0, 1, 13, 0, 2, 13, 0, 3, 13, 0, 4, 13, 0, 5, 13, 0, 6, 13, 0, 7, 13, 0, 8, 13, 0, 9, 13, 0, 10, 13, 0, 11, 13, 0, 12, 13, 0, 13, 13, 0, 14, 13, 0, 15, 13, 0, 16, 13, 0, 17, 13, 0, 18, 13, 0, 19, 13, 0, 20, 13, 0, 21, 13, 0, 22, 13, 0, 23, 13, 0, 24, 13, 0, 25, 13, 0, 26, 13, 0, 27, 13, 0, 28, 13, 0, 29, 13, 0, 30, 13, 0, 31, 13, 0, 32, 13, 0, 33, 13, 0, 34, 13, 0, 35, 13, 0, 36, 13, 0, 37, 13, 0, 38, 13, 0, 39, 13, 0, 40, 13, 0, 41, 13, 0, 42, 13, 0, 43, 13, 0, 44, 13, 0, 45, 13, 0, 46, 13, 0, 47, 13, 0, 48, 13, 0, 49, 14, 0, 65536, 15, 0, 65585, 15, 0, 131072, 37, 0, 131121, 37, 0, 196608, 37, 0, 196657, 37, 0, 262144, 37, 0, 262193, 37, 0, 327680, 37, 0, 327729, 37, 0, 393216, 37, 0, 393218, 7, 0, 393219, 7, 0, 393220, 7, 0, 393221, 7, 0, 393222, 7, 0, 393223, 7, 0, 393224, 7, 0, 393225, 7, 0, 393226, 7, 0, 393227, 7, 0, 393228, 8, 0, 393265, 37, 0, 458752, 37, 0, 458754, 50, 0, 458755, 51, 0, 458756, 51, 0, 458757, 51, 0, 458758, 51, 0, 458759, 51, 0, 458760, 51, 0, 458761, 51, 0, 458762, 51, 0, 458763, 51, 0, 458764, 52, 0, 458801, 37, 0, 524288, 37, 0, 524303, 6, 0, 524304, 7, 0, 524305, 7, 0, 524306, 7, 0, 524307, 7, 0, 524308, 7, 0, 524309, 7, 0, 524310, 7, 0, 524311, 7, 0, 524312, 7, 0, 524313, 7, 0, 524314, 8, 0, 524337, 37, 0, 589824, 37, 0, 589839, 50, 0, 589840, 51, 0, 589841, 51, 0, 589842, 51, 0, 589843, 51, 0, 589844, 51, 0, 589845, 51, 0, 589846, 51, 0, 589847, 51, 0, 589848, 51, 0, 589849, 51, 0, 589850, 52, 0, 589858, 6, 0, 589859, 7, 0, 589860, 7, 0, 589861, 7, 0, 589862, 7, 0, 589863, 7, 0, 589864, 7, 0, 589865, 7, 0, 589866, 7, 0, 589867, 7, 0, 589868, 7, 0, 589869, 8, 0, 589873, 37, 0, 655360, 37, 0, 655394, 50, 0, 655395, 51, 0, 655396, 51, 0, 655397, 51, 0, 655398, 51, 0, 655399, 51, 0, 655400, 51, 0, 655401, 51, 0, 655402, 51, 0, 655403, 51, 0, 655404, 51, 0, 655405, 52, 0, 655409, 37, 0, 720896, 37, 0, 720945, 37, 0, 786432, 37, 0, 786481, 37, 0, 851968, 37, 0, 852017, 37, 0, 917504, 37, 0, 917553, 37, 0, 983040, 37, 0, 983089, 37, 0, 1048576, 37, 0, 1048625, 37, 0, 1114112, 37, 0, 1114134, 6, 0, 1114135, 7, 0, 1114136, 7, 0, 1114137, 7, 0, 1114138, 7, 0, 1114139, 7, 0, 1114140, 7, 0, 1114141, 7, 0, 1114142, 7, 0, 1114143, 7, 0, 1114144, 7, 0, 1114145, 8, 0, 1114161, 37, 0, 1179648, 37, 0, 1179653, 6, 0, 1179654, 7, 0, 1179655, 7, 0, 1179656, 7, 0, 1179657, 7, 0, 1179658, 7, 0, 1179659, 7, 0, 1179660, 7, 0, 1179661, 7, 0, 1179662, 7, 0, 1179663, 7, 0, 1179664, 8, 0, 1179670, 50, 0, 1179671, 51, 0, 1179672, 51, 0, 1179673, 51, 0, 1179674, 51, 0, 1179675, 51, 0, 1179676, 51, 0, 1179677, 51, 0, 1179678, 51, 0, 1179679, 51, 0, 1179680, 51, 0, 1179681, 52, 0, 1179697, 37, 0, 1245184, 37, 0, 1245189, 50, 0, 1245190, 51, 0, 1245191, 51, 0, 1245192, 51, 0, 1245193, 51, 0, 1245194, 51, 0, 1245195, 51, 0, 1245196, 51, 0, 1245197, 51, 0, 1245198, 51, 0, 1245199, 51, 0, 1245200, 52, 0, 1245233, 37, 0, 1310720, 37, 0, 1310758, 6, 0, 1310759, 7, 0, 1310760, 7, 0, 1310761, 7, 0, 1310762, 7, 0, 1310763, 7, 0, 1310764, 7, 0, 1310765, 7, 0, 1310766, 7, 0, 1310767, 7, 0, 1310768, 8, 0, 1310769, 37, 0, 1376256, 37, 0, 1376294, 28, 0, 1376295, 29, 0, 1376296, 29, 0, 1376297, 29, 0, 1376298, 29, 0, 1376299, 29, 0, 1376300, 29, 0, 1376301, 29, 0, 1376302, 29, 0, 1376303, 29, 0, 1376304, 30, 0, 1376305, 37, 0, 1441792, 37, 0, 1441830, 50, 0, 1441831, 51, 0, 1441832, 51, 0, 1441833, 51, 0, 1441834, 51, 0, 1441835, 51, 0, 1441836, 51, 0, 1441837, 51, 0, 1441838, 51, 0, 1441839, 51, 0, 1441840, 52, 0, 1441841, 37, 0, 1507328, 37, 0, 1507377, 37, 0, 1572864, 37, 0, 1572913, 37, 0, 1638400, 37, 0, 1638449, 37, 0, 1703936, 37, 0, 1703985, 37, 0, 1769472, 37, 0, 1769521, 37, 0, 1835008, 37, 0, 1835057, 37, 0, 1900544, 37, 0, 1900593, 37, 0, 1966080, 37, 0, 1966129, 37, 0, 2031616, 37, 0, 2031665, 37, 0, 2097152, 37, 0, 2097201, 37, 0, 2162688, 37, 0, 2162737, 37, 0, 2228224, 37, 0, 2228273, 37, 0, 2293760, 37, 0, 2293809, 37, 0, 2359296, 59, 0, 2359345, 59, 0, 2424832, 12, 0, 2424833, 13, 0, 2424834, 13, 0, 2424835, 13, 0, 2424836, 13, 0, 2424837, 13, 0, 2424838, 13, 0, 2424839, 13, 0, 2424840, 13, 0, 2424841, 13, 0, 2424842, 13, 0, 2424843, 13, 0, 2424844, 13, 0, 2424845, 13, 0, 2424846, 13, 0, 2424847, 13, 0, 2424848, 13, 0, 2424849, 13, 0, 2424850, 13, 0, 2424851, 13, 0, 2424852, 13, 0, 2424853, 13, 0, 2424854, 13, 0, 2424855, 13, 0, 2424856, 13, 0, 2424857, 13, 0, 2424858, 13, 0, 2424859, 13, 0, 2424860, 13, 0, 2424861, 13, 0, 2424862, 13, 0, 2424863, 13, 0, 2424864, 13, 0, 2424865, 13, 0, 2424866, 13, 0, 2424867, 13, 0, 2424868, 13, 0, 2424869, 13, 0, 2424870, 13, 0, 2424871, 13, 0, 2424872, 13, 0, 2424873, 13, 0, 2424874, 13, 0, 2424875, 13, 0, 2424876, 13, 0, 2424877, 13, 0, 2424878, 13, 0, 2424879, 13, 0, 2424880, 13, 0, 2424881, 14, 0 ) +tile_data = PoolIntArray( 0, 12, 0, 1, 13, 0, 2, 13, 0, 3, 13, 0, 4, 13, 0, 5, 13, 0, 6, 13, 0, 7, 13, 0, 8, 13, 0, 9, 13, 0, 10, 13, 0, 11, 13, 0, 12, 13, 0, 13, 13, 0, 14, 13, 0, 15, 13, 0, 16, 13, 0, 17, 13, 0, 18, 13, 0, 19, 13, 0, 20, 13, 0, 21, 13, 0, 22, 13, 0, 23, 13, 0, 24, 13, 0, 25, 13, 0, 26, 13, 0, 27, 13, 0, 28, 13, 0, 29, 13, 0, 30, 13, 0, 31, 13, 0, 32, 13, 0, 33, 13, 0, 34, 13, 0, 35, 13, 0, 36, 13, 0, 37, 13, 0, 38, 13, 0, 39, 13, 0, 40, 13, 0, 41, 13, 0, 42, 13, 0, 43, 13, 0, 44, 13, 0, 45, 13, 0, 46, 13, 0, 47, 13, 0, 48, 13, 0, 49, 14, 0, 65536, 15, 0, 65585, 15, 0, 131072, 37, 0, 131121, 37, 0, 196608, 37, 0, 196657, 37, 0, 262144, 37, 0, 262193, 37, 0, 327680, 37, 0, 327729, 37, 0, 393216, 37, 0, 393218, 6, 0, 393219, 7, 0, 393220, 7, 0, 393221, 7, 0, 393222, 7, 0, 393223, 7, 0, 393224, 7, 0, 393225, 7, 0, 393226, 7, 0, 393227, 7, 0, 393228, 8, 0, 393265, 37, 0, 458752, 37, 0, 458754, 50, 0, 458755, 51, 0, 458756, 51, 0, 458757, 51, 0, 458758, 51, 0, 458759, 51, 0, 458760, 51, 0, 458761, 51, 0, 458762, 51, 0, 458763, 51, 0, 458764, 52, 0, 458801, 37, 0, 524288, 37, 0, 524303, 6, 0, 524304, 7, 0, 524305, 7, 0, 524306, 7, 0, 524307, 7, 0, 524308, 7, 0, 524309, 7, 0, 524310, 7, 0, 524311, 7, 0, 524312, 7, 0, 524313, 7, 0, 524314, 8, 0, 524337, 37, 0, 589824, 37, 0, 589839, 50, 0, 589840, 51, 0, 589841, 51, 0, 589842, 51, 0, 589843, 51, 0, 589844, 51, 0, 589845, 51, 0, 589846, 51, 0, 589847, 51, 0, 589848, 51, 0, 589849, 51, 0, 589850, 52, 0, 589858, 6, 0, 589859, 7, 0, 589860, 7, 0, 589861, 7, 0, 589862, 7, 0, 589863, 7, 0, 589864, 7, 0, 589865, 7, 0, 589866, 7, 0, 589867, 7, 0, 589868, 7, 0, 589869, 8, 0, 589873, 37, 0, 655360, 37, 0, 655394, 50, 0, 655395, 51, 0, 655396, 51, 0, 655397, 51, 0, 655398, 51, 0, 655399, 51, 0, 655400, 51, 0, 655401, 51, 0, 655402, 51, 0, 655403, 51, 0, 655404, 51, 0, 655405, 52, 0, 655409, 37, 0, 720896, 37, 0, 720945, 37, 0, 786432, 37, 0, 786481, 37, 0, 851968, 37, 0, 852017, 37, 0, 917504, 37, 0, 917553, 37, 0, 983040, 37, 0, 983089, 37, 0, 1048576, 37, 0, 1048625, 37, 0, 1114112, 37, 0, 1114134, 6, 0, 1114135, 7, 0, 1114136, 7, 0, 1114137, 7, 0, 1114138, 7, 0, 1114139, 7, 0, 1114140, 7, 0, 1114141, 7, 0, 1114142, 7, 0, 1114143, 7, 0, 1114144, 7, 0, 1114145, 8, 0, 1114161, 37, 0, 1179648, 37, 0, 1179653, 6, 0, 1179654, 7, 0, 1179655, 7, 0, 1179656, 7, 0, 1179657, 7, 0, 1179658, 7, 0, 1179659, 7, 0, 1179660, 7, 0, 1179661, 7, 0, 1179662, 7, 0, 1179663, 7, 0, 1179664, 8, 0, 1179670, 50, 0, 1179671, 51, 0, 1179672, 51, 0, 1179673, 51, 0, 1179674, 51, 0, 1179675, 51, 0, 1179676, 51, 0, 1179677, 51, 0, 1179678, 51, 0, 1179679, 51, 0, 1179680, 51, 0, 1179681, 52, 0, 1179697, 37, 0, 1245184, 37, 0, 1245189, 50, 0, 1245190, 51, 0, 1245191, 51, 0, 1245192, 51, 0, 1245193, 51, 0, 1245194, 51, 0, 1245195, 51, 0, 1245196, 51, 0, 1245197, 51, 0, 1245198, 51, 0, 1245199, 51, 0, 1245200, 52, 0, 1245233, 37, 0, 1310720, 37, 0, 1310758, 6, 0, 1310759, 7, 0, 1310760, 7, 0, 1310761, 7, 0, 1310762, 7, 0, 1310763, 7, 0, 1310764, 7, 0, 1310765, 7, 0, 1310766, 7, 0, 1310767, 7, 0, 1310768, 8, 0, 1310769, 37, 0, 1376256, 37, 0, 1376294, 28, 0, 1376295, 29, 0, 1376296, 29, 0, 1376297, 29, 0, 1376298, 29, 0, 1376299, 29, 0, 1376300, 29, 0, 1376301, 29, 0, 1376302, 29, 0, 1376303, 29, 0, 1376304, 30, 0, 1376305, 37, 0, 1441792, 37, 0, 1441830, 50, 0, 1441831, 51, 0, 1441832, 51, 0, 1441833, 51, 0, 1441834, 51, 0, 1441835, 51, 0, 1441836, 51, 0, 1441837, 51, 0, 1441838, 51, 0, 1441839, 51, 0, 1441840, 52, 0, 1441841, 37, 0, 1507328, 37, 0, 1507377, 37, 0, 1572864, 37, 0, 1572913, 37, 0, 1638400, 37, 0, 1638449, 37, 0, 1703936, 37, 0, 1703985, 37, 0, 1769472, 37, 0, 1769521, 37, 0, 1835008, 37, 0, 1835057, 37, 0, 1900544, 37, 0, 1900593, 37, 0, 1966080, 37, 0, 1966129, 37, 0, 2031616, 37, 0, 2031665, 37, 0, 2097152, 37, 0, 2097201, 37, 0, 2162688, 37, 0, 2162737, 37, 0, 2228224, 37, 0, 2228273, 37, 0, 2293760, 37, 0, 2293809, 37, 0, 2359296, 59, 0, 2359345, 59, 0, 2424832, 12, 0, 2424833, 13, 0, 2424834, 13, 0, 2424835, 13, 0, 2424836, 13, 0, 2424837, 13, 0, 2424838, 13, 0, 2424839, 13, 0, 2424840, 13, 0, 2424841, 13, 0, 2424842, 13, 0, 2424843, 13, 0, 2424844, 13, 0, 2424845, 13, 0, 2424846, 13, 0, 2424847, 13, 0, 2424848, 13, 0, 2424849, 13, 0, 2424850, 13, 0, 2424851, 13, 0, 2424852, 13, 0, 2424853, 13, 0, 2424854, 13, 0, 2424855, 13, 0, 2424856, 13, 0, 2424857, 13, 0, 2424858, 13, 0, 2424859, 13, 0, 2424860, 13, 0, 2424861, 13, 0, 2424862, 13, 0, 2424863, 13, 0, 2424864, 13, 0, 2424865, 13, 0, 2424866, 13, 0, 2424867, 13, 0, 2424868, 13, 0, 2424869, 13, 0, 2424870, 13, 0, 2424871, 13, 0, 2424872, 13, 0, 2424873, 13, 0, 2424874, 13, 0, 2424875, 13, 0, 2424876, 13, 0, 2424877, 13, 0, 2424878, 13, 0, 2424879, 13, 0, 2424880, 13, 0, 2424881, 14, 0 ) [node name="Camera2D" type="Camera2D" parent="."] position = Vector2( 400, 300 ) @@ -50,9 +61,6 @@ position = Vector2( -6, -191 ) [node name="Apple9" parent="Apples" instance=ExtResource( 3 )] position = Vector2( 14, -191 ) -[node name="Apple10" parent="Apples" instance=ExtResource( 3 )] -position = Vector2( -307, -32 ) - [node name="Apple11" parent="Apples" instance=ExtResource( 3 )] position = Vector2( -287, -32 ) diff --git a/sfx/coin.wav b/sfx/coin.wav new file mode 100644 index 0000000..55ed23f Binary files /dev/null and b/sfx/coin.wav differ diff --git a/sfx/coin.wav.import b/sfx/coin.wav.import new file mode 100644 index 0000000..4313ce9 --- /dev/null +++ b/sfx/coin.wav.import @@ -0,0 +1,21 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/coin.wav-b287e1be76f15650fa953c52a76a4850.sample" + +[deps] + +source_file="res://sfx/coin.wav" +dest_files=[ "res://.import/coin.wav-b287e1be76f15650fa953c52a76a4850.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=false +compress/mode=0 diff --git a/sfx/death.wav b/sfx/death.wav new file mode 100644 index 0000000..12edf3f Binary files /dev/null and b/sfx/death.wav differ diff --git a/sfx/death.wav.import b/sfx/death.wav.import new file mode 100644 index 0000000..4bf66b2 --- /dev/null +++ b/sfx/death.wav.import @@ -0,0 +1,21 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/death.wav-8591d1c850a531e6d680c433a6e9c93b.sample" + +[deps] + +source_file="res://sfx/death.wav" +dest_files=[ "res://.import/death.wav-8591d1c850a531e6d680c433a6e9c93b.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=false +compress/mode=0 diff --git a/sfx/found_heart.wav b/sfx/found_heart.wav new file mode 100644 index 0000000..e57925e Binary files /dev/null and b/sfx/found_heart.wav differ diff --git a/sfx/found_heart.wav.import b/sfx/found_heart.wav.import new file mode 100644 index 0000000..fcd62f6 --- /dev/null +++ b/sfx/found_heart.wav.import @@ -0,0 +1,21 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/found_heart.wav-1676102ba0fd35f6f9309cb1a449ca8c.sample" + +[deps] + +source_file="res://sfx/found_heart.wav" +dest_files=[ "res://.import/found_heart.wav-1676102ba0fd35f6f9309cb1a449ca8c.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=false +compress/mode=0 diff --git a/sfx/found_item.wav b/sfx/found_item.wav new file mode 100644 index 0000000..eef9fdf Binary files /dev/null and b/sfx/found_item.wav differ diff --git a/sfx/found_item.wav.import b/sfx/found_item.wav.import new file mode 100644 index 0000000..81fbc3b --- /dev/null +++ b/sfx/found_item.wav.import @@ -0,0 +1,21 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/found_item.wav-018b3bdc3b80db7e8e7981fb2514df67.sample" + +[deps] + +source_file="res://sfx/found_item.wav" +dest_files=[ "res://.import/found_item.wav-018b3bdc3b80db7e8e7981fb2514df67.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=false +compress/mode=0 diff --git a/sfx/hurt.wav b/sfx/hurt.wav new file mode 100644 index 0000000..534bd7f Binary files /dev/null and b/sfx/hurt.wav differ diff --git a/sfx/hurt.wav.import b/sfx/hurt.wav.import new file mode 100644 index 0000000..09e5742 --- /dev/null +++ b/sfx/hurt.wav.import @@ -0,0 +1,21 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/hurt.wav-45ff85e7eb266c1db80248e043d7c9a0.sample" + +[deps] + +source_file="res://sfx/hurt.wav" +dest_files=[ "res://.import/hurt.wav-45ff85e7eb266c1db80248e043d7c9a0.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=false +compress/mode=0 diff --git a/sfx/hurt2.wav b/sfx/hurt2.wav new file mode 100644 index 0000000..e09eeb0 Binary files /dev/null and b/sfx/hurt2.wav differ diff --git a/sfx/hurt2.wav.import b/sfx/hurt2.wav.import new file mode 100644 index 0000000..91d1590 --- /dev/null +++ b/sfx/hurt2.wav.import @@ -0,0 +1,21 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/hurt2.wav-f9bf192020689a696c78601b71de5156.sample" + +[deps] + +source_file="res://sfx/hurt2.wav" +dest_files=[ "res://.import/hurt2.wav-f9bf192020689a696c78601b71de5156.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=false +compress/mode=0 diff --git a/sfx/select.wav b/sfx/select.wav new file mode 100644 index 0000000..8e171a8 Binary files /dev/null and b/sfx/select.wav differ diff --git a/sfx/select.wav.import b/sfx/select.wav.import new file mode 100644 index 0000000..b9cfb80 --- /dev/null +++ b/sfx/select.wav.import @@ -0,0 +1,21 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/select.wav-4c9b0e81d8c993e697feb7eeffaed947.sample" + +[deps] + +source_file="res://sfx/select.wav" +dest_files=[ "res://.import/select.wav-4c9b0e81d8c993e697feb7eeffaed947.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=false +compress/mode=0 diff --git a/tileset/main_tileset.tres b/tileset/main_tileset.tres index c0733c8..44cd41b 100644 --- a/tileset/main_tileset.tres +++ b/tileset/main_tileset.tres @@ -1,10 +1,70 @@ -[gd_resource type="TileSet" load_steps=3 format=2] +[gd_resource type="TileSet" load_steps=23 format=2] [ext_resource path="res://tileset/Terrain (16x16).png" type="Texture" id=1] +[sub_resource type="ConvexPolygonShape2D" id=2] +points = PoolVector2Array( -10, 10, -10, -10, 10, -10, 0, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=3] +points = PoolVector2Array( 10, -10, 10, 0, 0, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=4] +points = PoolVector2Array( 0, 0, 0, 10, -10, 10 ) + +[sub_resource type="ConvexPolygonShape2D" id=6] +points = PoolVector2Array( -8, -8, 8, -8, 8, 0, -8, 0 ) + [sub_resource type="RectangleShape2D" id=1] extents = Vector2( 8, 8 ) +[sub_resource type="ConvexPolygonShape2D" id=7] +points = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) + +[sub_resource type="ConvexPolygonShape2D" id=8] +points = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) + +[sub_resource type="ConvexPolygonShape2D" id=9] +points = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) + +[sub_resource type="ConvexPolygonShape2D" id=5] +points = PoolVector2Array( -8, -8, 0, -8, 0, 8, -8, 8 ) + +[sub_resource type="ConvexPolygonShape2D" id=10] +points = PoolVector2Array( 0, -8, 8, -8, 8, 8, 0, 8 ) + +[sub_resource type="ConvexPolygonShape2D" id=11] +points = PoolVector2Array( 0, 0, 8, 0, 8, 8, 0, 8 ) + +[sub_resource type="ConvexPolygonShape2D" id=12] +points = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) + +[sub_resource type="ConvexPolygonShape2D" id=13] +points = PoolVector2Array( -8, 0, 4, 0, 4, 8, -8, 8 ) + +[sub_resource type="ConvexPolygonShape2D" id=14] +points = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) + +[sub_resource type="ConvexPolygonShape2D" id=15] +points = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) + +[sub_resource type="ConvexPolygonShape2D" id=16] +points = PoolVector2Array( -8, 0, 8, 0, 8, 8, -8, 8 ) + +[sub_resource type="ConvexPolygonShape2D" id=17] +points = PoolVector2Array( -8, 8, -8, 0, 0, 0, 8, 8 ) + +[sub_resource type="ConvexPolygonShape2D" id=18] +points = PoolVector2Array( 8, -8, 8, 8, 0, 0, 0, -8 ) + +[sub_resource type="ConvexPolygonShape2D" id=19] +points = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) + +[sub_resource type="ConvexPolygonShape2D" id=20] +points = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) + +[sub_resource type="ConvexPolygonShape2D" id=21] +points = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) + [resource] 0/name = "Sprite" 0/texture = ExtResource( 1 ) @@ -15,16 +75,28 @@ extents = Vector2( 8, 8 ) 0/occluder_offset = Vector2( 8, 8 ) 0/navigation_offset = Vector2( 8, 8 ) 0/shape_offset = Vector2( 8, 8 ) -0/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -0/shape = SubResource( 1 ) +0/shape_transform = Transform2D( 0.8, 0, 0, 0.8, 8, 8 ) +0/shape = SubResource( 2 ) 0/shape_one_way = false 0/shape_one_way_margin = 1.0 0/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 1 ), -"shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) +"shape": SubResource( 2 ), +"shape_transform": Transform2D( 0.8, 0, 0, 0.8, 8, 8 ) +}, { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 3 ), +"shape_transform": Transform2D( 0.8, 0, 0, 0.8, 8, 8 ) +}, { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 4 ), +"shape_transform": Transform2D( 0.8, 0, 0, 0.8, 8, 8 ) } ] 0/z_index = 0 1/name = "Sprite2" @@ -37,14 +109,14 @@ extents = Vector2( 8, 8 ) 1/navigation_offset = Vector2( 8, 8 ) 1/shape_offset = Vector2( 8, 8 ) 1/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -1/shape = SubResource( 1 ) +1/shape = SubResource( 6 ) 1/shape_one_way = false 1/shape_one_way_margin = 1.0 1/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 1 ), +"shape": SubResource( 6 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 1/z_index = 0 @@ -79,14 +151,14 @@ extents = Vector2( 8, 8 ) 3/navigation_offset = Vector2( 8, 8 ) 3/shape_offset = Vector2( 8, 8 ) 3/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -3/shape = SubResource( 1 ) +3/shape = SubResource( 11 ) 3/shape_one_way = false 3/shape_one_way_margin = 1.0 3/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 1 ), +"shape": SubResource( 11 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 3/z_index = 0 @@ -100,14 +172,14 @@ extents = Vector2( 8, 8 ) 4/navigation_offset = Vector2( 8, 8 ) 4/shape_offset = Vector2( 8, 8 ) 4/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -4/shape = SubResource( 1 ) +4/shape = SubResource( 13 ) 4/shape_one_way = false 4/shape_one_way_margin = 1.0 4/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 1 ), +"shape": SubResource( 13 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 4/z_index = 0 @@ -373,14 +445,14 @@ extents = Vector2( 8, 8 ) 17/navigation_offset = Vector2( 8, 8 ) 17/shape_offset = Vector2( 8, 8 ) 17/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -17/shape = SubResource( 1 ) +17/shape = SubResource( 7 ) 17/shape_one_way = false 17/shape_one_way_margin = 1.0 17/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 1 ), +"shape": SubResource( 7 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 17/z_index = 0 @@ -394,14 +466,14 @@ extents = Vector2( 8, 8 ) 18/navigation_offset = Vector2( 8, 8 ) 18/shape_offset = Vector2( 8, 8 ) 18/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -18/shape = SubResource( 1 ) +18/shape = SubResource( 8 ) 18/shape_one_way = false 18/shape_one_way_margin = 1.0 18/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 1 ), +"shape": SubResource( 8 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 18/z_index = 0 @@ -415,14 +487,14 @@ extents = Vector2( 8, 8 ) 19/navigation_offset = Vector2( 8, 8 ) 19/shape_offset = Vector2( 8, 8 ) 19/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -19/shape = SubResource( 1 ) +19/shape = SubResource( 9 ) 19/shape_one_way = false 19/shape_one_way_margin = 1.0 19/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 1 ), +"shape": SubResource( 9 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 19/z_index = 0 @@ -478,14 +550,14 @@ extents = Vector2( 8, 8 ) 22/navigation_offset = Vector2( 8, 8 ) 22/shape_offset = Vector2( 8, 8 ) 22/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -22/shape = SubResource( 1 ) +22/shape = SubResource( 5 ) 22/shape_one_way = false 22/shape_one_way_margin = 1.0 22/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 1 ), +"shape": SubResource( 5 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 22/z_index = 0 @@ -520,14 +592,14 @@ extents = Vector2( 8, 8 ) 24/navigation_offset = Vector2( 8, 8 ) 24/shape_offset = Vector2( 8, 8 ) 24/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -24/shape = SubResource( 1 ) +24/shape = SubResource( 10 ) 24/shape_one_way = false 24/shape_one_way_margin = 1.0 24/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 1 ), +"shape": SubResource( 10 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 24/z_index = 0 @@ -835,14 +907,14 @@ extents = Vector2( 8, 8 ) 39/navigation_offset = Vector2( 8, 8 ) 39/shape_offset = Vector2( 8, 8 ) 39/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -39/shape = SubResource( 1 ) +39/shape = SubResource( 12 ) 39/shape_one_way = false 39/shape_one_way_margin = 1.0 39/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 1 ), +"shape": SubResource( 12 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 39/z_index = 0 @@ -856,14 +928,14 @@ extents = Vector2( 8, 8 ) 40/navigation_offset = Vector2( 8, 8 ) 40/shape_offset = Vector2( 8, 8 ) 40/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -40/shape = SubResource( 1 ) +40/shape = SubResource( 14 ) 40/shape_one_way = false 40/shape_one_way_margin = 1.0 40/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 1 ), +"shape": SubResource( 14 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 40/z_index = 0 @@ -877,14 +949,14 @@ extents = Vector2( 8, 8 ) 41/navigation_offset = Vector2( 8, 8 ) 41/shape_offset = Vector2( 8, 8 ) 41/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -41/shape = SubResource( 1 ) +41/shape = SubResource( 15 ) 41/shape_one_way = false 41/shape_one_way_margin = 1.0 41/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 1 ), +"shape": SubResource( 15 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 41/z_index = 0 @@ -961,14 +1033,14 @@ extents = Vector2( 8, 8 ) 45/navigation_offset = Vector2( 8, 8 ) 45/shape_offset = Vector2( 8, 8 ) 45/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -45/shape = SubResource( 1 ) +45/shape = SubResource( 16 ) 45/shape_one_way = false 45/shape_one_way_margin = 1.0 45/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 1 ), +"shape": SubResource( 16 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 45/z_index = 0 @@ -982,14 +1054,20 @@ extents = Vector2( 8, 8 ) 46/navigation_offset = Vector2( 8, 8 ) 46/shape_offset = Vector2( 8, 8 ) 46/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -46/shape = SubResource( 1 ) +46/shape = SubResource( 17 ) 46/shape_one_way = false 46/shape_one_way_margin = 1.0 46/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 1 ), +"shape": SubResource( 17 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) +}, { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 18 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 46/z_index = 0 @@ -1297,14 +1375,14 @@ extents = Vector2( 8, 8 ) 61/navigation_offset = Vector2( 8, 8 ) 61/shape_offset = Vector2( 8, 8 ) 61/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -61/shape = SubResource( 1 ) +61/shape = SubResource( 19 ) 61/shape_one_way = false 61/shape_one_way_margin = 1.0 61/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 1 ), +"shape": SubResource( 19 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 61/z_index = 0 @@ -1318,14 +1396,14 @@ extents = Vector2( 8, 8 ) 62/navigation_offset = Vector2( 8, 8 ) 62/shape_offset = Vector2( 8, 8 ) 62/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -62/shape = SubResource( 1 ) +62/shape = SubResource( 20 ) 62/shape_one_way = false 62/shape_one_way_margin = 1.0 62/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 1 ), +"shape": SubResource( 20 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 62/z_index = 0 @@ -1339,14 +1417,14 @@ extents = Vector2( 8, 8 ) 63/navigation_offset = Vector2( 8, 8 ) 63/shape_offset = Vector2( 8, 8 ) 63/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -63/shape = SubResource( 1 ) +63/shape = SubResource( 21 ) 63/shape_one_way = false 63/shape_one_way_margin = 1.0 63/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 1 ), +"shape": SubResource( 21 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 63/z_index = 0 diff --git a/tileset/tileset.tscn b/tileset/tileset.tscn index 97a4cd6..797c5c4 100644 --- a/tileset/tileset.tscn +++ b/tileset/tileset.tscn @@ -18,8 +18,9 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite/StaticBody2D"] +scale = Vector2( 0.8, 0.8 ) +polygon = PoolVector2Array( -10, -10, 10, -10, 10, 0, 0, 0, 0, 10, -10, 10 ) [node name="Sprite2" type="Sprite" parent="."] position = Vector2( 24, 16 ) @@ -33,8 +34,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite2"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite2/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite2/StaticBody2D"] +polygon = PoolVector2Array( -8, -8, 8, -8, 8, 0, -8, 0 ) [node name="Sprite3" type="Sprite" parent="."] position = Vector2( 40, 16 ) @@ -63,8 +64,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite4"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite4/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite4/StaticBody2D"] +polygon = PoolVector2Array( 0, 0, 8, 0, 8, 8, 0, 8 ) [node name="Sprite5" type="Sprite" parent="."] position = Vector2( 72, 16 ) @@ -78,23 +79,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite5"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite5/StaticBody2D"] -shape = SubResource( 1 ) - -[node name="Sprite6" type="Sprite" parent="."] -position = Vector2( 88, 16 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 5 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite6"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite6/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite5/StaticBody2D"] +polygon = PoolVector2Array( -8, 0, 4, 0, 4, 8, -8, 8 ) [node name="Sprite7" type="Sprite" parent="."] position = Vector2( 104, 16 ) @@ -171,21 +157,6 @@ __meta__ = { [node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite11/StaticBody2D"] shape = SubResource( 1 ) -[node name="Sprite12" type="Sprite" parent="."] -position = Vector2( 184, 16 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 11 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite12"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite12/StaticBody2D"] -shape = SubResource( 1 ) - [node name="Sprite13" type="Sprite" parent="."] position = Vector2( 200, 16 ) texture = ExtResource( 1 ) @@ -246,21 +217,6 @@ __meta__ = { [node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite16/StaticBody2D"] shape = SubResource( 1 ) -[node name="Sprite17" type="Sprite" parent="."] -position = Vector2( 264, 16 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 16 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite17"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite17/StaticBody2D"] -shape = SubResource( 1 ) - [node name="Sprite18" type="Sprite" parent="."] position = Vector2( 280, 16 ) texture = ExtResource( 1 ) @@ -273,8 +229,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite18"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite18/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite18/StaticBody2D"] +polygon = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) [node name="Sprite19" type="Sprite" parent="."] position = Vector2( 296, 16 ) @@ -288,8 +244,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite19"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite19/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite19/StaticBody2D"] +polygon = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) [node name="Sprite20" type="Sprite" parent="."] position = Vector2( 312, 16 ) @@ -303,38 +259,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite20"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite20/StaticBody2D"] -shape = SubResource( 1 ) - -[node name="Sprite21" type="Sprite" parent="."] -position = Vector2( 328, 16 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 20 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite21"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite21/StaticBody2D"] -shape = SubResource( 1 ) - -[node name="Sprite22" type="Sprite" parent="."] -position = Vector2( 344, 16 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 20 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite22"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite22/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite20/StaticBody2D"] +polygon = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) [node name="Sprite23" type="Sprite" parent="."] position = Vector2( 8, 32 ) @@ -348,8 +274,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite23"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite23/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite23/StaticBody2D"] +polygon = PoolVector2Array( -8, -8, 0, -8, 0, 8, -8, 8 ) [node name="Sprite24" type="Sprite" parent="."] position = Vector2( 24, 32 ) @@ -378,8 +304,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite25"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite25/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite25/StaticBody2D"] +polygon = PoolVector2Array( 0, -8, 8, -8, 8, 8, 0, 8 ) [node name="Sprite26" type="Sprite" parent="."] position = Vector2( 56, 32 ) @@ -411,21 +337,6 @@ __meta__ = { [node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite27/StaticBody2D"] shape = SubResource( 1 ) -[node name="Sprite28" type="Sprite" parent="."] -position = Vector2( 88, 32 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 27 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite28"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite28/StaticBody2D"] -shape = SubResource( 1 ) - [node name="Sprite29" type="Sprite" parent="."] position = Vector2( 104, 32 ) texture = ExtResource( 1 ) @@ -501,21 +412,6 @@ __meta__ = { [node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite33/StaticBody2D"] shape = SubResource( 1 ) -[node name="Sprite34" type="Sprite" parent="."] -position = Vector2( 184, 32 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 33 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite34"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite34/StaticBody2D"] -shape = SubResource( 1 ) - [node name="Sprite35" type="Sprite" parent="."] position = Vector2( 200, 32 ) texture = ExtResource( 1 ) @@ -576,21 +472,6 @@ __meta__ = { [node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite38/StaticBody2D"] shape = SubResource( 1 ) -[node name="Sprite39" type="Sprite" parent="."] -position = Vector2( 264, 32 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 38 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite39"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite39/StaticBody2D"] -shape = SubResource( 1 ) - [node name="Sprite40" type="Sprite" parent="."] position = Vector2( 280, 32 ) texture = ExtResource( 1 ) @@ -603,8 +484,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite40"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite40/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite40/StaticBody2D"] +polygon = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) [node name="Sprite41" type="Sprite" parent="."] position = Vector2( 296, 32 ) @@ -618,8 +499,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite41"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite41/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite41/StaticBody2D"] +polygon = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) [node name="Sprite42" type="Sprite" parent="."] position = Vector2( 312, 32 ) @@ -633,38 +514,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite42"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite42/StaticBody2D"] -shape = SubResource( 1 ) - -[node name="Sprite43" type="Sprite" parent="."] -position = Vector2( 328, 32 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 42 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite43"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite43/StaticBody2D"] -shape = SubResource( 1 ) - -[node name="Sprite44" type="Sprite" parent="."] -position = Vector2( 344, 32 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 43 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite44"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite44/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite42/StaticBody2D"] +polygon = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) [node name="Sprite45" type="Sprite" parent="."] position = Vector2( 8, 48 ) @@ -693,8 +544,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite46"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite46/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite46/StaticBody2D"] +polygon = PoolVector2Array( -8, 0, 8, 0, 8, 8, -8, 8 ) [node name="Sprite47" type="Sprite" parent="."] position = Vector2( 40, 48 ) @@ -708,53 +559,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite47"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite47/StaticBody2D"] -shape = SubResource( 1 ) - -[node name="Sprite48" type="Sprite" parent="."] -position = Vector2( 56, 48 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 47 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite48"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite48/StaticBody2D"] -shape = SubResource( 1 ) - -[node name="Sprite49" type="Sprite" parent="."] -position = Vector2( 72, 48 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 48 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite49"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite49/StaticBody2D"] -shape = SubResource( 1 ) - -[node name="Sprite50" type="Sprite" parent="."] -position = Vector2( 88, 48 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 49 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite50"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite50/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite47/StaticBody2D"] +polygon = PoolVector2Array( -8, 0, 0, 0, 0, -8, 8, -8, 8, 8, -8, 8 ) [node name="Sprite51" type="Sprite" parent="."] position = Vector2( 104, 48 ) @@ -801,66 +607,6 @@ __meta__ = { [node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite53/StaticBody2D"] shape = SubResource( 1 ) -[node name="Sprite54" type="Sprite" parent="."] -position = Vector2( 152, 48 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 53 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite54"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite54/StaticBody2D"] -shape = SubResource( 1 ) - -[node name="Sprite55" type="Sprite" parent="."] -position = Vector2( 168, 48 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 54 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite55"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite55/StaticBody2D"] -shape = SubResource( 1 ) - -[node name="Sprite56" type="Sprite" parent="."] -position = Vector2( 184, 48 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 55 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite56"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite56/StaticBody2D"] -shape = SubResource( 1 ) - -[node name="Sprite57" type="Sprite" parent="."] -position = Vector2( 200, 48 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 56 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite57"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite57/StaticBody2D"] -shape = SubResource( 1 ) - [node name="Sprite58" type="Sprite" parent="."] position = Vector2( 216, 48 ) texture = ExtResource( 1 ) @@ -906,21 +652,6 @@ __meta__ = { [node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite60/StaticBody2D"] shape = SubResource( 1 ) -[node name="Sprite61" type="Sprite" parent="."] -position = Vector2( 264, 48 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 60 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite61"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite61/StaticBody2D"] -shape = SubResource( 1 ) - [node name="Sprite62" type="Sprite" parent="."] position = Vector2( 280, 48 ) texture = ExtResource( 1 ) @@ -933,8 +664,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite62"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite62/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite62/StaticBody2D"] +polygon = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) [node name="Sprite63" type="Sprite" parent="."] position = Vector2( 296, 48 ) @@ -948,8 +679,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite63"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite63/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite63/StaticBody2D"] +polygon = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) [node name="Sprite64" type="Sprite" parent="."] position = Vector2( 312, 48 ) @@ -963,23 +694,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite64"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite64/StaticBody2D"] -shape = SubResource( 1 ) - -[node name="Sprite65" type="Sprite" parent="."] -position = Vector2( 328, 48 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 64 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite65"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite65/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite64/StaticBody2D"] +polygon = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) [node name="Sprite66" type="Sprite" parent="."] position = Vector2( 344, 48 ) -- cgit v1.2.3