Spelunky procedurally-generates its levels, meaning youāll never ever play the same stage twice. But how does this magic actually work? How do you get to play through actual playable stages, and not nightmarish collages of terrain?
Darius Kazemiās āSpelunky Generator Lessonsā explains that every level is made in two stages. First, thereās the āsolution pathā, which builds something that actually has an entrance, exit and (relatively) navigable terrain. The second adds the spikes, enemies and items.
Which makes it sound easy, but the guide breaks down why itās so special in Spelunkyās case, how they did it and why it works so damn well. The best part is the fact that you can even interact with the guide, building your own levels with the press of a key.
Note: You may need to be using Chrome to get this working properly.
Spelunky Generator [Darius Kazemi]