From 31089507aae1d35d0deeb2c412cfa311e7a57563 Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Fri, 15 Apr 2022 02:08:49 +0530 Subject: Adds Chicken Enemy Animation Tree - In-Progress --- ...32x34).png-732fd1d0690b71ac82d22221aba2f5ad.md5 | 3 + ...2x34).png-732fd1d0690b71ac82d22221aba2f5ad.stex | Bin 0 -> 810 bytes ...32x34).png-e4e3d07dda254934514d8a3ce37efdd6.md5 | 3 + ...2x34).png-e4e3d07dda254934514d8a3ce37efdd6.stex | Bin 0 -> 1322 bytes ...32x34).png-46fb23496f7fbe5ff034989409629207.md5 | 3 + ...2x34).png-46fb23496f7fbe5ff034989409629207.stex | Bin 0 -> 1156 bytes ...n_hit1.png-8d41f4f93553e79ada71205a67aa00c7.md5 | 3 + ..._hit1.png-8d41f4f93553e79ada71205a67aa00c7.stex | Bin 0 -> 170 bytes ...n_hit2.png-04aa05a079f927bf40d35ea4d3dc09cc.md5 | 3 + ..._hit2.png-04aa05a079f927bf40d35ea4d3dc09cc.stex | Bin 0 -> 170 bytes ...n_hit3.png-c18cae0836c1b0b01a43f89d64367a7a.md5 | 3 + ..._hit3.png-c18cae0836c1b0b01a43f89d64367a7a.stex | Bin 0 -> 398 bytes ...n_hit4.png-0c41a5a4cd3597696684714bffaa7347.md5 | 3 + ..._hit4.png-0c41a5a4cd3597696684714bffaa7347.stex | Bin 0 -> 404 bytes ...n_hit5.png-a69586c36c55262851e56cbedb0495d9.md5 | 3 + ..._hit5.png-a69586c36c55262851e56cbedb0495d9.stex | Bin 0 -> 408 bytes ..._idle1.png-bae799c1775d8303142102038839413b.md5 | 3 + ...idle1.png-bae799c1775d8303142102038839413b.stex | Bin 0 -> 418 bytes ...idle10.png-8e142ad65369232903864ee38abc82cc.md5 | 3 + ...dle10.png-8e142ad65369232903864ee38abc82cc.stex | Bin 0 -> 416 bytes ...idle11.png-54efe339c39d739c5ed4853427a96c4b.md5 | 3 + ...dle11.png-54efe339c39d739c5ed4853427a96c4b.stex | Bin 0 -> 416 bytes ...idle12.png-eb9b7dafe5b7f9b1dc9e1ad382c1a982.md5 | 3 + ...dle12.png-eb9b7dafe5b7f9b1dc9e1ad382c1a982.stex | Bin 0 -> 416 bytes ...idle13.png-529b2cd3b1d90c2efe445f6d9d676d1b.md5 | 3 + ...dle13.png-529b2cd3b1d90c2efe445f6d9d676d1b.stex | Bin 0 -> 418 bytes ..._idle2.png-026e3ab3763f57e87e25326f5ce7b13d.md5 | 3 + ...idle2.png-026e3ab3763f57e87e25326f5ce7b13d.stex | Bin 0 -> 424 bytes ..._idle3.png-efce26f584e15ddfb66ab7a57efdb9d1.md5 | 3 + ...idle3.png-efce26f584e15ddfb66ab7a57efdb9d1.stex | Bin 0 -> 416 bytes ..._idle4.png-0c5ca41783656381298cf5d4b1cdf0f6.md5 | 3 + ...idle4.png-0c5ca41783656381298cf5d4b1cdf0f6.stex | Bin 0 -> 396 bytes ..._idle5.png-73905222827dd5a9b371a320b43d7c0c.md5 | 3 + ...idle5.png-73905222827dd5a9b371a320b43d7c0c.stex | Bin 0 -> 396 bytes ..._idle6.png-0680476a27b5b2d4629f33338c0edfa5.md5 | 3 + ...idle6.png-0680476a27b5b2d4629f33338c0edfa5.stex | Bin 0 -> 400 bytes ..._idle7.png-00503ca2f8f4a9e25229c37bbdc64fd8.md5 | 3 + ...idle7.png-00503ca2f8f4a9e25229c37bbdc64fd8.stex | Bin 0 -> 418 bytes ..._idle8.png-e6cedb50308721c91c5fd5675119fceb.md5 | 3 + ...idle8.png-e6cedb50308721c91c5fd5675119fceb.stex | Bin 0 -> 416 bytes ..._idle9.png-f9ded328a4510f13a3a31f9d406ff1cd.md5 | 3 + ...idle9.png-f9ded328a4510f13a3a31f9d406ff1cd.stex | Bin 0 -> 416 bytes ...n_run1.png-a343d1f81fa023e053955eeb272a0ad9.md5 | 3 + ..._run1.png-a343d1f81fa023e053955eeb272a0ad9.stex | Bin 0 -> 404 bytes ..._run10.png-e71d8caf63a5acd00282ff123b386ec4.md5 | 3 + ...run10.png-e71d8caf63a5acd00282ff123b386ec4.stex | Bin 0 -> 398 bytes ..._run11.png-f01ca12a009d6128e841e21383757dab.md5 | 3 + ...run11.png-f01ca12a009d6128e841e21383757dab.stex | Bin 0 -> 406 bytes ..._run12.png-29d6cf214af37cbbbf14a7e9faf00437.md5 | 3 + ...run12.png-29d6cf214af37cbbbf14a7e9faf00437.stex | Bin 0 -> 388 bytes ..._run13.png-c3f3a4af3be747e1158feb427bd4d1aa.md5 | 3 + ...run13.png-c3f3a4af3be747e1158feb427bd4d1aa.stex | Bin 0 -> 414 bytes ..._run14.png-d2f26a0657ea27a900295a395ac66032.md5 | 3 + ...run14.png-d2f26a0657ea27a900295a395ac66032.stex | Bin 0 -> 414 bytes ...n_run2.png-f280e81134e7fa7198c63645279a59b0.md5 | 3 + ..._run2.png-f280e81134e7fa7198c63645279a59b0.stex | Bin 0 -> 398 bytes ...n_run3.png-042f05b993093f7ec103984f43a19714.md5 | 3 + ..._run3.png-042f05b993093f7ec103984f43a19714.stex | Bin 0 -> 398 bytes ...n_run4.png-efdeabb441df21ba19cfdbacb1e3cb70.md5 | 3 + ..._run4.png-efdeabb441df21ba19cfdbacb1e3cb70.stex | Bin 0 -> 406 bytes ...n_run5.png-5405930f206575bde5d4ae7da0f7df71.md5 | 3 + ..._run5.png-5405930f206575bde5d4ae7da0f7df71.stex | Bin 0 -> 414 bytes ...n_run6.png-a2f278c6d9ab268121721da4b62a75e9.md5 | 3 + ..._run6.png-a2f278c6d9ab268121721da4b62a75e9.stex | Bin 0 -> 416 bytes ...n_run7.png-4e91a131add44f26fc62fdbba1b2250c.md5 | 3 + ..._run7.png-4e91a131add44f26fc62fdbba1b2250c.stex | Bin 0 -> 416 bytes ...n_run8.png-f22de58052feb8d76ec304b61927f371.md5 | 3 + ..._run8.png-f22de58052feb8d76ec304b61927f371.stex | Bin 0 -> 406 bytes ...n_run9.png-99c6ca34d63baafd6fbb44c7d5e43cc3.md5 | 3 + ..._run9.png-99c6ca34d63baafd6fbb44c7d5e43cc3.stex | Bin 0 -> 398 bytes collectables/Apple.tscn | 1 - entities/Player.gd | 45 ---- entities/Player.tscn | 105 --------- entities/chicken/Hit (32x34).png | Bin 0 -> 2156 bytes entities/chicken/Hit (32x34).png.import | 35 +++ entities/chicken/Idle (32x34).png | Bin 0 -> 3686 bytes entities/chicken/Idle (32x34).png.import | 35 +++ entities/chicken/Run (32x34).png | Bin 0 -> 3068 bytes entities/chicken/Run (32x34).png.import | 35 +++ entities/chicken/chicken.gd | 26 +++ entities/chicken/chicken.tscn | 76 +++++++ entities/chicken/hit/chicken_hit1.png | Bin 0 -> 247 bytes entities/chicken/hit/chicken_hit1.png.import | 35 +++ entities/chicken/hit/chicken_hit2.png | Bin 0 -> 247 bytes entities/chicken/hit/chicken_hit2.png.import | 35 +++ entities/chicken/hit/chicken_hit3.png | Bin 0 -> 971 bytes entities/chicken/hit/chicken_hit3.png.import | 35 +++ entities/chicken/hit/chicken_hit4.png | Bin 0 -> 1042 bytes entities/chicken/hit/chicken_hit4.png.import | 35 +++ entities/chicken/hit/chicken_hit5.png | Bin 0 -> 882 bytes entities/chicken/hit/chicken_hit5.png.import | 35 +++ entities/chicken/idle/chicken_idle1.png | Bin 0 -> 1181 bytes entities/chicken/idle/chicken_idle1.png.import | 35 +++ entities/chicken/idle/chicken_idle10.png | Bin 0 -> 1160 bytes entities/chicken/idle/chicken_idle10.png.import | 35 +++ entities/chicken/idle/chicken_idle11.png | Bin 0 -> 1160 bytes entities/chicken/idle/chicken_idle11.png.import | 35 +++ entities/chicken/idle/chicken_idle12.png | Bin 0 -> 1160 bytes entities/chicken/idle/chicken_idle12.png.import | 35 +++ entities/chicken/idle/chicken_idle13.png | Bin 0 -> 1160 bytes entities/chicken/idle/chicken_idle13.png.import | 35 +++ entities/chicken/idle/chicken_idle2.png | Bin 0 -> 1122 bytes entities/chicken/idle/chicken_idle2.png.import | 35 +++ entities/chicken/idle/chicken_idle3.png | Bin 0 -> 1059 bytes entities/chicken/idle/chicken_idle3.png.import | 35 +++ entities/chicken/idle/chicken_idle4.png | Bin 0 -> 984 bytes entities/chicken/idle/chicken_idle4.png.import | 35 +++ entities/chicken/idle/chicken_idle5.png | Bin 0 -> 984 bytes entities/chicken/idle/chicken_idle5.png.import | 35 +++ entities/chicken/idle/chicken_idle6.png | Bin 0 -> 1044 bytes entities/chicken/idle/chicken_idle6.png.import | 35 +++ entities/chicken/idle/chicken_idle7.png | Bin 0 -> 1100 bytes entities/chicken/idle/chicken_idle7.png.import | 35 +++ entities/chicken/idle/chicken_idle8.png | Bin 0 -> 1170 bytes entities/chicken/idle/chicken_idle8.png.import | 35 +++ entities/chicken/idle/chicken_idle9.png | Bin 0 -> 1165 bytes entities/chicken/idle/chicken_idle9.png.import | 35 +++ entities/chicken/run/chicken_run1.png | Bin 0 -> 910 bytes entities/chicken/run/chicken_run1.png.import | 35 +++ entities/chicken/run/chicken_run10.png | Bin 0 -> 781 bytes entities/chicken/run/chicken_run10.png.import | 35 +++ entities/chicken/run/chicken_run11.png | Bin 0 -> 862 bytes entities/chicken/run/chicken_run11.png.import | 35 +++ entities/chicken/run/chicken_run12.png | Bin 0 -> 841 bytes entities/chicken/run/chicken_run12.png.import | 35 +++ entities/chicken/run/chicken_run13.png | Bin 0 -> 1026 bytes entities/chicken/run/chicken_run13.png.import | 35 +++ entities/chicken/run/chicken_run14.png | Bin 0 -> 1026 bytes entities/chicken/run/chicken_run14.png.import | 35 +++ entities/chicken/run/chicken_run2.png | Bin 0 -> 787 bytes entities/chicken/run/chicken_run2.png.import | 35 +++ entities/chicken/run/chicken_run3.png | Bin 0 -> 787 bytes entities/chicken/run/chicken_run3.png.import | 35 +++ entities/chicken/run/chicken_run4.png | Bin 0 -> 867 bytes entities/chicken/run/chicken_run4.png.import | 35 +++ entities/chicken/run/chicken_run5.png | Bin 0 -> 840 bytes entities/chicken/run/chicken_run5.png.import | 35 +++ entities/chicken/run/chicken_run6.png | Bin 0 -> 1039 bytes entities/chicken/run/chicken_run6.png.import | 35 +++ entities/chicken/run/chicken_run7.png | Bin 0 -> 1039 bytes entities/chicken/run/chicken_run7.png.import | 35 +++ entities/chicken/run/chicken_run8.png | Bin 0 -> 890 bytes entities/chicken/run/chicken_run8.png.import | 35 +++ entities/chicken/run/chicken_run9.png | Bin 0 -> 781 bytes entities/chicken/run/chicken_run9.png.import | 35 +++ entities/player/Player.gd | 61 +++++ entities/player/Player.tscn | 248 +++++++++++++++++++++ export_presets.cfg | 0 project.godot | 6 + scenes/level1.tscn | 13 +- singletons/SignalBus.gd | 3 + 151 files changed, 1759 insertions(+), 155 deletions(-) create mode 100644 .import/Hit (32x34).png-732fd1d0690b71ac82d22221aba2f5ad.md5 create mode 100644 .import/Hit (32x34).png-732fd1d0690b71ac82d22221aba2f5ad.stex create mode 100644 .import/Idle (32x34).png-e4e3d07dda254934514d8a3ce37efdd6.md5 create mode 100644 .import/Idle (32x34).png-e4e3d07dda254934514d8a3ce37efdd6.stex create mode 100644 .import/Run (32x34).png-46fb23496f7fbe5ff034989409629207.md5 create mode 100644 .import/Run (32x34).png-46fb23496f7fbe5ff034989409629207.stex create mode 100644 .import/chicken_hit1.png-8d41f4f93553e79ada71205a67aa00c7.md5 create mode 100644 .import/chicken_hit1.png-8d41f4f93553e79ada71205a67aa00c7.stex create mode 100644 .import/chicken_hit2.png-04aa05a079f927bf40d35ea4d3dc09cc.md5 create mode 100644 .import/chicken_hit2.png-04aa05a079f927bf40d35ea4d3dc09cc.stex create mode 100644 .import/chicken_hit3.png-c18cae0836c1b0b01a43f89d64367a7a.md5 create mode 100644 .import/chicken_hit3.png-c18cae0836c1b0b01a43f89d64367a7a.stex create mode 100644 .import/chicken_hit4.png-0c41a5a4cd3597696684714bffaa7347.md5 create mode 100644 .import/chicken_hit4.png-0c41a5a4cd3597696684714bffaa7347.stex create mode 100644 .import/chicken_hit5.png-a69586c36c55262851e56cbedb0495d9.md5 create mode 100644 .import/chicken_hit5.png-a69586c36c55262851e56cbedb0495d9.stex create mode 100644 .import/chicken_idle1.png-bae799c1775d8303142102038839413b.md5 create mode 100644 .import/chicken_idle1.png-bae799c1775d8303142102038839413b.stex create mode 100644 .import/chicken_idle10.png-8e142ad65369232903864ee38abc82cc.md5 create mode 100644 .import/chicken_idle10.png-8e142ad65369232903864ee38abc82cc.stex create mode 100644 .import/chicken_idle11.png-54efe339c39d739c5ed4853427a96c4b.md5 create mode 100644 .import/chicken_idle11.png-54efe339c39d739c5ed4853427a96c4b.stex create mode 100644 .import/chicken_idle12.png-eb9b7dafe5b7f9b1dc9e1ad382c1a982.md5 create mode 100644 .import/chicken_idle12.png-eb9b7dafe5b7f9b1dc9e1ad382c1a982.stex create mode 100644 .import/chicken_idle13.png-529b2cd3b1d90c2efe445f6d9d676d1b.md5 create mode 100644 .import/chicken_idle13.png-529b2cd3b1d90c2efe445f6d9d676d1b.stex create mode 100644 .import/chicken_idle2.png-026e3ab3763f57e87e25326f5ce7b13d.md5 create mode 100644 .import/chicken_idle2.png-026e3ab3763f57e87e25326f5ce7b13d.stex create mode 100644 .import/chicken_idle3.png-efce26f584e15ddfb66ab7a57efdb9d1.md5 create mode 100644 .import/chicken_idle3.png-efce26f584e15ddfb66ab7a57efdb9d1.stex create mode 100644 .import/chicken_idle4.png-0c5ca41783656381298cf5d4b1cdf0f6.md5 create mode 100644 .import/chicken_idle4.png-0c5ca41783656381298cf5d4b1cdf0f6.stex create mode 100644 .import/chicken_idle5.png-73905222827dd5a9b371a320b43d7c0c.md5 create mode 100644 .import/chicken_idle5.png-73905222827dd5a9b371a320b43d7c0c.stex create mode 100644 .import/chicken_idle6.png-0680476a27b5b2d4629f33338c0edfa5.md5 create mode 100644 .import/chicken_idle6.png-0680476a27b5b2d4629f33338c0edfa5.stex create mode 100644 .import/chicken_idle7.png-00503ca2f8f4a9e25229c37bbdc64fd8.md5 create mode 100644 .import/chicken_idle7.png-00503ca2f8f4a9e25229c37bbdc64fd8.stex create mode 100644 .import/chicken_idle8.png-e6cedb50308721c91c5fd5675119fceb.md5 create mode 100644 .import/chicken_idle8.png-e6cedb50308721c91c5fd5675119fceb.stex create mode 100644 .import/chicken_idle9.png-f9ded328a4510f13a3a31f9d406ff1cd.md5 create mode 100644 .import/chicken_idle9.png-f9ded328a4510f13a3a31f9d406ff1cd.stex create mode 100644 .import/chicken_run1.png-a343d1f81fa023e053955eeb272a0ad9.md5 create mode 100644 .import/chicken_run1.png-a343d1f81fa023e053955eeb272a0ad9.stex create mode 100644 .import/chicken_run10.png-e71d8caf63a5acd00282ff123b386ec4.md5 create mode 100644 .import/chicken_run10.png-e71d8caf63a5acd00282ff123b386ec4.stex create mode 100644 .import/chicken_run11.png-f01ca12a009d6128e841e21383757dab.md5 create mode 100644 .import/chicken_run11.png-f01ca12a009d6128e841e21383757dab.stex create mode 100644 .import/chicken_run12.png-29d6cf214af37cbbbf14a7e9faf00437.md5 create mode 100644 .import/chicken_run12.png-29d6cf214af37cbbbf14a7e9faf00437.stex create mode 100644 .import/chicken_run13.png-c3f3a4af3be747e1158feb427bd4d1aa.md5 create mode 100644 .import/chicken_run13.png-c3f3a4af3be747e1158feb427bd4d1aa.stex create mode 100644 .import/chicken_run14.png-d2f26a0657ea27a900295a395ac66032.md5 create mode 100644 .import/chicken_run14.png-d2f26a0657ea27a900295a395ac66032.stex create mode 100644 .import/chicken_run2.png-f280e81134e7fa7198c63645279a59b0.md5 create mode 100644 .import/chicken_run2.png-f280e81134e7fa7198c63645279a59b0.stex create mode 100644 .import/chicken_run3.png-042f05b993093f7ec103984f43a19714.md5 create mode 100644 .import/chicken_run3.png-042f05b993093f7ec103984f43a19714.stex create mode 100644 .import/chicken_run4.png-efdeabb441df21ba19cfdbacb1e3cb70.md5 create mode 100644 .import/chicken_run4.png-efdeabb441df21ba19cfdbacb1e3cb70.stex create mode 100644 .import/chicken_run5.png-5405930f206575bde5d4ae7da0f7df71.md5 create mode 100644 .import/chicken_run5.png-5405930f206575bde5d4ae7da0f7df71.stex create mode 100644 .import/chicken_run6.png-a2f278c6d9ab268121721da4b62a75e9.md5 create mode 100644 .import/chicken_run6.png-a2f278c6d9ab268121721da4b62a75e9.stex create mode 100644 .import/chicken_run7.png-4e91a131add44f26fc62fdbba1b2250c.md5 create mode 100644 .import/chicken_run7.png-4e91a131add44f26fc62fdbba1b2250c.stex create mode 100644 .import/chicken_run8.png-f22de58052feb8d76ec304b61927f371.md5 create mode 100644 .import/chicken_run8.png-f22de58052feb8d76ec304b61927f371.stex create mode 100644 .import/chicken_run9.png-99c6ca34d63baafd6fbb44c7d5e43cc3.md5 create mode 100644 .import/chicken_run9.png-99c6ca34d63baafd6fbb44c7d5e43cc3.stex delete mode 100644 entities/Player.gd delete mode 100644 entities/Player.tscn create mode 100644 entities/chicken/Hit (32x34).png create mode 100644 entities/chicken/Hit (32x34).png.import create mode 100644 entities/chicken/Idle (32x34).png create mode 100644 entities/chicken/Idle (32x34).png.import create mode 100644 entities/chicken/Run (32x34).png create mode 100644 entities/chicken/Run (32x34).png.import create mode 100644 entities/chicken/chicken.gd create mode 100644 entities/chicken/chicken.tscn create mode 100644 entities/chicken/hit/chicken_hit1.png create mode 100644 entities/chicken/hit/chicken_hit1.png.import create mode 100644 entities/chicken/hit/chicken_hit2.png create mode 100644 entities/chicken/hit/chicken_hit2.png.import create mode 100644 entities/chicken/hit/chicken_hit3.png create mode 100644 entities/chicken/hit/chicken_hit3.png.import create mode 100644 entities/chicken/hit/chicken_hit4.png create mode 100644 entities/chicken/hit/chicken_hit4.png.import create mode 100644 entities/chicken/hit/chicken_hit5.png create mode 100644 entities/chicken/hit/chicken_hit5.png.import create mode 100644 entities/chicken/idle/chicken_idle1.png create mode 100644 entities/chicken/idle/chicken_idle1.png.import create mode 100644 entities/chicken/idle/chicken_idle10.png create mode 100644 entities/chicken/idle/chicken_idle10.png.import create mode 100644 entities/chicken/idle/chicken_idle11.png create mode 100644 entities/chicken/idle/chicken_idle11.png.import create mode 100644 entities/chicken/idle/chicken_idle12.png create mode 100644 entities/chicken/idle/chicken_idle12.png.import create mode 100644 entities/chicken/idle/chicken_idle13.png create mode 100644 entities/chicken/idle/chicken_idle13.png.import create mode 100644 entities/chicken/idle/chicken_idle2.png create mode 100644 entities/chicken/idle/chicken_idle2.png.import create mode 100644 entities/chicken/idle/chicken_idle3.png create mode 100644 entities/chicken/idle/chicken_idle3.png.import create mode 100644 entities/chicken/idle/chicken_idle4.png create mode 100644 entities/chicken/idle/chicken_idle4.png.import create mode 100644 entities/chicken/idle/chicken_idle5.png create mode 100644 entities/chicken/idle/chicken_idle5.png.import create mode 100644 entities/chicken/idle/chicken_idle6.png create mode 100644 entities/chicken/idle/chicken_idle6.png.import create mode 100644 entities/chicken/idle/chicken_idle7.png create mode 100644 entities/chicken/idle/chicken_idle7.png.import create mode 100644 entities/chicken/idle/chicken_idle8.png create mode 100644 entities/chicken/idle/chicken_idle8.png.import create mode 100644 entities/chicken/idle/chicken_idle9.png create mode 100644 entities/chicken/idle/chicken_idle9.png.import create mode 100644 entities/chicken/run/chicken_run1.png create mode 100644 entities/chicken/run/chicken_run1.png.import create mode 100644 entities/chicken/run/chicken_run10.png create mode 100644 entities/chicken/run/chicken_run10.png.import create mode 100644 entities/chicken/run/chicken_run11.png create mode 100644 entities/chicken/run/chicken_run11.png.import create mode 100644 entities/chicken/run/chicken_run12.png create mode 100644 entities/chicken/run/chicken_run12.png.import create mode 100644 entities/chicken/run/chicken_run13.png create mode 100644 entities/chicken/run/chicken_run13.png.import create mode 100644 entities/chicken/run/chicken_run14.png create mode 100644 entities/chicken/run/chicken_run14.png.import create mode 100644 entities/chicken/run/chicken_run2.png create mode 100644 entities/chicken/run/chicken_run2.png.import create mode 100644 entities/chicken/run/chicken_run3.png create mode 100644 entities/chicken/run/chicken_run3.png.import create mode 100644 entities/chicken/run/chicken_run4.png create mode 100644 entities/chicken/run/chicken_run4.png.import create mode 100644 entities/chicken/run/chicken_run5.png create mode 100644 entities/chicken/run/chicken_run5.png.import create mode 100644 entities/chicken/run/chicken_run6.png create mode 100644 entities/chicken/run/chicken_run6.png.import create mode 100644 entities/chicken/run/chicken_run7.png create mode 100644 entities/chicken/run/chicken_run7.png.import create mode 100644 entities/chicken/run/chicken_run8.png create mode 100644 entities/chicken/run/chicken_run8.png.import create mode 100644 entities/chicken/run/chicken_run9.png create mode 100644 entities/chicken/run/chicken_run9.png.import create mode 100644 entities/player/Player.gd create mode 100644 entities/player/Player.tscn create mode 100644 export_presets.cfg create mode 100644 singletons/SignalBus.gd diff --git a/.import/Hit (32x34).png-732fd1d0690b71ac82d22221aba2f5ad.md5 b/.import/Hit (32x34).png-732fd1d0690b71ac82d22221aba2f5ad.md5 new file mode 100644 index 0000000..c5f54f1 --- /dev/null +++ b/.import/Hit (32x34).png-732fd1d0690b71ac82d22221aba2f5ad.md5 @@ -0,0 +1,3 @@ +source_md5="1a0b324bc2c06c132f6e17d509928a34" +dest_md5="3a7a5d1fabd1d2c52a32f59b751cfd7c" + diff --git a/.import/Hit (32x34).png-732fd1d0690b71ac82d22221aba2f5ad.stex b/.import/Hit (32x34).png-732fd1d0690b71ac82d22221aba2f5ad.stex new file mode 100644 index 0000000..ec6d330 Binary files /dev/null and b/.import/Hit (32x34).png-732fd1d0690b71ac82d22221aba2f5ad.stex differ diff --git a/.import/Idle (32x34).png-e4e3d07dda254934514d8a3ce37efdd6.md5 b/.import/Idle (32x34).png-e4e3d07dda254934514d8a3ce37efdd6.md5 new file mode 100644 index 0000000..df5284d --- /dev/null +++ b/.import/Idle (32x34).png-e4e3d07dda254934514d8a3ce37efdd6.md5 @@ -0,0 +1,3 @@ +source_md5="540724fcaccd692f5d3adb169fa8db2b" +dest_md5="662a6fbffedd8a07cca5f23aca90c40b" + diff --git a/.import/Idle (32x34).png-e4e3d07dda254934514d8a3ce37efdd6.stex b/.import/Idle (32x34).png-e4e3d07dda254934514d8a3ce37efdd6.stex new file mode 100644 index 0000000..883b4eb Binary files /dev/null and b/.import/Idle (32x34).png-e4e3d07dda254934514d8a3ce37efdd6.stex differ diff --git a/.import/Run (32x34).png-46fb23496f7fbe5ff034989409629207.md5 b/.import/Run (32x34).png-46fb23496f7fbe5ff034989409629207.md5 new file mode 100644 index 0000000..1b14662 --- /dev/null +++ b/.import/Run (32x34).png-46fb23496f7fbe5ff034989409629207.md5 @@ -0,0 +1,3 @@ +source_md5="58190fdf957eaba5b783bbe2df837c2e" +dest_md5="5ce83adf73743be95b56eed796bd3355" + diff --git a/.import/Run (32x34).png-46fb23496f7fbe5ff034989409629207.stex b/.import/Run (32x34).png-46fb23496f7fbe5ff034989409629207.stex new file mode 100644 index 0000000..5be6202 Binary files /dev/null and b/.import/Run (32x34).png-46fb23496f7fbe5ff034989409629207.stex differ diff --git a/.import/chicken_hit1.png-8d41f4f93553e79ada71205a67aa00c7.md5 b/.import/chicken_hit1.png-8d41f4f93553e79ada71205a67aa00c7.md5 new file mode 100644 index 0000000..62420e3 --- /dev/null +++ b/.import/chicken_hit1.png-8d41f4f93553e79ada71205a67aa00c7.md5 @@ -0,0 +1,3 @@ +source_md5="29897c72fce5d6401ba5f85133a1c9e7" +dest_md5="388f0c394ec4de9bdb8b5455861704a7" + diff --git a/.import/chicken_hit1.png-8d41f4f93553e79ada71205a67aa00c7.stex b/.import/chicken_hit1.png-8d41f4f93553e79ada71205a67aa00c7.stex new file mode 100644 index 0000000..944b153 Binary files /dev/null and b/.import/chicken_hit1.png-8d41f4f93553e79ada71205a67aa00c7.stex differ diff --git a/.import/chicken_hit2.png-04aa05a079f927bf40d35ea4d3dc09cc.md5 b/.import/chicken_hit2.png-04aa05a079f927bf40d35ea4d3dc09cc.md5 new file mode 100644 index 0000000..62420e3 --- /dev/null +++ b/.import/chicken_hit2.png-04aa05a079f927bf40d35ea4d3dc09cc.md5 @@ -0,0 +1,3 @@ +source_md5="29897c72fce5d6401ba5f85133a1c9e7" +dest_md5="388f0c394ec4de9bdb8b5455861704a7" + diff --git a/.import/chicken_hit2.png-04aa05a079f927bf40d35ea4d3dc09cc.stex b/.import/chicken_hit2.png-04aa05a079f927bf40d35ea4d3dc09cc.stex new file mode 100644 index 0000000..944b153 Binary files /dev/null and b/.import/chicken_hit2.png-04aa05a079f927bf40d35ea4d3dc09cc.stex differ diff --git a/.import/chicken_hit3.png-c18cae0836c1b0b01a43f89d64367a7a.md5 b/.import/chicken_hit3.png-c18cae0836c1b0b01a43f89d64367a7a.md5 new file mode 100644 index 0000000..b6b4a5b --- /dev/null +++ b/.import/chicken_hit3.png-c18cae0836c1b0b01a43f89d64367a7a.md5 @@ -0,0 +1,3 @@ +source_md5="7dccbf5557711b7dfd10576923243fb6" +dest_md5="74f65a0c0d9c03f9ddf1d71c1846e06b" + diff --git a/.import/chicken_hit3.png-c18cae0836c1b0b01a43f89d64367a7a.stex b/.import/chicken_hit3.png-c18cae0836c1b0b01a43f89d64367a7a.stex new file mode 100644 index 0000000..425d28f Binary files /dev/null and b/.import/chicken_hit3.png-c18cae0836c1b0b01a43f89d64367a7a.stex differ diff --git a/.import/chicken_hit4.png-0c41a5a4cd3597696684714bffaa7347.md5 b/.import/chicken_hit4.png-0c41a5a4cd3597696684714bffaa7347.md5 new file mode 100644 index 0000000..969e96f --- /dev/null +++ b/.import/chicken_hit4.png-0c41a5a4cd3597696684714bffaa7347.md5 @@ -0,0 +1,3 @@ +source_md5="705b21d1ffbef326646fdfa0b84eead7" +dest_md5="68edc02ae8bd3035cba2cb29b65491fc" + diff --git a/.import/chicken_hit4.png-0c41a5a4cd3597696684714bffaa7347.stex b/.import/chicken_hit4.png-0c41a5a4cd3597696684714bffaa7347.stex new file mode 100644 index 0000000..fb2a70c Binary files /dev/null and b/.import/chicken_hit4.png-0c41a5a4cd3597696684714bffaa7347.stex differ diff --git a/.import/chicken_hit5.png-a69586c36c55262851e56cbedb0495d9.md5 b/.import/chicken_hit5.png-a69586c36c55262851e56cbedb0495d9.md5 new file mode 100644 index 0000000..9951c3a --- /dev/null +++ b/.import/chicken_hit5.png-a69586c36c55262851e56cbedb0495d9.md5 @@ -0,0 +1,3 @@ +source_md5="7bd1abe189aedff759525a3a889e3744" +dest_md5="5d4c2da9b8e6dc60815132eb0ad7f8a1" + diff --git a/.import/chicken_hit5.png-a69586c36c55262851e56cbedb0495d9.stex b/.import/chicken_hit5.png-a69586c36c55262851e56cbedb0495d9.stex new file mode 100644 index 0000000..a478908 Binary files /dev/null and b/.import/chicken_hit5.png-a69586c36c55262851e56cbedb0495d9.stex differ diff --git a/.import/chicken_idle1.png-bae799c1775d8303142102038839413b.md5 b/.import/chicken_idle1.png-bae799c1775d8303142102038839413b.md5 new file mode 100644 index 0000000..2570bc8 --- /dev/null +++ b/.import/chicken_idle1.png-bae799c1775d8303142102038839413b.md5 @@ -0,0 +1,3 @@ +source_md5="dc144920cc3d1fe57fe3534c4f86ef26" +dest_md5="6a0a80857dc5dc9fe239d0850eff315f" + diff --git a/.import/chicken_idle1.png-bae799c1775d8303142102038839413b.stex b/.import/chicken_idle1.png-bae799c1775d8303142102038839413b.stex new file mode 100644 index 0000000..25a110d Binary files /dev/null and b/.import/chicken_idle1.png-bae799c1775d8303142102038839413b.stex differ diff --git a/.import/chicken_idle10.png-8e142ad65369232903864ee38abc82cc.md5 b/.import/chicken_idle10.png-8e142ad65369232903864ee38abc82cc.md5 new file mode 100644 index 0000000..838d0dd --- /dev/null +++ b/.import/chicken_idle10.png-8e142ad65369232903864ee38abc82cc.md5 @@ -0,0 +1,3 @@ +source_md5="f67ab8fdd92c127d9f9d89adae6fec2b" +dest_md5="ef6dd209414c7c7706841a37fa099dd6" + diff --git a/.import/chicken_idle10.png-8e142ad65369232903864ee38abc82cc.stex b/.import/chicken_idle10.png-8e142ad65369232903864ee38abc82cc.stex new file mode 100644 index 0000000..224f12f Binary files /dev/null and b/.import/chicken_idle10.png-8e142ad65369232903864ee38abc82cc.stex differ diff --git a/.import/chicken_idle11.png-54efe339c39d739c5ed4853427a96c4b.md5 b/.import/chicken_idle11.png-54efe339c39d739c5ed4853427a96c4b.md5 new file mode 100644 index 0000000..838d0dd --- /dev/null +++ b/.import/chicken_idle11.png-54efe339c39d739c5ed4853427a96c4b.md5 @@ -0,0 +1,3 @@ +source_md5="f67ab8fdd92c127d9f9d89adae6fec2b" +dest_md5="ef6dd209414c7c7706841a37fa099dd6" + diff --git a/.import/chicken_idle11.png-54efe339c39d739c5ed4853427a96c4b.stex b/.import/chicken_idle11.png-54efe339c39d739c5ed4853427a96c4b.stex new file mode 100644 index 0000000..224f12f Binary files /dev/null and b/.import/chicken_idle11.png-54efe339c39d739c5ed4853427a96c4b.stex differ diff --git a/.import/chicken_idle12.png-eb9b7dafe5b7f9b1dc9e1ad382c1a982.md5 b/.import/chicken_idle12.png-eb9b7dafe5b7f9b1dc9e1ad382c1a982.md5 new file mode 100644 index 0000000..838d0dd --- /dev/null +++ b/.import/chicken_idle12.png-eb9b7dafe5b7f9b1dc9e1ad382c1a982.md5 @@ -0,0 +1,3 @@ +source_md5="f67ab8fdd92c127d9f9d89adae6fec2b" +dest_md5="ef6dd209414c7c7706841a37fa099dd6" + diff --git a/.import/chicken_idle12.png-eb9b7dafe5b7f9b1dc9e1ad382c1a982.stex b/.import/chicken_idle12.png-eb9b7dafe5b7f9b1dc9e1ad382c1a982.stex new file mode 100644 index 0000000..224f12f Binary files /dev/null and b/.import/chicken_idle12.png-eb9b7dafe5b7f9b1dc9e1ad382c1a982.stex differ diff --git a/.import/chicken_idle13.png-529b2cd3b1d90c2efe445f6d9d676d1b.md5 b/.import/chicken_idle13.png-529b2cd3b1d90c2efe445f6d9d676d1b.md5 new file mode 100644 index 0000000..a5761c4 --- /dev/null +++ b/.import/chicken_idle13.png-529b2cd3b1d90c2efe445f6d9d676d1b.md5 @@ -0,0 +1,3 @@ +source_md5="2a26c1102516b0af9cae3abd11f0256b" +dest_md5="d6266903ba169bbc49812f0c0f1a8ab0" + diff --git a/.import/chicken_idle13.png-529b2cd3b1d90c2efe445f6d9d676d1b.stex b/.import/chicken_idle13.png-529b2cd3b1d90c2efe445f6d9d676d1b.stex new file mode 100644 index 0000000..6f2bcd0 Binary files /dev/null and b/.import/chicken_idle13.png-529b2cd3b1d90c2efe445f6d9d676d1b.stex differ diff --git a/.import/chicken_idle2.png-026e3ab3763f57e87e25326f5ce7b13d.md5 b/.import/chicken_idle2.png-026e3ab3763f57e87e25326f5ce7b13d.md5 new file mode 100644 index 0000000..9722846 --- /dev/null +++ b/.import/chicken_idle2.png-026e3ab3763f57e87e25326f5ce7b13d.md5 @@ -0,0 +1,3 @@ +source_md5="7af82bdb15aa7cfd02d6311de2af7480" +dest_md5="e14e12859c5378ee323596194b5e71ce" + diff --git a/.import/chicken_idle2.png-026e3ab3763f57e87e25326f5ce7b13d.stex b/.import/chicken_idle2.png-026e3ab3763f57e87e25326f5ce7b13d.stex new file mode 100644 index 0000000..0604c9e Binary files /dev/null and b/.import/chicken_idle2.png-026e3ab3763f57e87e25326f5ce7b13d.stex differ diff --git a/.import/chicken_idle3.png-efce26f584e15ddfb66ab7a57efdb9d1.md5 b/.import/chicken_idle3.png-efce26f584e15ddfb66ab7a57efdb9d1.md5 new file mode 100644 index 0000000..8e4e039 --- /dev/null +++ b/.import/chicken_idle3.png-efce26f584e15ddfb66ab7a57efdb9d1.md5 @@ -0,0 +1,3 @@ +source_md5="66022d5296e9905aa1ce65f6e6791a8e" +dest_md5="5d7eefcfc6ddb3cc0a420ac77f571720" + diff --git a/.import/chicken_idle3.png-efce26f584e15ddfb66ab7a57efdb9d1.stex b/.import/chicken_idle3.png-efce26f584e15ddfb66ab7a57efdb9d1.stex new file mode 100644 index 0000000..5e051f3 Binary files /dev/null and b/.import/chicken_idle3.png-efce26f584e15ddfb66ab7a57efdb9d1.stex differ diff --git a/.import/chicken_idle4.png-0c5ca41783656381298cf5d4b1cdf0f6.md5 b/.import/chicken_idle4.png-0c5ca41783656381298cf5d4b1cdf0f6.md5 new file mode 100644 index 0000000..c4d0303 --- /dev/null +++ b/.import/chicken_idle4.png-0c5ca41783656381298cf5d4b1cdf0f6.md5 @@ -0,0 +1,3 @@ +source_md5="e09c414faf4b9add6321674864a8cd0b" +dest_md5="1501d4cf035e4c4cbd13fe95c23808ef" + diff --git a/.import/chicken_idle4.png-0c5ca41783656381298cf5d4b1cdf0f6.stex b/.import/chicken_idle4.png-0c5ca41783656381298cf5d4b1cdf0f6.stex new file mode 100644 index 0000000..09affcb Binary files /dev/null and b/.import/chicken_idle4.png-0c5ca41783656381298cf5d4b1cdf0f6.stex differ diff --git a/.import/chicken_idle5.png-73905222827dd5a9b371a320b43d7c0c.md5 b/.import/chicken_idle5.png-73905222827dd5a9b371a320b43d7c0c.md5 new file mode 100644 index 0000000..c4d0303 --- /dev/null +++ b/.import/chicken_idle5.png-73905222827dd5a9b371a320b43d7c0c.md5 @@ -0,0 +1,3 @@ +source_md5="e09c414faf4b9add6321674864a8cd0b" +dest_md5="1501d4cf035e4c4cbd13fe95c23808ef" + diff --git a/.import/chicken_idle5.png-73905222827dd5a9b371a320b43d7c0c.stex b/.import/chicken_idle5.png-73905222827dd5a9b371a320b43d7c0c.stex new file mode 100644 index 0000000..09affcb Binary files /dev/null and b/.import/chicken_idle5.png-73905222827dd5a9b371a320b43d7c0c.stex differ diff --git a/.import/chicken_idle6.png-0680476a27b5b2d4629f33338c0edfa5.md5 b/.import/chicken_idle6.png-0680476a27b5b2d4629f33338c0edfa5.md5 new file mode 100644 index 0000000..5c01679 --- /dev/null +++ b/.import/chicken_idle6.png-0680476a27b5b2d4629f33338c0edfa5.md5 @@ -0,0 +1,3 @@ +source_md5="b2f4638c5bba5d9ec944dfac7e50b316" +dest_md5="1e79734f945c12882fa260b32981c16f" + diff --git a/.import/chicken_idle6.png-0680476a27b5b2d4629f33338c0edfa5.stex b/.import/chicken_idle6.png-0680476a27b5b2d4629f33338c0edfa5.stex new file mode 100644 index 0000000..2d1a34b Binary files /dev/null and b/.import/chicken_idle6.png-0680476a27b5b2d4629f33338c0edfa5.stex differ diff --git a/.import/chicken_idle7.png-00503ca2f8f4a9e25229c37bbdc64fd8.md5 b/.import/chicken_idle7.png-00503ca2f8f4a9e25229c37bbdc64fd8.md5 new file mode 100644 index 0000000..6a3c991 --- /dev/null +++ b/.import/chicken_idle7.png-00503ca2f8f4a9e25229c37bbdc64fd8.md5 @@ -0,0 +1,3 @@ +source_md5="2546294fc23c81818c7dec172b878711" +dest_md5="50a4cc22bbabbd3022c2501311db6ca7" + diff --git a/.import/chicken_idle7.png-00503ca2f8f4a9e25229c37bbdc64fd8.stex b/.import/chicken_idle7.png-00503ca2f8f4a9e25229c37bbdc64fd8.stex new file mode 100644 index 0000000..ac9468d Binary files /dev/null and b/.import/chicken_idle7.png-00503ca2f8f4a9e25229c37bbdc64fd8.stex differ diff --git a/.import/chicken_idle8.png-e6cedb50308721c91c5fd5675119fceb.md5 b/.import/chicken_idle8.png-e6cedb50308721c91c5fd5675119fceb.md5 new file mode 100644 index 0000000..90087b6 --- /dev/null +++ b/.import/chicken_idle8.png-e6cedb50308721c91c5fd5675119fceb.md5 @@ -0,0 +1,3 @@ +source_md5="d15830d4bcbebede64e2b09aec3c80bf" +dest_md5="73654e8de1df6a71304ef57ff3520cbb" + diff --git a/.import/chicken_idle8.png-e6cedb50308721c91c5fd5675119fceb.stex b/.import/chicken_idle8.png-e6cedb50308721c91c5fd5675119fceb.stex new file mode 100644 index 0000000..687d4c8 Binary files /dev/null and b/.import/chicken_idle8.png-e6cedb50308721c91c5fd5675119fceb.stex differ diff --git a/.import/chicken_idle9.png-f9ded328a4510f13a3a31f9d406ff1cd.md5 b/.import/chicken_idle9.png-f9ded328a4510f13a3a31f9d406ff1cd.md5 new file mode 100644 index 0000000..3fa26f1 --- /dev/null +++ b/.import/chicken_idle9.png-f9ded328a4510f13a3a31f9d406ff1cd.md5 @@ -0,0 +1,3 @@ +source_md5="776075da210f2dcfd7acd42bd9782669" +dest_md5="1c78edfc41c55fdbcc6287dcf56ebb51" + diff --git a/.import/chicken_idle9.png-f9ded328a4510f13a3a31f9d406ff1cd.stex b/.import/chicken_idle9.png-f9ded328a4510f13a3a31f9d406ff1cd.stex new file mode 100644 index 0000000..88da2ea Binary files /dev/null and b/.import/chicken_idle9.png-f9ded328a4510f13a3a31f9d406ff1cd.stex differ diff --git a/.import/chicken_run1.png-a343d1f81fa023e053955eeb272a0ad9.md5 b/.import/chicken_run1.png-a343d1f81fa023e053955eeb272a0ad9.md5 new file mode 100644 index 0000000..bb8339f --- /dev/null +++ b/.import/chicken_run1.png-a343d1f81fa023e053955eeb272a0ad9.md5 @@ -0,0 +1,3 @@ +source_md5="600c532d62991cd2b4295637c04a922a" +dest_md5="be96ade8fe88ded880b96aa53d755d25" + diff --git a/.import/chicken_run1.png-a343d1f81fa023e053955eeb272a0ad9.stex b/.import/chicken_run1.png-a343d1f81fa023e053955eeb272a0ad9.stex new file mode 100644 index 0000000..692ba1a Binary files /dev/null and b/.import/chicken_run1.png-a343d1f81fa023e053955eeb272a0ad9.stex differ diff --git a/.import/chicken_run10.png-e71d8caf63a5acd00282ff123b386ec4.md5 b/.import/chicken_run10.png-e71d8caf63a5acd00282ff123b386ec4.md5 new file mode 100644 index 0000000..22413b0 --- /dev/null +++ b/.import/chicken_run10.png-e71d8caf63a5acd00282ff123b386ec4.md5 @@ -0,0 +1,3 @@ +source_md5="ddd078569c5c25a3a627947af9e252a5" +dest_md5="d63c19207617ec5269a24742edaef77c" + diff --git a/.import/chicken_run10.png-e71d8caf63a5acd00282ff123b386ec4.stex b/.import/chicken_run10.png-e71d8caf63a5acd00282ff123b386ec4.stex new file mode 100644 index 0000000..7ac2e7c Binary files /dev/null and b/.import/chicken_run10.png-e71d8caf63a5acd00282ff123b386ec4.stex differ diff --git a/.import/chicken_run11.png-f01ca12a009d6128e841e21383757dab.md5 b/.import/chicken_run11.png-f01ca12a009d6128e841e21383757dab.md5 new file mode 100644 index 0000000..d269e54 --- /dev/null +++ b/.import/chicken_run11.png-f01ca12a009d6128e841e21383757dab.md5 @@ -0,0 +1,3 @@ +source_md5="ea2fd449c7749291520de35c0ad54b24" +dest_md5="b31d6da8aca36fc825d3bf3b6f5d1a6c" + diff --git a/.import/chicken_run11.png-f01ca12a009d6128e841e21383757dab.stex b/.import/chicken_run11.png-f01ca12a009d6128e841e21383757dab.stex new file mode 100644 index 0000000..adad8be Binary files /dev/null and b/.import/chicken_run11.png-f01ca12a009d6128e841e21383757dab.stex differ diff --git a/.import/chicken_run12.png-29d6cf214af37cbbbf14a7e9faf00437.md5 b/.import/chicken_run12.png-29d6cf214af37cbbbf14a7e9faf00437.md5 new file mode 100644 index 0000000..42e5510 --- /dev/null +++ b/.import/chicken_run12.png-29d6cf214af37cbbbf14a7e9faf00437.md5 @@ -0,0 +1,3 @@ +source_md5="89b1b07a8ee778a55dbe5da973b9523a" +dest_md5="b061ea3809c375e5e5dda7bacb6a218d" + diff --git a/.import/chicken_run12.png-29d6cf214af37cbbbf14a7e9faf00437.stex b/.import/chicken_run12.png-29d6cf214af37cbbbf14a7e9faf00437.stex new file mode 100644 index 0000000..78df19c Binary files /dev/null and b/.import/chicken_run12.png-29d6cf214af37cbbbf14a7e9faf00437.stex differ diff --git a/.import/chicken_run13.png-c3f3a4af3be747e1158feb427bd4d1aa.md5 b/.import/chicken_run13.png-c3f3a4af3be747e1158feb427bd4d1aa.md5 new file mode 100644 index 0000000..aed59c5 --- /dev/null +++ b/.import/chicken_run13.png-c3f3a4af3be747e1158feb427bd4d1aa.md5 @@ -0,0 +1,3 @@ +source_md5="34609517698b90a022fc03d23155f93d" +dest_md5="4044b8b40f0ecf7df358f970904f4997" + diff --git a/.import/chicken_run13.png-c3f3a4af3be747e1158feb427bd4d1aa.stex b/.import/chicken_run13.png-c3f3a4af3be747e1158feb427bd4d1aa.stex new file mode 100644 index 0000000..5493adc Binary files /dev/null and b/.import/chicken_run13.png-c3f3a4af3be747e1158feb427bd4d1aa.stex differ diff --git a/.import/chicken_run14.png-d2f26a0657ea27a900295a395ac66032.md5 b/.import/chicken_run14.png-d2f26a0657ea27a900295a395ac66032.md5 new file mode 100644 index 0000000..aed59c5 --- /dev/null +++ b/.import/chicken_run14.png-d2f26a0657ea27a900295a395ac66032.md5 @@ -0,0 +1,3 @@ +source_md5="34609517698b90a022fc03d23155f93d" +dest_md5="4044b8b40f0ecf7df358f970904f4997" + diff --git a/.import/chicken_run14.png-d2f26a0657ea27a900295a395ac66032.stex b/.import/chicken_run14.png-d2f26a0657ea27a900295a395ac66032.stex new file mode 100644 index 0000000..5493adc Binary files /dev/null and b/.import/chicken_run14.png-d2f26a0657ea27a900295a395ac66032.stex differ diff --git a/.import/chicken_run2.png-f280e81134e7fa7198c63645279a59b0.md5 b/.import/chicken_run2.png-f280e81134e7fa7198c63645279a59b0.md5 new file mode 100644 index 0000000..c250fef --- /dev/null +++ b/.import/chicken_run2.png-f280e81134e7fa7198c63645279a59b0.md5 @@ -0,0 +1,3 @@ +source_md5="e784321898995b10dd272bc3d57751e2" +dest_md5="9a62fd96fe23fa3bd02a85675fcdecc3" + diff --git a/.import/chicken_run2.png-f280e81134e7fa7198c63645279a59b0.stex b/.import/chicken_run2.png-f280e81134e7fa7198c63645279a59b0.stex new file mode 100644 index 0000000..9df6712 Binary files /dev/null and b/.import/chicken_run2.png-f280e81134e7fa7198c63645279a59b0.stex differ diff --git a/.import/chicken_run3.png-042f05b993093f7ec103984f43a19714.md5 b/.import/chicken_run3.png-042f05b993093f7ec103984f43a19714.md5 new file mode 100644 index 0000000..c250fef --- /dev/null +++ b/.import/chicken_run3.png-042f05b993093f7ec103984f43a19714.md5 @@ -0,0 +1,3 @@ +source_md5="e784321898995b10dd272bc3d57751e2" +dest_md5="9a62fd96fe23fa3bd02a85675fcdecc3" + diff --git a/.import/chicken_run3.png-042f05b993093f7ec103984f43a19714.stex b/.import/chicken_run3.png-042f05b993093f7ec103984f43a19714.stex new file mode 100644 index 0000000..9df6712 Binary files /dev/null and b/.import/chicken_run3.png-042f05b993093f7ec103984f43a19714.stex differ diff --git a/.import/chicken_run4.png-efdeabb441df21ba19cfdbacb1e3cb70.md5 b/.import/chicken_run4.png-efdeabb441df21ba19cfdbacb1e3cb70.md5 new file mode 100644 index 0000000..c72d267 --- /dev/null +++ b/.import/chicken_run4.png-efdeabb441df21ba19cfdbacb1e3cb70.md5 @@ -0,0 +1,3 @@ +source_md5="fd82628b41ed18a081c95d40379165ae" +dest_md5="2625bda7826163aa02482bffddb69700" + diff --git a/.import/chicken_run4.png-efdeabb441df21ba19cfdbacb1e3cb70.stex b/.import/chicken_run4.png-efdeabb441df21ba19cfdbacb1e3cb70.stex new file mode 100644 index 0000000..4e74dd4 Binary files /dev/null and b/.import/chicken_run4.png-efdeabb441df21ba19cfdbacb1e3cb70.stex differ diff --git a/.import/chicken_run5.png-5405930f206575bde5d4ae7da0f7df71.md5 b/.import/chicken_run5.png-5405930f206575bde5d4ae7da0f7df71.md5 new file mode 100644 index 0000000..1e3d6b3 --- /dev/null +++ b/.import/chicken_run5.png-5405930f206575bde5d4ae7da0f7df71.md5 @@ -0,0 +1,3 @@ +source_md5="f11760d810fc7dc8d0e44cbe28d98768" +dest_md5="2192dee2bf3d14b41f35ac8f5dc986a0" + diff --git a/.import/chicken_run5.png-5405930f206575bde5d4ae7da0f7df71.stex b/.import/chicken_run5.png-5405930f206575bde5d4ae7da0f7df71.stex new file mode 100644 index 0000000..ec3dacf Binary files /dev/null and b/.import/chicken_run5.png-5405930f206575bde5d4ae7da0f7df71.stex differ diff --git a/.import/chicken_run6.png-a2f278c6d9ab268121721da4b62a75e9.md5 b/.import/chicken_run6.png-a2f278c6d9ab268121721da4b62a75e9.md5 new file mode 100644 index 0000000..56f1ec3 --- /dev/null +++ b/.import/chicken_run6.png-a2f278c6d9ab268121721da4b62a75e9.md5 @@ -0,0 +1,3 @@ +source_md5="77a4e70c24c254aa09818baac52de633" +dest_md5="d9b7a6d978f6db7ac2730ba6d28bb0a4" + diff --git a/.import/chicken_run6.png-a2f278c6d9ab268121721da4b62a75e9.stex b/.import/chicken_run6.png-a2f278c6d9ab268121721da4b62a75e9.stex new file mode 100644 index 0000000..379df2b Binary files /dev/null and b/.import/chicken_run6.png-a2f278c6d9ab268121721da4b62a75e9.stex differ diff --git a/.import/chicken_run7.png-4e91a131add44f26fc62fdbba1b2250c.md5 b/.import/chicken_run7.png-4e91a131add44f26fc62fdbba1b2250c.md5 new file mode 100644 index 0000000..56f1ec3 --- /dev/null +++ b/.import/chicken_run7.png-4e91a131add44f26fc62fdbba1b2250c.md5 @@ -0,0 +1,3 @@ +source_md5="77a4e70c24c254aa09818baac52de633" +dest_md5="d9b7a6d978f6db7ac2730ba6d28bb0a4" + diff --git a/.import/chicken_run7.png-4e91a131add44f26fc62fdbba1b2250c.stex b/.import/chicken_run7.png-4e91a131add44f26fc62fdbba1b2250c.stex new file mode 100644 index 0000000..379df2b Binary files /dev/null and b/.import/chicken_run7.png-4e91a131add44f26fc62fdbba1b2250c.stex differ diff --git a/.import/chicken_run8.png-f22de58052feb8d76ec304b61927f371.md5 b/.import/chicken_run8.png-f22de58052feb8d76ec304b61927f371.md5 new file mode 100644 index 0000000..06d6c71 --- /dev/null +++ b/.import/chicken_run8.png-f22de58052feb8d76ec304b61927f371.md5 @@ -0,0 +1,3 @@ +source_md5="feb5a314443fdefce01cc43f23e14ac5" +dest_md5="dc62be0201eb555bf45d230b99f23ef2" + diff --git a/.import/chicken_run8.png-f22de58052feb8d76ec304b61927f371.stex b/.import/chicken_run8.png-f22de58052feb8d76ec304b61927f371.stex new file mode 100644 index 0000000..30bcb7e Binary files /dev/null and b/.import/chicken_run8.png-f22de58052feb8d76ec304b61927f371.stex differ diff --git a/.import/chicken_run9.png-99c6ca34d63baafd6fbb44c7d5e43cc3.md5 b/.import/chicken_run9.png-99c6ca34d63baafd6fbb44c7d5e43cc3.md5 new file mode 100644 index 0000000..22413b0 --- /dev/null +++ b/.import/chicken_run9.png-99c6ca34d63baafd6fbb44c7d5e43cc3.md5 @@ -0,0 +1,3 @@ +source_md5="ddd078569c5c25a3a627947af9e252a5" +dest_md5="d63c19207617ec5269a24742edaef77c" + diff --git a/.import/chicken_run9.png-99c6ca34d63baafd6fbb44c7d5e43cc3.stex b/.import/chicken_run9.png-99c6ca34d63baafd6fbb44c7d5e43cc3.stex new file mode 100644 index 0000000..7ac2e7c Binary files /dev/null and b/.import/chicken_run9.png-99c6ca34d63baafd6fbb44c7d5e43cc3.stex differ diff --git a/collectables/Apple.tscn b/collectables/Apple.tscn index 21cca67..fe4a8e9 100644 --- a/collectables/Apple.tscn +++ b/collectables/Apple.tscn @@ -60,5 +60,4 @@ anims/idle = SubResource( 3 ) 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.gd b/entities/Player.gd deleted file mode 100644 index 5804af8..0000000 --- a/entities/Player.gd +++ /dev/null @@ -1,45 +0,0 @@ -extends KinematicBody2D - -export (int) var run_speed = 200 -export (int) var jump_speed = -400 -export (int) var gravity = 1200 -export var entity_type = "PLAYER" -export (int) var health = 90 -var velocity = Vector2() -var jumping = false -onready var sprite = $AnimatedSprite -var facing_right = true -func get_input(): - velocity.x = 0 - var right = Input.is_action_pressed('right') - var left = Input.is_action_pressed('left') - var jump = Input.is_action_just_pressed('jump') - - if facing_right == true: - sprite.flip_h = false - else: - sprite.flip_h = true - - - if jump and is_on_floor(): - jumping = true - velocity.y = jump_speed - if right: - velocity.x += run_speed - facing_right = true - $AnimatedSprite.play("run") - elif left: - velocity.x -= run_speed - facing_right = false - $AnimatedSprite.play("run") - else: - $AnimatedSprite.play("idle") - - if !jumping && !is_on_floor(): - $AnimatedSprite.play("jump") -func _physics_process(delta): - get_input() - velocity.y += gravity * delta - if jumping and is_on_floor(): - jumping = false - velocity = move_and_slide(velocity, Vector2(0, -1)) diff --git a/entities/Player.tscn b/entities/Player.tscn deleted file mode 100644 index a5d1f7e..0000000 --- a/entities/Player.tscn +++ /dev/null @@ -1,105 +0,0 @@ -[gd_scene load_steps=47 format=2] - -[ext_resource path="res://pinkman/idle/idle7.png" type="Texture" id=1] -[ext_resource path="res://pinkman/double-jump/double_jump1.png" type="Texture" id=2] -[ext_resource path="res://pinkman/double-jump/double_jump5.png" type="Texture" id=3] -[ext_resource path="res://pinkman/idle/idle11.png" type="Texture" id=4] -[ext_resource path="res://pinkman/idle/idle8.png" type="Texture" id=5] -[ext_resource path="res://pinkman/idle/idle10.png" type="Texture" id=6] -[ext_resource path="res://pinkman/double-jump/double_jump3.png" type="Texture" id=7] -[ext_resource path="res://pinkman/idle/idle9.png" type="Texture" id=8] -[ext_resource path="res://pinkman/double-jump/double_jump6.png" type="Texture" id=9] -[ext_resource path="res://pinkman/double-jump/double_jump2.png" type="Texture" id=10] -[ext_resource path="res://pinkman/double-jump/double_jump4.png" type="Texture" id=11] -[ext_resource path="res://pinkman/idle/idle6.png" type="Texture" id=12] -[ext_resource path="res://pinkman/idle/idle1.png" type="Texture" id=13] -[ext_resource path="res://pinkman/idle/idle2.png" type="Texture" id=14] -[ext_resource path="res://pinkman/idle/idle3.png" type="Texture" id=15] -[ext_resource path="res://pinkman/idle/idle4.png" type="Texture" id=16] -[ext_resource path="res://pinkman/idle/idle5.png" type="Texture" id=17] -[ext_resource path="res://pinkman/wall-jump/wall-jump3.png" type="Texture" id=18] -[ext_resource path="res://pinkman/wall-jump/wall-jump5.png" type="Texture" id=19] -[ext_resource path="res://pinkman/wall-jump/wall-jump4.png" type="Texture" id=20] -[ext_resource path="res://pinkman/run/run9.png" type="Texture" id=21] -[ext_resource path="res://pinkman/run/run6.png" type="Texture" id=22] -[ext_resource path="res://pinkman/hit/hit2.png" type="Texture" id=23] -[ext_resource path="res://pinkman/run/run7.png" type="Texture" id=24] -[ext_resource path="res://pinkman/hit/hit6.png" type="Texture" id=25] -[ext_resource path="res://pinkman/run/run11.png" type="Texture" id=26] -[ext_resource path="res://pinkman/wall-jump/wall-jump1.png" type="Texture" id=27] -[ext_resource path="res://pinkman/jump/jump.png" type="Texture" id=28] -[ext_resource path="res://pinkman/wall-jump/wall-jump2.png" type="Texture" id=29] -[ext_resource path="res://pinkman/fall/fall.png" type="Texture" id=30] -[ext_resource path="res://pinkman/hit/hit1.png" type="Texture" id=31] -[ext_resource path="res://pinkman/run/run3.png" type="Texture" id=32] -[ext_resource path="res://pinkman/hit/hit4.png" type="Texture" id=33] -[ext_resource path="res://pinkman/run/run10.png" type="Texture" id=34] -[ext_resource path="res://pinkman/run/run5.png" type="Texture" id=35] -[ext_resource path="res://pinkman/run/run12.png" type="Texture" id=36] -[ext_resource path="res://pinkman/hit/hit5.png" type="Texture" id=37] -[ext_resource path="res://pinkman/run/run4.png" type="Texture" id=38] -[ext_resource path="res://pinkman/run/run1.png" type="Texture" id=39] -[ext_resource path="res://pinkman/hit/hit3.png" type="Texture" id=40] -[ext_resource path="res://pinkman/hit/hit7.png" type="Texture" id=41] -[ext_resource path="res://pinkman/run/run2.png" type="Texture" id=42] -[ext_resource path="res://pinkman/run/run8.png" type="Texture" id=43] -[ext_resource path="res://entities/Player.gd" type="Script" id=44] - -[sub_resource type="CapsuleShape2D" id=2] -height = 8.0 - -[sub_resource type="SpriteFrames" id=1] -animations = [ { -"frames": [ ExtResource( 13 ), ExtResource( 14 ), ExtResource( 15 ), ExtResource( 16 ), ExtResource( 17 ), ExtResource( 12 ), ExtResource( 1 ), ExtResource( 5 ), ExtResource( 8 ), ExtResource( 6 ), ExtResource( 4 ) ], -"loop": true, -"name": "idle", -"speed": 25.0 -}, { -"frames": [ ExtResource( 27 ), ExtResource( 29 ), ExtResource( 18 ), ExtResource( 20 ), ExtResource( 19 ) ], -"loop": true, -"name": "wall_jump", -"speed": 25.0 -}, { -"frames": [ ExtResource( 30 ) ], -"loop": true, -"name": "fall", -"speed": 5.0 -}, { -"frames": [ ExtResource( 2 ), ExtResource( 10 ), ExtResource( 7 ), ExtResource( 11 ), ExtResource( 3 ), ExtResource( 9 ) ], -"loop": true, -"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( 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": "run", -"speed": 25.0 -} ] - -[node name="Player" type="KinematicBody2D"] -z_index = 1 -script = ExtResource( 44 ) - -[node name="CollisionShape2D" type="CollisionShape2D" parent="."] -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/entities/chicken/Hit (32x34).png b/entities/chicken/Hit (32x34).png new file mode 100644 index 0000000..e07013f Binary files /dev/null and b/entities/chicken/Hit (32x34).png differ diff --git a/entities/chicken/Hit (32x34).png.import b/entities/chicken/Hit (32x34).png.import new file mode 100644 index 0000000..9b30713 --- /dev/null +++ b/entities/chicken/Hit (32x34).png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Hit (32x34).png-732fd1d0690b71ac82d22221aba2f5ad.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/Hit (32x34).png" +dest_files=[ "res://.import/Hit (32x34).png-732fd1d0690b71ac82d22221aba2f5ad.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/entities/chicken/Idle (32x34).png b/entities/chicken/Idle (32x34).png new file mode 100644 index 0000000..90ed02e Binary files /dev/null and b/entities/chicken/Idle (32x34).png differ diff --git a/entities/chicken/Idle (32x34).png.import b/entities/chicken/Idle (32x34).png.import new file mode 100644 index 0000000..8b808b8 --- /dev/null +++ b/entities/chicken/Idle (32x34).png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Idle (32x34).png-e4e3d07dda254934514d8a3ce37efdd6.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/Idle (32x34).png" +dest_files=[ "res://.import/Idle (32x34).png-e4e3d07dda254934514d8a3ce37efdd6.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/entities/chicken/Run (32x34).png b/entities/chicken/Run (32x34).png new file mode 100644 index 0000000..dc06bfa Binary files /dev/null and b/entities/chicken/Run (32x34).png differ diff --git a/entities/chicken/Run (32x34).png.import b/entities/chicken/Run (32x34).png.import new file mode 100644 index 0000000..39d4726 --- /dev/null +++ b/entities/chicken/Run (32x34).png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Run (32x34).png-46fb23496f7fbe5ff034989409629207.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/Run (32x34).png" +dest_files=[ "res://.import/Run (32x34).png-46fb23496f7fbe5ff034989409629207.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/entities/chicken/chicken.gd b/entities/chicken/chicken.gd new file mode 100644 index 0000000..2ab309d --- /dev/null +++ b/entities/chicken/chicken.gd @@ -0,0 +1,26 @@ +extends KinematicBody2D +const UP = Vector2(0, -1) +const GRAVITY = 1200 +const SPEED = 200 +const health = 10 +var motion = Vector2() +var left = Vector2(-1, 0) +var right = Vector2(1, 0) +var direction = left +onready var sprite = $AnimatedSprite +func _physics_process(delta): + motion.y += GRAVITY * delta + motion.x = direction.x * SPEED + motion = move_and_slide(motion, UP) + $AnimatedSprite.play("run") + if is_on_wall(): + if direction == left: + sprite.flip_h = true + direction = right + elif direction == right: + sprite.flip_h = false + direction = left + for index in get_slide_count(): + var collision = get_slide_collision(index) + if collision.collider.is_in_group("player"): + SignalBus.emit_signal("on_hit",health) diff --git a/entities/chicken/chicken.tscn b/entities/chicken/chicken.tscn new file mode 100644 index 0000000..23cd9ad --- /dev/null +++ b/entities/chicken/chicken.tscn @@ -0,0 +1,76 @@ +[gd_scene load_steps=37 format=2] + +[ext_resource path="res://entities/chicken/hit/chicken_hit2.png" type="Texture" id=1] +[ext_resource path="res://entities/chicken/idle/chicken_idle1.png" type="Texture" id=2] +[ext_resource path="res://entities/chicken/idle/chicken_idle7.png" type="Texture" id=3] +[ext_resource path="res://entities/chicken/idle/chicken_idle2.png" type="Texture" id=4] +[ext_resource path="res://entities/chicken/hit/chicken_hit3.png" type="Texture" id=5] +[ext_resource path="res://entities/chicken/hit/chicken_hit4.png" type="Texture" id=6] +[ext_resource path="res://entities/chicken/idle/chicken_idle4.png" type="Texture" id=7] +[ext_resource path="res://entities/chicken/idle/chicken_idle11.png" type="Texture" id=8] +[ext_resource path="res://entities/chicken/idle/chicken_idle8.png" type="Texture" id=9] +[ext_resource path="res://entities/chicken/idle/chicken_idle3.png" type="Texture" id=10] +[ext_resource path="res://entities/chicken/idle/chicken_idle6.png" type="Texture" id=11] +[ext_resource path="res://entities/chicken/idle/chicken_idle9.png" type="Texture" id=12] +[ext_resource path="res://entities/chicken/idle/chicken_idle5.png" type="Texture" id=13] +[ext_resource path="res://entities/chicken/idle/chicken_idle10.png" type="Texture" id=14] +[ext_resource path="res://entities/chicken/idle/chicken_idle13.png" type="Texture" id=15] +[ext_resource path="res://entities/chicken/idle/chicken_idle12.png" type="Texture" id=16] +[ext_resource path="res://entities/chicken/hit/chicken_hit1.png" type="Texture" id=17] +[ext_resource path="res://entities/chicken/hit/chicken_hit5.png" type="Texture" id=18] +[ext_resource path="res://entities/chicken/run/chicken_run4.png" type="Texture" id=19] +[ext_resource path="res://entities/chicken/run/chicken_run5.png" type="Texture" id=20] +[ext_resource path="res://entities/chicken/run/chicken_run7.png" type="Texture" id=21] +[ext_resource path="res://entities/chicken/run/chicken_run12.png" type="Texture" id=22] +[ext_resource path="res://entities/chicken/run/chicken_run1.png" type="Texture" id=23] +[ext_resource path="res://entities/chicken/run/chicken_run11.png" type="Texture" id=24] +[ext_resource path="res://entities/chicken/run/chicken_run3.png" type="Texture" id=25] +[ext_resource path="res://entities/chicken/run/chicken_run6.png" type="Texture" id=26] +[ext_resource path="res://entities/chicken/run/chicken_run8.png" type="Texture" id=27] +[ext_resource path="res://entities/chicken/run/chicken_run9.png" type="Texture" id=28] +[ext_resource path="res://entities/chicken/run/chicken_run13.png" type="Texture" id=29] +[ext_resource path="res://entities/chicken/run/chicken_run2.png" type="Texture" id=30] +[ext_resource path="res://entities/chicken/run/chicken_run10.png" type="Texture" id=31] +[ext_resource path="res://entities/chicken/run/chicken_run14.png" type="Texture" id=32] +[ext_resource path="res://entities/chicken/chicken.gd" type="Script" id=33] + +[sub_resource type="SpriteFrames" id=1] +animations = [ { +"frames": [ ExtResource( 2 ), ExtResource( 4 ), ExtResource( 10 ), ExtResource( 7 ), ExtResource( 13 ), ExtResource( 11 ), ExtResource( 3 ), ExtResource( 9 ), ExtResource( 12 ), ExtResource( 14 ), ExtResource( 8 ), ExtResource( 16 ), ExtResource( 15 ) ], +"loop": true, +"name": "idle", +"speed": 25.0 +}, { +"frames": [ ExtResource( 17 ), ExtResource( 1 ), ExtResource( 5 ), ExtResource( 6 ), ExtResource( 18 ) ], +"loop": true, +"name": "hit", +"speed": 25.0 +}, { +"frames": [ ExtResource( 23 ), ExtResource( 30 ), ExtResource( 25 ), ExtResource( 19 ), ExtResource( 20 ), ExtResource( 26 ), ExtResource( 21 ), ExtResource( 27 ), ExtResource( 28 ), ExtResource( 31 ), ExtResource( 24 ), ExtResource( 22 ), ExtResource( 29 ), ExtResource( 32 ) ], +"loop": true, +"name": "run", +"speed": 25.0 +} ] + +[sub_resource type="RectangleShape2D" id=3] +extents = Vector2( 13, 14.5 ) + +[sub_resource type="RectangleShape2D" id=2] +extents = Vector2( 13, 14.5 ) + +[node name="Chicken" type="KinematicBody2D"] +script = ExtResource( 33 ) + +[node name="AnimatedSprite" type="AnimatedSprite" parent="."] +frames = SubResource( 1 ) +animation = "run" + +[node name="Area2D" type="Area2D" parent="AnimatedSprite"] + +[node name="CollisionShape2D" type="CollisionShape2D" parent="AnimatedSprite/Area2D"] +position = Vector2( 0, 0.5 ) +shape = SubResource( 3 ) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +position = Vector2( 0, 0.5 ) +shape = SubResource( 2 ) diff --git a/entities/chicken/hit/chicken_hit1.png b/entities/chicken/hit/chicken_hit1.png new file mode 100644 index 0000000..00fb634 Binary files /dev/null and b/entities/chicken/hit/chicken_hit1.png differ diff --git a/entities/chicken/hit/chicken_hit1.png.import b/entities/chicken/hit/chicken_hit1.png.import new file mode 100644 index 0000000..f07aec2 --- /dev/null +++ b/entities/chicken/hit/chicken_hit1.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_hit1.png-8d41f4f93553e79ada71205a67aa00c7.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/hit/chicken_hit1.png" +dest_files=[ "res://.import/chicken_hit1.png-8d41f4f93553e79ada71205a67aa00c7.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/entities/chicken/hit/chicken_hit2.png b/entities/chicken/hit/chicken_hit2.png new file mode 100644 index 0000000..00fb634 Binary files /dev/null and b/entities/chicken/hit/chicken_hit2.png differ diff --git a/entities/chicken/hit/chicken_hit2.png.import b/entities/chicken/hit/chicken_hit2.png.import new file mode 100644 index 0000000..75af3b6 --- /dev/null +++ b/entities/chicken/hit/chicken_hit2.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_hit2.png-04aa05a079f927bf40d35ea4d3dc09cc.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/hit/chicken_hit2.png" +dest_files=[ "res://.import/chicken_hit2.png-04aa05a079f927bf40d35ea4d3dc09cc.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/entities/chicken/hit/chicken_hit3.png b/entities/chicken/hit/chicken_hit3.png new file mode 100644 index 0000000..09f0da4 Binary files /dev/null and b/entities/chicken/hit/chicken_hit3.png differ diff --git a/entities/chicken/hit/chicken_hit3.png.import b/entities/chicken/hit/chicken_hit3.png.import new file mode 100644 index 0000000..f87bb13 --- /dev/null +++ b/entities/chicken/hit/chicken_hit3.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_hit3.png-c18cae0836c1b0b01a43f89d64367a7a.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/hit/chicken_hit3.png" +dest_files=[ "res://.import/chicken_hit3.png-c18cae0836c1b0b01a43f89d64367a7a.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/entities/chicken/hit/chicken_hit4.png b/entities/chicken/hit/chicken_hit4.png new file mode 100644 index 0000000..85573ee Binary files /dev/null and b/entities/chicken/hit/chicken_hit4.png differ diff --git a/entities/chicken/hit/chicken_hit4.png.import b/entities/chicken/hit/chicken_hit4.png.import new file mode 100644 index 0000000..453a90c --- /dev/null +++ b/entities/chicken/hit/chicken_hit4.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_hit4.png-0c41a5a4cd3597696684714bffaa7347.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/hit/chicken_hit4.png" +dest_files=[ "res://.import/chicken_hit4.png-0c41a5a4cd3597696684714bffaa7347.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/entities/chicken/hit/chicken_hit5.png b/entities/chicken/hit/chicken_hit5.png new file mode 100644 index 0000000..a46412f Binary files /dev/null and b/entities/chicken/hit/chicken_hit5.png differ diff --git a/entities/chicken/hit/chicken_hit5.png.import b/entities/chicken/hit/chicken_hit5.png.import new file mode 100644 index 0000000..c56ddd5 --- /dev/null +++ b/entities/chicken/hit/chicken_hit5.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_hit5.png-a69586c36c55262851e56cbedb0495d9.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/hit/chicken_hit5.png" +dest_files=[ "res://.import/chicken_hit5.png-a69586c36c55262851e56cbedb0495d9.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/entities/chicken/idle/chicken_idle1.png b/entities/chicken/idle/chicken_idle1.png new file mode 100644 index 0000000..75567ce Binary files /dev/null and b/entities/chicken/idle/chicken_idle1.png differ diff --git a/entities/chicken/idle/chicken_idle1.png.import b/entities/chicken/idle/chicken_idle1.png.import new file mode 100644 index 0000000..ad29acf --- /dev/null +++ b/entities/chicken/idle/chicken_idle1.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_idle1.png-bae799c1775d8303142102038839413b.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/idle/chicken_idle1.png" +dest_files=[ "res://.import/chicken_idle1.png-bae799c1775d8303142102038839413b.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/entities/chicken/idle/chicken_idle10.png b/entities/chicken/idle/chicken_idle10.png new file mode 100644 index 0000000..62d99eb Binary files /dev/null and b/entities/chicken/idle/chicken_idle10.png differ diff --git a/entities/chicken/idle/chicken_idle10.png.import b/entities/chicken/idle/chicken_idle10.png.import new file mode 100644 index 0000000..b5ad7fa --- /dev/null +++ b/entities/chicken/idle/chicken_idle10.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_idle10.png-8e142ad65369232903864ee38abc82cc.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/idle/chicken_idle10.png" +dest_files=[ "res://.import/chicken_idle10.png-8e142ad65369232903864ee38abc82cc.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/entities/chicken/idle/chicken_idle11.png b/entities/chicken/idle/chicken_idle11.png new file mode 100644 index 0000000..62d99eb Binary files /dev/null and b/entities/chicken/idle/chicken_idle11.png differ diff --git a/entities/chicken/idle/chicken_idle11.png.import b/entities/chicken/idle/chicken_idle11.png.import new file mode 100644 index 0000000..7bfbc82 --- /dev/null +++ b/entities/chicken/idle/chicken_idle11.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_idle11.png-54efe339c39d739c5ed4853427a96c4b.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/idle/chicken_idle11.png" +dest_files=[ "res://.import/chicken_idle11.png-54efe339c39d739c5ed4853427a96c4b.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/entities/chicken/idle/chicken_idle12.png b/entities/chicken/idle/chicken_idle12.png new file mode 100644 index 0000000..62d99eb Binary files /dev/null and b/entities/chicken/idle/chicken_idle12.png differ diff --git a/entities/chicken/idle/chicken_idle12.png.import b/entities/chicken/idle/chicken_idle12.png.import new file mode 100644 index 0000000..90cc295 --- /dev/null +++ b/entities/chicken/idle/chicken_idle12.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_idle12.png-eb9b7dafe5b7f9b1dc9e1ad382c1a982.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/idle/chicken_idle12.png" +dest_files=[ "res://.import/chicken_idle12.png-eb9b7dafe5b7f9b1dc9e1ad382c1a982.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/entities/chicken/idle/chicken_idle13.png b/entities/chicken/idle/chicken_idle13.png new file mode 100644 index 0000000..5afdbe1 Binary files /dev/null and b/entities/chicken/idle/chicken_idle13.png differ diff --git a/entities/chicken/idle/chicken_idle13.png.import b/entities/chicken/idle/chicken_idle13.png.import new file mode 100644 index 0000000..db214ec --- /dev/null +++ b/entities/chicken/idle/chicken_idle13.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_idle13.png-529b2cd3b1d90c2efe445f6d9d676d1b.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/idle/chicken_idle13.png" +dest_files=[ "res://.import/chicken_idle13.png-529b2cd3b1d90c2efe445f6d9d676d1b.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/entities/chicken/idle/chicken_idle2.png b/entities/chicken/idle/chicken_idle2.png new file mode 100644 index 0000000..91c9e94 Binary files /dev/null and b/entities/chicken/idle/chicken_idle2.png differ diff --git a/entities/chicken/idle/chicken_idle2.png.import b/entities/chicken/idle/chicken_idle2.png.import new file mode 100644 index 0000000..39fa82c --- /dev/null +++ b/entities/chicken/idle/chicken_idle2.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_idle2.png-026e3ab3763f57e87e25326f5ce7b13d.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/idle/chicken_idle2.png" +dest_files=[ "res://.import/chicken_idle2.png-026e3ab3763f57e87e25326f5ce7b13d.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/entities/chicken/idle/chicken_idle3.png b/entities/chicken/idle/chicken_idle3.png new file mode 100644 index 0000000..f8b23e8 Binary files /dev/null and b/entities/chicken/idle/chicken_idle3.png differ diff --git a/entities/chicken/idle/chicken_idle3.png.import b/entities/chicken/idle/chicken_idle3.png.import new file mode 100644 index 0000000..24bd851 --- /dev/null +++ b/entities/chicken/idle/chicken_idle3.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_idle3.png-efce26f584e15ddfb66ab7a57efdb9d1.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/idle/chicken_idle3.png" +dest_files=[ "res://.import/chicken_idle3.png-efce26f584e15ddfb66ab7a57efdb9d1.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/entities/chicken/idle/chicken_idle4.png b/entities/chicken/idle/chicken_idle4.png new file mode 100644 index 0000000..c344689 Binary files /dev/null and b/entities/chicken/idle/chicken_idle4.png differ diff --git a/entities/chicken/idle/chicken_idle4.png.import b/entities/chicken/idle/chicken_idle4.png.import new file mode 100644 index 0000000..31b4afd --- /dev/null +++ b/entities/chicken/idle/chicken_idle4.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_idle4.png-0c5ca41783656381298cf5d4b1cdf0f6.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/idle/chicken_idle4.png" +dest_files=[ "res://.import/chicken_idle4.png-0c5ca41783656381298cf5d4b1cdf0f6.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/entities/chicken/idle/chicken_idle5.png b/entities/chicken/idle/chicken_idle5.png new file mode 100644 index 0000000..c344689 Binary files /dev/null and b/entities/chicken/idle/chicken_idle5.png differ diff --git a/entities/chicken/idle/chicken_idle5.png.import b/entities/chicken/idle/chicken_idle5.png.import new file mode 100644 index 0000000..6b65b8a --- /dev/null +++ b/entities/chicken/idle/chicken_idle5.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_idle5.png-73905222827dd5a9b371a320b43d7c0c.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/idle/chicken_idle5.png" +dest_files=[ "res://.import/chicken_idle5.png-73905222827dd5a9b371a320b43d7c0c.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/entities/chicken/idle/chicken_idle6.png b/entities/chicken/idle/chicken_idle6.png new file mode 100644 index 0000000..74a0689 Binary files /dev/null and b/entities/chicken/idle/chicken_idle6.png differ diff --git a/entities/chicken/idle/chicken_idle6.png.import b/entities/chicken/idle/chicken_idle6.png.import new file mode 100644 index 0000000..5210116 --- /dev/null +++ b/entities/chicken/idle/chicken_idle6.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_idle6.png-0680476a27b5b2d4629f33338c0edfa5.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/idle/chicken_idle6.png" +dest_files=[ "res://.import/chicken_idle6.png-0680476a27b5b2d4629f33338c0edfa5.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/entities/chicken/idle/chicken_idle7.png b/entities/chicken/idle/chicken_idle7.png new file mode 100644 index 0000000..ba001a2 Binary files /dev/null and b/entities/chicken/idle/chicken_idle7.png differ diff --git a/entities/chicken/idle/chicken_idle7.png.import b/entities/chicken/idle/chicken_idle7.png.import new file mode 100644 index 0000000..29c6802 --- /dev/null +++ b/entities/chicken/idle/chicken_idle7.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_idle7.png-00503ca2f8f4a9e25229c37bbdc64fd8.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/idle/chicken_idle7.png" +dest_files=[ "res://.import/chicken_idle7.png-00503ca2f8f4a9e25229c37bbdc64fd8.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/entities/chicken/idle/chicken_idle8.png b/entities/chicken/idle/chicken_idle8.png new file mode 100644 index 0000000..d292296 Binary files /dev/null and b/entities/chicken/idle/chicken_idle8.png differ diff --git a/entities/chicken/idle/chicken_idle8.png.import b/entities/chicken/idle/chicken_idle8.png.import new file mode 100644 index 0000000..99dbf45 --- /dev/null +++ b/entities/chicken/idle/chicken_idle8.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_idle8.png-e6cedb50308721c91c5fd5675119fceb.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/idle/chicken_idle8.png" +dest_files=[ "res://.import/chicken_idle8.png-e6cedb50308721c91c5fd5675119fceb.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/entities/chicken/idle/chicken_idle9.png b/entities/chicken/idle/chicken_idle9.png new file mode 100644 index 0000000..20a56b3 Binary files /dev/null and b/entities/chicken/idle/chicken_idle9.png differ diff --git a/entities/chicken/idle/chicken_idle9.png.import b/entities/chicken/idle/chicken_idle9.png.import new file mode 100644 index 0000000..d0fb2df --- /dev/null +++ b/entities/chicken/idle/chicken_idle9.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_idle9.png-f9ded328a4510f13a3a31f9d406ff1cd.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/idle/chicken_idle9.png" +dest_files=[ "res://.import/chicken_idle9.png-f9ded328a4510f13a3a31f9d406ff1cd.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/entities/chicken/run/chicken_run1.png b/entities/chicken/run/chicken_run1.png new file mode 100644 index 0000000..91cd9dd Binary files /dev/null and b/entities/chicken/run/chicken_run1.png differ diff --git a/entities/chicken/run/chicken_run1.png.import b/entities/chicken/run/chicken_run1.png.import new file mode 100644 index 0000000..8c02710 --- /dev/null +++ b/entities/chicken/run/chicken_run1.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_run1.png-a343d1f81fa023e053955eeb272a0ad9.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/run/chicken_run1.png" +dest_files=[ "res://.import/chicken_run1.png-a343d1f81fa023e053955eeb272a0ad9.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/entities/chicken/run/chicken_run10.png b/entities/chicken/run/chicken_run10.png new file mode 100644 index 0000000..a6e9723 Binary files /dev/null and b/entities/chicken/run/chicken_run10.png differ diff --git a/entities/chicken/run/chicken_run10.png.import b/entities/chicken/run/chicken_run10.png.import new file mode 100644 index 0000000..d48a242 --- /dev/null +++ b/entities/chicken/run/chicken_run10.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_run10.png-e71d8caf63a5acd00282ff123b386ec4.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/run/chicken_run10.png" +dest_files=[ "res://.import/chicken_run10.png-e71d8caf63a5acd00282ff123b386ec4.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/entities/chicken/run/chicken_run11.png b/entities/chicken/run/chicken_run11.png new file mode 100644 index 0000000..de0d559 Binary files /dev/null and b/entities/chicken/run/chicken_run11.png differ diff --git a/entities/chicken/run/chicken_run11.png.import b/entities/chicken/run/chicken_run11.png.import new file mode 100644 index 0000000..18c57f5 --- /dev/null +++ b/entities/chicken/run/chicken_run11.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_run11.png-f01ca12a009d6128e841e21383757dab.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/run/chicken_run11.png" +dest_files=[ "res://.import/chicken_run11.png-f01ca12a009d6128e841e21383757dab.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/entities/chicken/run/chicken_run12.png b/entities/chicken/run/chicken_run12.png new file mode 100644 index 0000000..9abee7c Binary files /dev/null and b/entities/chicken/run/chicken_run12.png differ diff --git a/entities/chicken/run/chicken_run12.png.import b/entities/chicken/run/chicken_run12.png.import new file mode 100644 index 0000000..ab1a503 --- /dev/null +++ b/entities/chicken/run/chicken_run12.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_run12.png-29d6cf214af37cbbbf14a7e9faf00437.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/run/chicken_run12.png" +dest_files=[ "res://.import/chicken_run12.png-29d6cf214af37cbbbf14a7e9faf00437.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/entities/chicken/run/chicken_run13.png b/entities/chicken/run/chicken_run13.png new file mode 100644 index 0000000..5de8962 Binary files /dev/null and b/entities/chicken/run/chicken_run13.png differ diff --git a/entities/chicken/run/chicken_run13.png.import b/entities/chicken/run/chicken_run13.png.import new file mode 100644 index 0000000..3868138 --- /dev/null +++ b/entities/chicken/run/chicken_run13.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_run13.png-c3f3a4af3be747e1158feb427bd4d1aa.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/run/chicken_run13.png" +dest_files=[ "res://.import/chicken_run13.png-c3f3a4af3be747e1158feb427bd4d1aa.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/entities/chicken/run/chicken_run14.png b/entities/chicken/run/chicken_run14.png new file mode 100644 index 0000000..5de8962 Binary files /dev/null and b/entities/chicken/run/chicken_run14.png differ diff --git a/entities/chicken/run/chicken_run14.png.import b/entities/chicken/run/chicken_run14.png.import new file mode 100644 index 0000000..87a2081 --- /dev/null +++ b/entities/chicken/run/chicken_run14.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_run14.png-d2f26a0657ea27a900295a395ac66032.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/run/chicken_run14.png" +dest_files=[ "res://.import/chicken_run14.png-d2f26a0657ea27a900295a395ac66032.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/entities/chicken/run/chicken_run2.png b/entities/chicken/run/chicken_run2.png new file mode 100644 index 0000000..14a0673 Binary files /dev/null and b/entities/chicken/run/chicken_run2.png differ diff --git a/entities/chicken/run/chicken_run2.png.import b/entities/chicken/run/chicken_run2.png.import new file mode 100644 index 0000000..c56cf89 --- /dev/null +++ b/entities/chicken/run/chicken_run2.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_run2.png-f280e81134e7fa7198c63645279a59b0.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/run/chicken_run2.png" +dest_files=[ "res://.import/chicken_run2.png-f280e81134e7fa7198c63645279a59b0.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/entities/chicken/run/chicken_run3.png b/entities/chicken/run/chicken_run3.png new file mode 100644 index 0000000..14a0673 Binary files /dev/null and b/entities/chicken/run/chicken_run3.png differ diff --git a/entities/chicken/run/chicken_run3.png.import b/entities/chicken/run/chicken_run3.png.import new file mode 100644 index 0000000..98bfc3d --- /dev/null +++ b/entities/chicken/run/chicken_run3.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_run3.png-042f05b993093f7ec103984f43a19714.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/run/chicken_run3.png" +dest_files=[ "res://.import/chicken_run3.png-042f05b993093f7ec103984f43a19714.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/entities/chicken/run/chicken_run4.png b/entities/chicken/run/chicken_run4.png new file mode 100644 index 0000000..23c12e2 Binary files /dev/null and b/entities/chicken/run/chicken_run4.png differ diff --git a/entities/chicken/run/chicken_run4.png.import b/entities/chicken/run/chicken_run4.png.import new file mode 100644 index 0000000..14a60b2 --- /dev/null +++ b/entities/chicken/run/chicken_run4.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_run4.png-efdeabb441df21ba19cfdbacb1e3cb70.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/run/chicken_run4.png" +dest_files=[ "res://.import/chicken_run4.png-efdeabb441df21ba19cfdbacb1e3cb70.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/entities/chicken/run/chicken_run5.png b/entities/chicken/run/chicken_run5.png new file mode 100644 index 0000000..7408115 Binary files /dev/null and b/entities/chicken/run/chicken_run5.png differ diff --git a/entities/chicken/run/chicken_run5.png.import b/entities/chicken/run/chicken_run5.png.import new file mode 100644 index 0000000..17f40a1 --- /dev/null +++ b/entities/chicken/run/chicken_run5.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_run5.png-5405930f206575bde5d4ae7da0f7df71.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/run/chicken_run5.png" +dest_files=[ "res://.import/chicken_run5.png-5405930f206575bde5d4ae7da0f7df71.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/entities/chicken/run/chicken_run6.png b/entities/chicken/run/chicken_run6.png new file mode 100644 index 0000000..30beca5 Binary files /dev/null and b/entities/chicken/run/chicken_run6.png differ diff --git a/entities/chicken/run/chicken_run6.png.import b/entities/chicken/run/chicken_run6.png.import new file mode 100644 index 0000000..aaaf990 --- /dev/null +++ b/entities/chicken/run/chicken_run6.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_run6.png-a2f278c6d9ab268121721da4b62a75e9.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/run/chicken_run6.png" +dest_files=[ "res://.import/chicken_run6.png-a2f278c6d9ab268121721da4b62a75e9.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/entities/chicken/run/chicken_run7.png b/entities/chicken/run/chicken_run7.png new file mode 100644 index 0000000..30beca5 Binary files /dev/null and b/entities/chicken/run/chicken_run7.png differ diff --git a/entities/chicken/run/chicken_run7.png.import b/entities/chicken/run/chicken_run7.png.import new file mode 100644 index 0000000..30323f1 --- /dev/null +++ b/entities/chicken/run/chicken_run7.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_run7.png-4e91a131add44f26fc62fdbba1b2250c.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/run/chicken_run7.png" +dest_files=[ "res://.import/chicken_run7.png-4e91a131add44f26fc62fdbba1b2250c.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/entities/chicken/run/chicken_run8.png b/entities/chicken/run/chicken_run8.png new file mode 100644 index 0000000..e1ebee4 Binary files /dev/null and b/entities/chicken/run/chicken_run8.png differ diff --git a/entities/chicken/run/chicken_run8.png.import b/entities/chicken/run/chicken_run8.png.import new file mode 100644 index 0000000..702eb21 --- /dev/null +++ b/entities/chicken/run/chicken_run8.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_run8.png-f22de58052feb8d76ec304b61927f371.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/run/chicken_run8.png" +dest_files=[ "res://.import/chicken_run8.png-f22de58052feb8d76ec304b61927f371.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/entities/chicken/run/chicken_run9.png b/entities/chicken/run/chicken_run9.png new file mode 100644 index 0000000..a6e9723 Binary files /dev/null and b/entities/chicken/run/chicken_run9.png differ diff --git a/entities/chicken/run/chicken_run9.png.import b/entities/chicken/run/chicken_run9.png.import new file mode 100644 index 0000000..ecebfca --- /dev/null +++ b/entities/chicken/run/chicken_run9.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_run9.png-99c6ca34d63baafd6fbb44c7d5e43cc3.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/run/chicken_run9.png" +dest_files=[ "res://.import/chicken_run9.png-99c6ca34d63baafd6fbb44c7d5e43cc3.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/entities/player/Player.gd b/entities/player/Player.gd new file mode 100644 index 0000000..6087221 --- /dev/null +++ b/entities/player/Player.gd @@ -0,0 +1,61 @@ +extends KinematicBody2D + +export (int) var run_speed = 200 +export (int) var jump_speed = -400 +export (int) var gravity = 1200 +export var entity_type = "PLAYER" +export (int) var health = 90 +var hurt = false + +var velocity = Vector2() +var jumping = false +onready var sprite = $AnimatedSprite +var facing_right = true +func get_input(): + velocity.x = 0 + var right = Input.is_action_pressed('right') + var left = Input.is_action_pressed('left') + var jump = Input.is_action_just_pressed('jump') + + if facing_right == true: + sprite.flip_h = false + else: + sprite.flip_h = true + + + if jump and is_on_floor(): + jumping = true + velocity.y = jump_speed + if right: + velocity.x += run_speed + facing_right = true + play_animation("run") + elif left: + velocity.x -= run_speed + facing_right = false + play_animation("run") + else: + play_animation("idle") + + if !jumping && !is_on_floor(): + play_animation("jump") + +func _physics_process(delta): + get_input() + velocity.y += gravity * delta + if jumping and is_on_floor(): + jumping = false + velocity = move_and_slide(velocity, Vector2(0, -1)) + +func _on_enemyHit(health): + hurt = true + play_animation("hit") + +func _ready() -> void: + SignalBus.connect("on_hit", self, "_on_enemyHit") + +func play_animation(animation_name): + if $AnimatedSprite.get_animation()!=animation_name : + #$AnimatedSprite.play(animation_name) + #$AnimatedSprite/AnimationPlayer.stop() + $AnimatedSprite/AnimationPlayer.play(animation_name) diff --git a/entities/player/Player.tscn b/entities/player/Player.tscn new file mode 100644 index 0000000..26ade6f --- /dev/null +++ b/entities/player/Player.tscn @@ -0,0 +1,248 @@ +[gd_scene load_steps=52 format=2] + +[ext_resource path="res://pinkman/run/run7.png" type="Texture" id=1] +[ext_resource path="res://pinkman/double-jump/double_jump6.png" type="Texture" id=2] +[ext_resource path="res://pinkman/hit/hit6.png" type="Texture" id=3] +[ext_resource path="res://pinkman/idle/idle4.png" type="Texture" id=4] +[ext_resource path="res://pinkman/wall-jump/wall-jump2.png" type="Texture" id=5] +[ext_resource path="res://pinkman/fall/fall.png" type="Texture" id=6] +[ext_resource path="res://pinkman/hit/hit1.png" type="Texture" id=7] +[ext_resource path="res://pinkman/double-jump/double_jump1.png" type="Texture" id=8] +[ext_resource path="res://pinkman/idle/idle11.png" type="Texture" id=9] +[ext_resource path="res://pinkman/double-jump/double_jump3.png" type="Texture" id=10] +[ext_resource path="res://pinkman/run/run6.png" type="Texture" id=11] +[ext_resource path="res://pinkman/idle/idle1.png" type="Texture" id=12] +[ext_resource path="res://pinkman/idle/idle7.png" type="Texture" id=13] +[ext_resource path="res://pinkman/wall-jump/wall-jump5.png" type="Texture" id=14] +[ext_resource path="res://pinkman/wall-jump/wall-jump4.png" type="Texture" id=15] +[ext_resource path="res://pinkman/run/run11.png" type="Texture" id=16] +[ext_resource path="res://pinkman/wall-jump/wall-jump1.png" type="Texture" id=17] +[ext_resource path="res://pinkman/jump/jump.png" type="Texture" id=18] +[ext_resource path="res://pinkman/double-jump/double_jump2.png" type="Texture" id=19] +[ext_resource path="res://pinkman/idle/idle3.png" type="Texture" id=20] +[ext_resource path="res://pinkman/idle/idle9.png" type="Texture" id=21] +[ext_resource path="res://pinkman/idle/idle5.png" type="Texture" id=22] +[ext_resource path="res://pinkman/idle/idle6.png" type="Texture" id=23] +[ext_resource path="res://pinkman/double-jump/double_jump5.png" type="Texture" id=24] +[ext_resource path="res://pinkman/double-jump/double_jump4.png" type="Texture" id=25] +[ext_resource path="res://pinkman/run/run9.png" type="Texture" id=26] +[ext_resource path="res://pinkman/idle/idle8.png" type="Texture" id=27] +[ext_resource path="res://pinkman/idle/idle10.png" type="Texture" id=28] +[ext_resource path="res://pinkman/idle/idle2.png" type="Texture" id=29] +[ext_resource path="res://pinkman/wall-jump/wall-jump3.png" type="Texture" id=30] +[ext_resource path="res://pinkman/hit/hit2.png" type="Texture" id=31] +[ext_resource path="res://pinkman/run/run5.png" type="Texture" id=32] +[ext_resource path="res://pinkman/hit/hit3.png" type="Texture" id=33] +[ext_resource path="res://pinkman/run/run1.png" type="Texture" id=34] +[ext_resource path="res://pinkman/run/run8.png" type="Texture" id=35] +[ext_resource path="res://pinkman/hit/hit5.png" type="Texture" id=36] +[ext_resource path="res://pinkman/run/run10.png" type="Texture" id=37] +[ext_resource path="res://pinkman/hit/hit4.png" type="Texture" id=38] +[ext_resource path="res://pinkman/run/run2.png" type="Texture" id=39] +[ext_resource path="res://pinkman/run/run12.png" type="Texture" id=40] +[ext_resource path="res://pinkman/run/run3.png" type="Texture" id=41] +[ext_resource path="res://pinkman/hit/hit7.png" type="Texture" id=42] +[ext_resource path="res://pinkman/run/run4.png" type="Texture" id=43] +[ext_resource path="res://entities/player/Player.gd" type="Script" id=44] + +[sub_resource type="CapsuleShape2D" id=2] +height = 8.0 + +[sub_resource type="SpriteFrames" id=1] +animations = [ { +"frames": [ ExtResource( 12 ), ExtResource( 29 ), ExtResource( 20 ), ExtResource( 4 ), ExtResource( 22 ), ExtResource( 23 ), ExtResource( 13 ), ExtResource( 27 ), ExtResource( 21 ), ExtResource( 28 ), ExtResource( 9 ) ], +"loop": true, +"name": "idle", +"speed": 25.0 +}, { +"frames": [ ExtResource( 17 ), ExtResource( 5 ), ExtResource( 30 ), ExtResource( 15 ), ExtResource( 14 ) ], +"loop": true, +"name": "wall_jump", +"speed": 25.0 +}, { +"frames": [ ExtResource( 6 ) ], +"loop": true, +"name": "fall", +"speed": 5.0 +}, { +"frames": [ ExtResource( 8 ), ExtResource( 19 ), ExtResource( 10 ), ExtResource( 25 ), ExtResource( 24 ), ExtResource( 2 ) ], +"loop": true, +"name": "double_jump", +"speed": 25.0 +}, { +"frames": [ ExtResource( 7 ), ExtResource( 31 ), ExtResource( 33 ), ExtResource( 38 ), ExtResource( 36 ), ExtResource( 3 ), ExtResource( 42 ) ], +"loop": true, +"name": "hit", +"speed": 30.0 +}, { +"frames": [ ExtResource( 18 ) ], +"loop": true, +"name": "jump", +"speed": 5.0 +}, { +"frames": [ ExtResource( 34 ), ExtResource( 39 ), ExtResource( 41 ), ExtResource( 43 ), ExtResource( 32 ), ExtResource( 11 ), ExtResource( 1 ), ExtResource( 35 ), ExtResource( 26 ), ExtResource( 37 ), ExtResource( 16 ), ExtResource( 40 ) ], +"loop": true, +"name": "run", +"speed": 25.0 +} ] + +[sub_resource type="Animation" id=3] +length = 0.001 +tracks/0/type = "value" +tracks/0/path = NodePath(".:animation") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 0, +"values": [ "idle" ] +} +tracks/1/type = "value" +tracks/1/path = NodePath(".:frame") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 0, +"values": [ 0 ] +} + +[sub_resource type="Animation" id=7] +resource_name = "hit" +tracks/0/type = "value" +tracks/0/path = NodePath(".:animation") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ "hit" ] +} +tracks/1/type = "value" +tracks/1/path = NodePath(".:frame") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0, 0.1, 0.2, 0.3, 0.4, 0.5 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1 ), +"update": 1, +"values": [ 1, 2, 3, 4, 5, 6 ] +} + +[sub_resource type="Animation" id=4] +resource_name = "idle" +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath(".:animation") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ "idle" ] +} +tracks/1/type = "value" +tracks/1/path = NodePath(".:frame") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ), +"update": 1, +"values": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ] +} + +[sub_resource type="Animation" id=5] +resource_name = "jump" +tracks/0/type = "value" +tracks/0/path = NodePath(".:animation") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ "jump" ] +} +tracks/1/type = "value" +tracks/1/path = NodePath(".:frame") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ 0 ] +} + +[sub_resource type="Animation" id=6] +resource_name = "run" +tracks/0/type = "value" +tracks/0/path = NodePath(".:animation") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ "run" ] +} +tracks/1/type = "value" +tracks/1/path = NodePath(".:frame") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ), +"update": 1, +"values": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ] +} + +[node name="Player" type="KinematicBody2D" groups=["player"]] +z_index = 1 +script = ExtResource( 44 ) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +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" + +[node name="AnimationPlayer" type="AnimationPlayer" parent="AnimatedSprite"] +anims/RESET = SubResource( 3 ) +anims/hit = SubResource( 7 ) +anims/idle = SubResource( 4 ) +anims/jump = SubResource( 5 ) +anims/run = SubResource( 6 ) diff --git a/export_presets.cfg b/export_presets.cfg new file mode 100644 index 0000000..e69de29 diff --git a/project.godot b/project.godot index 76cb460..b5ee023 100644 --- a/project.godot +++ b/project.godot @@ -14,9 +14,14 @@ config/name="Raw" run/main_scene="res://scenes/level1.tscn" config/icon="res://icon.png" +[autoload] + +SignalBus="*res://singletons/SignalBus.gd" + [display] window/size/width=800 +window/size/resizable=false [input] @@ -42,4 +47,5 @@ common/enable_pause_aware_picking=true [rendering] +environment/default_clear_color=Color( 0, 0, 0, 1 ) environment/default_environment="res://default_env.tres" diff --git a/scenes/level1.tscn b/scenes/level1.tscn index e87deb0..4f1c43d 100644 --- a/scenes/level1.tscn +++ b/scenes/level1.tscn @@ -1,9 +1,10 @@ -[gd_scene load_steps=5 format=2] +[gd_scene load_steps=6 format=2] -[ext_resource path="res://entities/Player.tscn" type="PackedScene" id=1] +[ext_resource path="res://entities/player/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] +[ext_resource path="res://entities/chicken/chicken.tscn" type="PackedScene" id=5] [node name="Node2D" type="Node2D"] @@ -23,13 +24,14 @@ position = Vector2( 77, 31 ) [node name="TileMap" type="TileMap" parent="."] tile_set = ExtResource( 2 ) cell_size = Vector2( 16, 16 ) +cell_custom_transform = Transform2D( 0, 0, 0, 0, 0, 0 ) 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, 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 ) +position = Vector2( 400, 305 ) current = true -zoom = Vector2( 1, 1.03 ) +zoom = Vector2( 1, 1.01 ) [node name="Apples" type="Node2D" parent="."] position = Vector2( 400, 300 ) @@ -162,3 +164,6 @@ position = Vector2( 345, 6 ) [node name="Apple35" parent="Apples" instance=ExtResource( 3 )] position = Vector2( 365, 6 ) + +[node name="Chicken" parent="." instance=ExtResource( 5 )] +position = Vector2( 174, 68 ) diff --git a/singletons/SignalBus.gd b/singletons/SignalBus.gd new file mode 100644 index 0000000..ba9851d --- /dev/null +++ b/singletons/SignalBus.gd @@ -0,0 +1,3 @@ +extends Node + +signal on_hit -- cgit v1.2.3