[REDUCE:REUSE] by Brandon Diaz
Description
[REDUCE:REUSE] puts you in control of a trash sorting drone, being evaluated on your ability to sort ever-growing piles of waste. Do your best to pick up and sort plastic, glass and metal against the clock!
Controls
WSAD/Arrows to move, Space bar picks up/drops off waste. Waste storage is first-in, last-out, so your most recent pick-up will be your next drop off.
Goals
I missed the last few dares due to life events, and I Wanted to get back into things with something simple. I also wanted to experiment with 3D/perspective and improve my animation skills.
Issues
Relies on key events in JS, so multi-key input tends to stick and cause movement to stop completely. Untested in Firefox / Safari, Chrome recommended. Spawner isn't intelligent, and can box in a facility or the player, making it completely impossible to continue.
Tools
Game written entirely in JavaScript, HTML, and CSS. Graphic work was done in Photoshop and processed through CodeKit 3.
Screenshot

| Source Code | https://github.com/BrandonDiaz/LDJam42 |
| HTML5 (web) | https://rezeyu.itch.io/ldjam42 |
| Original URL | https://ldjam.com/events/ludum-dare/42/reducereuse |
Ratings
| Overall | 256th | 3.55⭐ | 22🧑⚖️ |
| Fun | 465th | 3.05⭐ | 22🧑⚖️ |
| Innovation | 353th | 3.211⭐ | 21🧑⚖️ |
| Theme | 96th | 4.1⭐ | 22🧑⚖️ |
| Graphics | 106th | 3.925⭐ | 22🧑⚖️ |
| Given | 21🗳️ | 0🗨️ |
The controls are a little janky if I switch directions too quick, but what the heck, it's a game jam--very cool that you wrote this all from scratch / without a big engine.
```
Error in event handler for runtime.onMessage: TypeError: Failed to execute 'elementFromPoint' on 'Document': The provided double value is non-finite.
at elementFromScreenXY (<URL>)
at <URL>
```
In Firefox it works but pressing an arrow key or space scrolls down the page and I can't see the game anymore.
Oh and on Firefox I have that issue where the arrow keys and space scroll on the page, so I played on page loaded by itch.io's iframe. Generally you just need to e.preventDefault() for those key events, but I didn't check if you're using a game engine or your own system.
The art is nice and simple, but the player blends a bit too much into the environment, perhaps a darker metal would help him pop a bit more.
The movement felt fluid, but the turn delay made it a bit awkward when over-whelmed with blocking and having to turn a lot. It makes the game harder but at the cost of giving the player RSI.
Other than those fairly minor issues, I had a lot of fun. It has great potential for expansion and is very re-playable :grinning: