Procedural Generation
In this chapter, you'll let the computer make the levels. The big idea isn't a new feature of JetLag, but a technique: start with noise, smooth it out, keep the part you can reach, and check that every level can be won.
I'm still writing this chapter, step by step. In the meantime, you can play the finished game, and read the code and the assets that make it, so that you can run it and change it yourself.
Play the Games
endless stair game
The code that makes it:
The assets, which go in an assets folder next to the game:
procedural generation game
The code that makes it: