From 2d1b926e4f8388030f266eaa92c285698a3a83cf Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Sun, 18 Jul 2021 21:22:53 -0700 Subject: [PATCH] New Doodad: Box The Box can be pushed around by the player or other mobile doodads. It is affected by gravity and can be pushed off ledges. If the player gets under a box they can bump it up with their head. --- dev-assets/doodads/box/box-1.png | Bin 0 -> 1576 bytes dev-assets/doodads/box/box-2.png | Bin 0 -> 1554 bytes dev-assets/doodads/box/box-3.png | Bin 0 -> 1513 bytes dev-assets/doodads/box/box-4.png | Bin 0 -> 1523 bytes dev-assets/doodads/box/box.js | 51 +++++++++++++++++++++++++++++++ dev-assets/doodads/build.sh | 6 ++++ 6 files changed, 57 insertions(+) create mode 100644 dev-assets/doodads/box/box-1.png create mode 100644 dev-assets/doodads/box/box-2.png create mode 100644 dev-assets/doodads/box/box-3.png create mode 100644 dev-assets/doodads/box/box-4.png create mode 100644 dev-assets/doodads/box/box.js diff --git a/dev-assets/doodads/box/box-1.png b/dev-assets/doodads/box/box-1.png new file mode 100644 index 0000000000000000000000000000000000000000..29b33bdc6b4c95c411efd167731c1d16ffb68a18 GIT binary patch literal 1576 zcmV+@2G{wCP)002t}1^@s6I8J)%0004mX+uL$Nkc;* zaB^>EX>4Tx04R}tkv&MmKpe$iQ?*hm4(%Y~kfAzR5EXIMDionYs1;guFuC*#ni!H4 z7e~Rh;NZt%)xpJCR|i)?5c~jfb8}L3krMxx6k5c1aNLh~_a1le0HIN3n$%ovd`>)S(glehxvqHp#<}FOz%yfJHZw;YBNj^?taLCdn;P*Xaa`4O$`^7T ztDLtuYtq2l^-JVZ$W;L& z$2>NmL3aJ%fAG6ot2i<4B}I}z_lx6v3|w}Ff6wx;X>mpj0~lOdb3D+Or^#Uk*2M&FbNqPIYJ)$6UbkJASrOI@XJfP+I| zq(s?kKJV`B?Csw(t^R%h-CA;MWbAQF00006VoOIv0L%c)0LeSad^gZEa<4bO1wgWnpw> zWFU8GbZ8()Nlj2!fese{00aO@L_t(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