Handmade-Procedural Hybrid Level Generation

Junaid Nomani

This month we developed a “hybrid procgen” system.

Instead of procedural generation being done entirely by code, designers can now create a city scene ANY WAY THEY WANT. I developed the tools to let them do this. The hardest part being the advanced road generation.

I developed a new road and intersection algorithm so that designers can essentially draw lines in the scene, in any configuration, and they auto-magically become functional roads with intersections that cars can navigate through. Plus, unlike before, any intersection combination is now possible!

The ability to place buildings and other things were also developed, but that part was easy. I also made sure enemy spawning, AI, and other functionality still works. Oh, and roads and cars can now go up hills! This is awesome because it adds more verticality to our level designs.

Other misc tasks included:
- Fixing more scene changing bugs
- Rooftop “televators!”
- Fixed Issues with building materials
- Cleaned up the piles of corpses off the street (gamedev is funny)

Before: Just some random lines.

After: ROADS!

Cars on HILLS?!