The new word on the street is CHUNKS
I’d recommend watching the video in full above, but the secret essentially boils down to a lot of clever algorithms. Dabrowski says he uses these to first create a basic map, which he can then add geographical details to such as lakes, forests, mountains and oceans to help give the world a bit of shape.
The next step is then populating the world with cities, which requires another algorithm to help lay them out on the map and make sure they’re spaced out. Dabrowski also says that both city placement and landscape generation is “going to be adjustable for players when you’re first generating the map,” so if you want a map with no cities, for example, that is 100% doable.
If you’re a fan of island archipelagos, however, that may be a stretch too far, he says. “I don’t think the NPC artificial intelligence would really know what to do with a [largely ocean] map right now, but hopefully, one day, it will and then you can, like, recreate Waterworld or something.”
There’s another algorithm Dabrowski uses to then create roads between these cities, while his map algoes (algi?) can also be called upon to help place landmarks on the map, which add additional areas for you and your pals to investigate.
In terms of figuring out what goes in those landmarks, that’s all hand-crafted, Dabrowski says - and it’s all thanks to Chunks (notthatChunks). This system is essentially a kind of level editor, and the game will be able to pull from a variety of these handmade Chunks to populate its landmarks and regions with.
There’s a lot more in the video about how Dabrowski also uses Chunks to create his larger cities and biomes, and it’s a neat deep dive into how this stuff actually works.
There’s no word yet on exactly what date Streets Of Rogue 2 will be hittingSteamlater this year, but you can stillsign up for its first pre-alpha playtestif you want an early peek.