Tutorialspoint

Mid-Year Savings Flat 10% OFF, Use Code: MID10

Unity 2D Random Dungeon Generator for a Roguelike Video Game

person icon Billy McDaniel

4

Unity 2D Random Dungeon Generator for a Roguelike Video Game

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

updated on icon Updated on Jul, 2024

language icon Language - English

person icon Billy McDaniel

English [CC]

category icon Game Development,Unity

Lectures -27

Resources -2

Duration -6.5 hours

4

price-loader

30-days Money-Back Guarantee

Training 5 or more people ?

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

Course Description

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.

Who this course is for:

  • Beginner to Intermediate Unity Game Developers
  • 2D Roguelike Game Enthusiasts
  • Beginner to Intermediate C# Programmers

Goals

  • Solving Problems with C# Programming

  • Procedural Random Dungeon Generation

  • Working with 2D Bitwise Tilemap Systems

  • Simplified Solution for Enemy Pathfinding

Prerequisites

  • Basic Computing Experience

  • 2D Graphics Editing Experience

  • Experience with Unity Game Engine

  • Experience in Photoshop is Helpful But Not Required

  • Experience Programming in C#

Unity 2D Random Dungeon Generator for a Roguelike Video Game

Curriculum

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

Getting Started
6 Lectures
  • play icon What's Included in This Course? 01:29 01:29
  • play icon Software Used in This Course
  • play icon Setup Unity 2D Project 02:52 02:52
  • play icon Graphic Tilesets 12:50 12:50
  • play icon Player Movement (Flip X) 20:48 20:48
  • play icon Player Movement (Move) 18:15 18:15
Dungeon Caverns
6 Lectures
Tutorialspoint
Rounded Edges
5 Lectures
Tutorialspoint
Rooms & Halls
4 Lectures
Tutorialspoint
Bonus Section
6 Lectures
Tutorialspoint

Instructor Details

Billy McDaniel

Billy McDaniel

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.

Course Certificate

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

sample Tutorialspoint certificate

Our students work
with the Best

Related Video Courses

View More

Annual Membership

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

Subscribe now
Annual Membership

Online Certifications

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

Explore Now
Online Certifications

Talk to us

1800-202-0515