Stijn Dirne
  • Projects
    • Operation Eagle
    • Rusviet Revolution
    • Iron Harvest
    • Arboreal
    • Exiles of Auriga
  • Personal Projects
    • Dungeon Crawler
    • Bridge Crossing
  • About me
  • Resume
  • Contact

Dungeon Crawler

A brief overview of how I made a Dungeon Crawler using Unreal Blueprints

Basic grid construction

Picture
Picture
Creates a basic grid and stores the location of each of the grid points in an array.

Basic dungeon creation

Picture
Picture
It then uses a random integer to pick between different rooms to spawn on each of the grid points.

Critical path generation

Picture
Picture
Room spawning logic which first checks to see if the critical path has been created.
Picture
Logic of the critical path. It snakes towards the exit, checking each time if it has reached the edge of the maze. And if so, it goes straight to the exit. Going to the right means adding a 1 to the "Next Point in Path", going up means adding "Number Rooms Y". I added in the "Corridor Screwer Y" to prevent long corridors from forming.

Final version

Picture
Added walls to the rooms and placed some pickups and enemies throughout the rooms.
Proudly powered by Weebly
  • Projects
    • Operation Eagle
    • Rusviet Revolution
    • Iron Harvest
    • Arboreal
    • Exiles of Auriga
  • Personal Projects
    • Dungeon Crawler
    • Bridge Crossing
  • About me
  • Resume
  • Contact