Over the weekend I started investigating how to easily build a tilemap. There's a pretty nifty tool called LDtk that is freely available (pay what you want) and outputs a documented JSON file for building levels out of tiles. There is an available Playdate library for importing LDtk files into Playdate but I wanted to keep the project light on external dependencies so I decided to start my own!
I wrote two variants, one for loading the files on the fly, and another using a macro to preprocess the JSON and store it in an easier to use format for when the scene loads https://github.com/therabidbanana/playdate-fennel-starter/commit/2eae73419f9c7f7...