Jump to content


Photo
* * * * - 1 votes

Dungeon Generator


  • Please log in to reply
3 replies to this topic

#1 tabc3dd

tabc3dd

    GMC Member

  • GMC Member
  • 659 posts

Posted 26 May 2011 - 08:34 AM


  • Title: Dungeon Generator
  • Description: Generates a large maze composed of corridors and rooms, in which you can move around as a player. Features modulable rooms, directional walls (for traps for example).
  • GM Version: GM 8
  • Registered: Yes
  • File Type: .gmk
  • File Size: 2.5 MB
  • File Link: http://www.yoyogames...enerator-source
Additional Info:

The screenshot on the link are out of date

WASD to move
Mouse wheel to zoom in and out.
To add customized room, check out the rm_ scripts to understand how they work, copy one and modify it as you which.
Then in the Room_Start object, find the the choose() function, and replace all the arguments by which room scripts you wish to see used. Placing multiple room scripts will increase the appearance of said room.

Known bug : If two corners touch, touching the corner will cause you to teleport. The fix is simple for those knowing a minimum of gml, but i don't have access to a PC anymore so I can't change it.

Hope it Helps :)Tabc3dd

Edited by tabc3dd, 27 May 2011 - 05:13 AM.

  • 0

#2 fantastichumore

fantastichumore

    GMC Member

  • GMC Member
  • 117 posts
  • Version:GM8

Posted 18 August 2012 - 09:03 PM

Well done ;)
  • 0

#3 Senladar

Senladar

    GMC Member

  • GMC Member
  • 25 posts
  • Version:GM:Studio

Posted 13 October 2012 - 02:39 AM

It's neat, but honestly not a very good tutorial/example without any comments in the code :(

Edited by Senladar, 13 October 2012 - 02:40 AM.

  • 0

#4 Noritox

Noritox

    GMC Member

  • GMC Member
  • 260 posts
  • Version:GM:Studio

Posted 13 October 2012 - 06:02 PM

I'm impressed! I'll be using this for my game for sure.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users