top of page
Search

The Scary Random Maze

Updated: Apr 8



GitHub Repository: Procedural Generation Project

Dev Log Website: Jino1113 Devlog

Play Now on Web: The Scary Random Maze


Game Overview

The Scary Random Maze is a procedurally generated horror game designed to demonstrate the use of Procedural Generation in Unity. This game uses randomized maze generation, Perlin Noise animations, and AI-based mechanics. Creating a unique and unpredictable experience every time a player enters the game.


The game is heavily inspired by adventure and horror genres, where unpredictability and dynamic environments improve the tension and challenge for players.


Core Systems Overview


Depth First Search (DFS)

This maze was created using the Depth First Search (DFS) system. This system ensures the maze is vacuumed after each playthrough. Once the maze is complete, an exit must be built. It is essential to build an exit by using a random range system.


Figure 1: The maze was created using the Depth First Search (DFS) system.
Figure 1: The maze was created using the Depth First Search (DFS) system.

Random Range

To randomly spawn players in the maze, we need to use a Random Range system. This random spawn point must take into account the necessary distance from the exit and from enemies that are stalking the player.


Figure 2: An example illustrating a random range system.
Figure 2: An example illustrating a random range system.

Perlin Noise

This game features a unique system where players can sense when enemies are approaching by observing the walls. If the walls appear shorter, it means an enemy is nearby. This wall distortion is achieved through the use of the Perlin Noise system.


Figure 3: An examples of using Perlin Noise.
Figure 3: An examples of using Perlin Noise.

Project Objective

This project was built to demonstrate how procedural generation systems can be applied in video games. The primary goal is to create dynamic and unpredictable gameplay, making each round feel fresh and unique. This unpredictability also enhances the game's sense of suspense.


Tools Used:

  • Unity 2022.3+

  • Github

  • Github Desktop


GitHub Repository: Procedural Generation Project

Dev Log Website: Jino1113 Devlog

Play Now On Web: The Scary Random Maze

 
 
 

Comments


bottom of page