• Register

Death Legacy is a roguelike, dungeon crawler, turn-based combat, roleplaying game, which try to approach to old-school dungeon crawlers, but offering a 3D graphic esthetics. One of its main features is the procedurally generated content (the entire dungeon, the items stats, the loot,...). The use of the senses will be decisive as you can find hidden secrets and your enemies using sight, and hearing. However, enemies will also use their senses to find you. Survival is another game mechanic. The player will suffer from hunger, thirst and tiredness, which will affect the players stats... or kill him.

Post news Report RSS Room Generator Algorithm Demo

This tool was used to test procedural map generation in Death Legacy. It uses an algorithm close to final version, and allows us to check quickly that everything is working ok. The tool uses ASCII representation of the props that will be instantiated in the game. Several parameters define the generation: the size of the room, the variability of its shape, total number of doors facing each direction (that may also be set to random), difficulty, number of chests and luminosity of the room.

Posted by on

For those most classic roguelike players, game developers or just interested people, we've uploaded a demo of the room generation algorithm, so you can have a close idea about how it works ingame.

Death Legacy uses two generation algorithms:

  • Dungeon designer: This algorithm decides how many rooms will be created, and decides the way they are connected. It sets rooms parameters (difficulty, number of doors,...) and the room type (initial room, ending room, resting room).
  • Room generator: This algorithm receives the room parameters and build a random room which satisfy those parameters. It's the algorithm we are showing in this demo.

You can download the demo here:

Dungeon Room Generator

The usage instruction are explained in a readme.txt inside the zip, but's pretty easy. You will see a screen like this one:

In this screen you will see the room current parameters and an ASCII representation of the current random generated room. Below the room, you have an explaination of what each ASCII character means. Finally, you will have a list of parameters you can change. To change a parameter, type an option (for example, type S to change the room size) and press Enter. Depending on what parameter you decide to change, the program may ask you for additional information. When you have set your custom parameters, you can press R to keep generating more rooms using the same parameters. Press Q to exit.

Don't hesitate to contact us if you have any doubt, or if you have any suggestion or an opinion to share.

Post comment Comments
abam4000
abam4000

Cool pre-game stuff, keep wornikg

Reply Good karma Bad karma+2 votes
rsdworker
rsdworker

nice i like it its gives a possibly a designing the rooms in dungeons

Reply Good karma Bad karma+4 votes
Chiki40 Author
Chiki40

Thank you for testing the algorithm! I think that showing how this kind of things work is very interesting, and it was worth making a little demo.

Reply Good karma+2 votes
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: