pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
Random Dungeon Generator

Random Dungeon Generator - 1.6

Christopher Breinholt (breinygames)

Tags:

Description

Generates a dungeon, 2 staircases (1 going up and the other going down) both in random locations in the dungeon, and chests. The chests are placed in locations in the dungeon that are furthest away from the shortest path from the 2 staircases found using A* path finding. Has two parts. A dungeon generator and a dungeon loader. The generator uses a map generation algorithm to generate a two dimensional array of numbers that represent the layout of the dungeon. The dungeon loader takes that two dimensional array, and makes a map out of it that is then rendered using pygame. For more information on the algorithm I used, please visit the beginner's guide I wrote on random map generation: http://breinygames.blogspot.com/2011/07/random-map-generation.html

Links

Home Page: http://code.google.com/p/pygame-dungeon-gen/
Source: http://pygame-dungeon-gen.googlecode.com/files/random-dungeon-generator-v-1-6.zip

Screenshot


click to view original size

Releases

Random Dungeon Generator - 1.6 - Sep 2, 2011

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

September 23, 2011 3:54am - Xandar Kablandar - nickname: (eternalcheesecake)
Neat!
September 13, 2011 12:59am - Donpachi - nickname: (donpachi) - 4/5
It works pretty nicely. I just had to grab a few libraries from here and see if I can't make a basic roguelike in 30 minutes (I could). The only problem with this generator I see is that it requires the minimum room size to be (3, 3) - or parts of the dungeon get broken into disconnected bits.
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
May 24, 2012


May 23, 2012

May 22, 2012


May 20, 2012

May 19, 2012

May 18, 2012

May 17, 2012


May 16, 2012


... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)