#+TITLE: Worryspider in: The Garden

You are Worryspider, an anxious little spiderling. You were out picking apples in the Garden of Tranquility, when suddenly, you heard a rumbling in the distance. Before you knew it, you found yourself in the middle of a herd of lawnmowers! Even if you COULD leave, you still need to fill your basket with apples for your hungry friend. You'd better get picking...

This package contains the complete source code for this game. If you want to run it locally, you'll have to start a web server that serves this directory, since it downloads a library from a CDN. I leave that as an exercise to the reader. This version of the readme also contains a slightly more complete version of the credits, as well as some commentary on the (lengthy) development process of this game. I hope you enjoy it!

* CONTROLS
Arrow keys to move

* Asset credits
+ music.mp3 :: Minigame music from Kirby's Dreamland 3
+ lawnmower.ogg :: [[https://freesound.org/people/OldSchool_/sounds/408768/][factory grinding.wav, by OldSchool_ on freesound]]
+ apple.ogg :: [[https://freesound.org/people/InspectorJ/sounds/339816/][Hand Bells, F, Single.wav, by InspectorJ on freesound]]
* Tool credits
+ All tiles and sprites :: Piskel
+ Title & End graphics :: Libresprite, downscaled to fit resolution with [[https://glimpse-editor.github.io/][Glimpse]]
+ World design & object placement :: Tiled
+ Framework :: Phaser 3
* Dev notes
The development of this fairly simple game has taken most of my game development energy over the past year or so. Not because there's some wild shit going on under the hood—I knocked most of what you see out over the course of a week or so—but rather because I kept building it with some framework or engine, encountering an obstacle I couldn't get over, and having to switch engines, scrapping all code in the process. I tried to build this game in the following engines:
+ Unity
+ Godot
+ Love2D
+ GDevelop
+ Another one that I forgot 😵
And each time I had to scrap all my code.
Then, finally, I found Phaser. Phaser made everything... not quite effortless, I still had to learn the engine after all (and the docs are really hard to read), but the individual pieces and how they fit together all made sense, and I barely had to fight the engine to get it to do what I wanted. This game came out almost exactly as I wanted, and I couldn't be happier.
There are only two issues that I'm aware of with the final product:
1. The title and end graphics had to be scaled down to fit, due to the rendering scale being a global property (as far as I know). If anyone knows how to make it vary from scene to scene, PLEASE contact me!
2. The first apple always spawns off the grid. But hey, it wouldn't be a Trainwreck if it didn't have a bit of jank, yeah?
