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

Random Dungeon Generator

Christopher Breinholt (breinygames)

Tags:

Description

Generates a random rogue-like dungeon that could be used as a dungeon generator for 2D games. Places up/down staircases, and adds 'chests' in random areas. It places the chests by using the A* path finding algorithm to find the path between the 2 staircases, then places the random chests in areas furthest away from that path. More information on the algorithm used for Dungeon Generation can be found here: http://breinygames.blogspot.com/2011/07/random-map-generation.html

Links

Home Page: http://code.google.com/p/pygame-dungeon-gen/

Screenshot


click to view original size

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
Jan 24, 2015

Jan 20, 2015



Jan 15, 2015

Jan 14, 2015


Jan 7, 2015

Jan 4, 2015


Dec 30, 2014

Dec 14, 2014

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