Skip to content

kevin-d-omara/Procedural-Roguelike

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Procedural-Roguelike

An experiment in procedural content generation and torch lighting in the context of cave spelunking.

I wrote an algorithm that generates branching cave systems inhabited by denizens of the underground. A cave system is characterized by an essential path with major branching points. Major branches may have minor branches. Each path may have choke points, where the stone closes in, and chamber rooms, where riches and encounters await! Glowcap mushrooms are placed along the way to hint at what lies ahead and suggest a path forward. All procedural aspects are driven by intuitive parameters.

Download the demo.

Demo Video

Controls

Control Keys
Move WASD
Swing Pickaxe J, Left-Click
Place Dynamite Spacebar
Exit Game Escape

Objective

Night has set and it's time for adventure! Traverse the surface to find an entrance to the cave systems below.

Once inside, spelunker forth and see what lies await. Along the way, you may find narrow choke points and vast open chambers. Beware the lurking denizens! Dynamite will serve you well against both creatures and stone. Glowcap mushrooms offer dimly illuminate respite, beckoning you forward. Keep an eye out for shiny golden chests, for therein lies your prize. After aquiring your prize*, find a way back up to the surface. Hurry now, your torch is getting low!

*Prize not implemented. All that lies within are cobwebs and crushed dreams.

Find a passage above ground to enter the cave (left) or within the cave to return to the surface (right). Cave Entrance and Exit

Procedural Generation

Sample procedural caves, created without changing any values: Cave Variety

Long, narrow passageways: Long Narrow Passageways

Short, wide passageways: Wide Short Passageways

Screenshots

An end room with treasure and a terrifying foe! High Stakes

A large open chamber with a pair of zombies waiting for ambush! Dynamite should do the trick. Dynamite

The way up to the surface is peered through the darkness. Escape

Visual assets are from the Unity Asset Store: 2D Roguelike, with the exception of the Passage, Glowcaps, and Dynamite.

About

An experiment with procedural content and torch lighting in a cave spelunking game.

Resources

Stars

Watchers

Forks

Packages

No packages published