Over the past few months I’ve been working on a 2D platformer game called Platform Pixels as a side project. A large part of making a game like this is designing and creating levels. I started off doing this by hand, but quickly realized that it was taking more time than I wanted. To speed up the development cycle, I wrote a Procedural Level Generator to make levels for me.
There are many static website generators out there (see staticgen.com). This post is to explain why I chose to write my own generator instead of using an off-the-shelf solution. What is a Static Website Generator? A static website generator is typically a command line tool that takes a directory of files, performs operations on them, and then writes the output to a build directory. The build directory is usually deployed to a static website host such as Github Pages or Amazon S3.