Unity 2D Random Dungeon Generator for a Roguelike Video Game

Unity 2D Random Dungeon Generator for a Roguelike Video Game

30-days Money-Back Guarantee

A simple approach to programming a top down 2D random dungeon generator for roguelike video games using C# in Unity

Updated on Sep, 2026

Programming, Game Development, Unity

Duration - 6.5 hours

Training 5 or more people ?

Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.

This is a course intended for beginner to intermediate Unity / C# video game developers who have an interest in the classic rogue-like video game genre. We'll be borrowing old familiar pixel art graphics to generate our 2D grid-based environments, characters and enemies.

This course is not a complete game. It's purpose is to explore a couple of simple random dungeon generation tactics and get you started in the world of procedural level generation. You'll also learn how to apply a rounded edge around all of the walls of your random dungeon to break up the repeating patterns and give the environment a more organic look.

As an added bonus, I've included a section to demonstrate a simplified method for enemy path finding. This method uses a flood fill approach to find the shortest path between an enemy and the player. Your enemies will be able to patrol in random directions, chase the player using a flood fill path finding approach as well as engage with the player to begin attacking.

Solving Problems with C# Programming

Procedural Random Dungeon Generation

Working with 2D Bitwise Tilemap Systems

Simplified Solution for Enemy Pathfinding

Basic Computing Experience

2D Graphics Editing Experience

Experience with Unity Game Engine

Experience in Photoshop is Helpful But Not Required

Experience Programming in C#

Check out the detailed breakdown of what’s inside the course

I started on my creative journey about 40 years ago as a musician. Through the decades, I have picked up a wide variety of skills, with over 20 years as an accomplished website developer, programmer, graphics artist, photographer, journalist, published author, video game developer, 3D modeler and animator!

I have done lots of work for a wide variety of business over the years. In the last decade, I have taken to Unity for game development with six games published on Steam so far. I'm very excited to be a full time game developer, and equally pleased to pass down some of my knowledge to you!

My friends describe me as a highly driven individual with a wide range of skills, capable of doing anything. I describe myself as curious, intuitive and above all.. honest.

Use your certificate to make a career change or to advance in your current career.

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Master prominent technologies at full length and become a valued certified professional.

Recommended articles