Skip to content

Paul-Wortmann/librmg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

librmg

Random Map Generator Library

!Currently only Linux is supported!

Librmg is a procedural dungeon generation library intended for use with 2D tile based maps. Librmg includes a number of algorithms:

  • C1: Cave maps generated using cellular automata.

  • C2: Cave maps generated using overlapping circles

  • D1: Dungeon maps generated with random rooms and then connected.

  • D2: Dungeon maps generated by recursively subdividing the map and then filling the regions with rooms.

  • M1: Maze map, including rooms.

  • T1: Town map, currently incomplete. (WIP)

Librmg features include:

  • Optionally fill generated rooms with prefabricated rooms loaded from file.
  • Generated maps consist of 3 layers, base (wall, floor, liquid), object and event layers.
  • Maps are tested for connectivity using floodfill and an A* pathfinder.
  • Rooms are discovered, numbered and various data is stored for future applications.

About

Random Map Generator Library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages