Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Start of a Dungeon Playground

  1. #1

    Start of a Dungeon Playground

    I got board the other night and started looking through some of my old projects. One that I had was a "dungeon playground" that I had planned on setting up so you could test out different generation schemes and different random number generators.

    Thought others might get a kick out of it, so I'm posting the exe up here. Might post the source later if I can find all of it and it still compiles LOL.

    Basically its doing a RogueLike rendering, shadow casting, and uses Prims Algo to generate the "dungeion" by selection only a limited number of rooms from the actual rooms. For large numbers of rooms this could take a while LOL.

    Really fun part is the flickering light.

    http://www.eonclash.com/PGD/dplayground.exe

  2. #2

    Re: Start of a Dungeon Playground

    Thanks for sharing

    cheers,
    Paul

  3. #3
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    Re: Start of a Dungeon Playground

    This is neat I'll have to check it out sometime. I'm working on a generic HeroQuest style game. Should give me some ideas perhaps
    Jason McMillen
    Pascal Game Development
    Co-Founder





  4. #4

    Re: Start of a Dungeon Playground

    Well, I now know that the source builds just fine, and I do remember enough about it to make minor changes (so far). I've put in the ability to be "killed" and to "kill". No reward and you can see your stats in the top left corner easily enough. Odd how quick it was to take this from a very basic setup to a "game" in no time.

    A little bit of a script engine and it would be VERY easy to turn this into a real game LOL. Anyways, the exe above has been updated if you care to download it and give it a "play".

    - Jeremy

  5. #5

    Re: Start of a Dungeon Playground

    Not sure how to use it. I guess ToolButton2 is for generating a new dungeon.
    What supprised me is that the dungeon doesn't seem to have any corridors. I'd expect a nice maze with different rooms etc, but it's just one big room.
    Is it supposed to be like that?
    Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.

  6. #6

    Re: Start of a Dungeon Playground

    Quote Originally Posted by chronozphere
    Not sure how to use it. I guess ToolButton2 is for generating a new dungeon.
    What supprised me is that the dungeon doesn't seem to have any corridors. I'd expect a nice maze with different rooms etc, but it's just one big room.
    Is it supposed to be like that?
    Yeah, the actual "dungeon generation" code isn't very smart or good (got into it a bit last night). Instead of a full Prims Algo looks like I took some basic ideas and implemented a partial system. Thus it doesn't generate a real dungeon. Plan on looking at that code and a bit more tonight/tomorrow and seeing what I can do with it. Might have to try and build a small game out of this just to see how difficult it is

    - Jeremy

  7. #7
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    Re: Start of a Dungeon Playground

    You should check out Sascha Willem's whole article on Dungeon Generation. Here it is: http://www.saschawillems.de/?p=439

    He details how he made his own dungeon generator in the article. It's pretty neat how he did it.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  8. #8

    Re: Start of a Dungeon Playground

    I'll have to look at the differences between that implementation and the ones I currently have. Actually, I've been collecting/writing dungeon generators for quite some time now. One of the projects that this was eventually suppose to become was a multiclient online game. Where you could connect with a Telnet client, custom text (Roguelike) client, 2D client, or 3D client.

    Might have to pick the project back up if I start having more time, but for now this is just one of those "finds" on my massive storage area of projects that never got complete.

    I've just about completed integrating a better dungeon generator I found as well, and cleaning up the code. If nothing else should really catalog my projects and write tutorials off of my findings LOL

    - Jeremy

  9. #9

    Re: Start of a Dungeon Playground

    You might find this rogue-like site handy for this kind of thing:

    http://roguebasin.roguelikedevelopme...itle=Main_Page

    Especially:

    http://roguebasin.roguelikedevelopme...title=Articles

    You can drill down to whatever article, like dungeon generation, etc.

    cheers,
    Paul

  10. #10

    Re: Start of a Dungeon Playground

    Yep, got roguebasin and several others in my Diigo (http://www.diigo.com/user/jdarling/roguelike and http://www.diigo.com/user/jdarling/rogue) collection. Great sites to keep around, that's also where I read up on the Shadow Casting implementation I converted from C to Pascal. My implementation isn't perfect (doesn't use ellipsoidal casting and instead opts for rectangular) but it works for me

    - Jeremy

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •