pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
Python Dungeon Crawler

Python Dungeon Crawler - 0.19

Max Power (paolo)

Tags:

Description

Python Dungeon Crawler is a rogue-like dungeon crawling game, written in python.

Changes

added books to read (r)
added potions to drink (q)
added a lot of new monsters with lots of new effects,
such as dazzle, heat, stunning, splitting
added a new spell (identify)
magic items have to be identified before you can see the stats

SVN is currently broken, i've uploaded an archive at http://python-dungeon-crawler.googlecode.com/files/PDC_4.tar.gz

Links

Home Page: http://code.google.com/p/python-dungeon-crawler/source/checkout
Source: http://code.google.com/p/python-dungeon-crawler/source/checkout

Screenshot


click to view original size

Releases

Python Dungeon Crawler - 0.31 - Sep 21, 2009
Python Dungeon Crawler - 0.27 - Sep 11, 2009
Python Dungeon Crawler - 0.23 - Sep 9, 2009
Python Dungeon Crawler - 0.21 - Sep 7, 2009
Python Dungeon Crawler - 0.19 - Sep 6, 2009
Python Dungeon Crawler - 0.16 - Sep 6, 2009
Python Dungeon Crawler - 0.12 - Sep 3, 2009
Python Dungeon Crawler - 0.10 - Sep 3, 2009
Python Dungeon Crawler - 0.2 - Aug 30, 2009
Python Dungeon Crawler - 0.2 - Aug 30, 2009

Pygame.org account Comments

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

September 28, 2009 9:40pm - kalriz - nickname: (kalriz)
sorry sorry im a little new to python but um.. haha.. how do i get the code or play the game?
September 25, 2009 2:06pm - Max Power - nickname: (paolo)
Sorry for this, in the current version there are some bugs because of the big changes i did. Expect more from the next release
September 24, 2009 2:19am - Peter NAGY - nickname: (unranked)
Something is wrong with the svn version.
I can type the char's name, select race and gender, and after pressing ENTER, I got this:

Traceback (most recent call last):
File "run_game.py", line 78, in <module>
quit_mes = s(ts)
File "./src/engine.py", line 380, in start
self.create_character()
File "./src/engine.py", line 356, in create_character
self.player = races[race][3](True, gender)
File "./src/actor/races.py", line 8, in __init__
Humanoid.__init__(self, add)
File "./src/actor/actor.py", line 643, in __init__
Actor.__init__(self, add)
File "./src/actor/actor.py", line 34, in __init__
self.ai = AI(self)
NameError: global name 'AI' is not defined

Psyco, pygame and python is the latest, I'm using Arch Linux.
September 11, 2009 4:56pm - Rene Dudfield - nickname: (illume)
hi, thanks for the list of controls. On laptops, some don't have the numeric pads... so those movement keys can't be used.

I changed the keys to these ones... since I've got arrow keys which have a function key that can turn them into pageup/down/end/home.
MOVE_UP = pygame.K_UP
MOVE_DOWN = pygame.K_DOWN
MOVE_LEFT = pygame.K_LEFT
MOVE_RIGHT = pygame.K_RIGHT
MOVE_WAIT = pygame.K_5
MOVE_UP_LEFT = pygame.K_PAGEUP
MOVE_DOWN_LEFT = pygame.K_HOME
MOVE_UP_RIGHT = pygame.K_END
MOVE_DOWN_RIGHT = pygame.K_PAGEDOWN

oh... I just realised I can press the function keys to use the num pad too :)

Nice game, I'm enjoying a bit of dungeon crawling.
September 10, 2009 7:33am - Max Power - nickname: (paolo)
OK, there's a lack of a manual :)
Have a look at the key_mapping.py file, there you can see the controls
September 10, 2009 5:21am - Rene Dudfield - nickname: (illume)
Looks very cool :) I wish there was a help screen, or a readme.txt though... I'm not sure how to play.
September 6, 2009 12:29pm - Pyguy - nickname: (quarkspin4)
Uh-oh. I think a bug just happened...
September 6, 2009 12:28pm - Pyguy - nickname: (quarkspin4) - 5/5
Wow. This is awesome! Although, I think that my game died. You see, my idea was to generate the level as the player walked through it, but that made it very hard to do "rooms". So, anyway, this is really cool, and the code is extremely readable, I hope I can find some free time somewhere, I'd love to contribute!
September 6, 2009 12:28pm - Pyguy - nickname: (quarkspin4) - 5/5
Wow. This is awesome! Although, I think that my game died. You see, my idea was to generate the level as the player walked through it, but that made it very hard to do "rooms". So, anyway, this is really cool, and the code is extremely readable, I hope I can find some free time somewhere, I'd love to contribute!
September 3, 2009 6:03pm - Max Power - nickname: (paolo)
It depends on the game. I bet the most games on this site are written for python2.5 or python2.6. To start this game, run the file 'run_game.py'.
September 3, 2009 5:00pm - Tim - nickname: (stewpidkid)
How in the world do you play games on this site... i have python3.1 and pygame1.9, Ive never used python either so i have no clue what im doing.
Wanting to learn though
September 3, 2009 8:43am - Max Power - nickname: (paolo)
There's no download file, but you can check out the svn repositry as mentioned at http://code.google.com/p/python-dungeon-crawler/source/checkout
September 2, 2009 4:34pm - nitrofurano - nickname: (nitrofurano)
http://code.google.com/p/python-dungeon-crawler/source/checkout - "This project currently has no downloads."
September 1, 2009 9:57am - Barry - nickname: (isharacomix)
Yay! Another Roguelike!

I've really been getting into the genre recently. Just last week, I happened to read the 15-step article as well. I was inspired (but not enough to actually start working on one).

Let me just say that I'm very pleased with how clean and well-kept your code is at this point in the project! Lots of code I read - usually mine - is scattered all over the place in the worst possible way. I'd also like to give you a big thank-you for putting your keymapping into an easy-to-find file. I absolutely hate trying to use the keypad - it's a real pain on my laptop.

I'm looking forward to seeing where you take this project.
August 31, 2009 7:59am - Max Power - nickname: (paolo)
I release my code under the GPL, so, use it if you want (if you release your code under the GPL, too). I am also interessted in seeing your game :)

Also have a look at http://roguebasin.roguelikedevelopment.org/, there are lots of information about Field of Vision (FOS), AI, dungeon-creating etc. It's a great site.
August 30, 2009 8:22pm - Pyguy - nickname: (quarkspin4) - 5/5
I happen to be currently working on a game much like this! Do you mind if I use some of your code?
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Oct 20, 2014

Oct 16, 2014

Oct 9, 2014

Oct 8, 2014

Oct 7, 2014

Oct 4, 2014

Oct 1, 2014

Sep 19, 2014

Sep 17, 2014

Sep 9, 2014

Sep 8, 2014

Sep 7, 2014

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