A Plugin which generates a dungeon of custom size and populates an array object with the generated information.
Download V0.1 (Early Alpha with an infinite loop bug. Use at your own risk.)
2D Demo CapX
2D Live Demo
Character movement with "WASD"
"Random Dungeon Generator" is a single action Plugin which requires an array object available in the project.
MinRoom = the minimum amount of rooms to be created
MaxRoom = the maximum amount of rooms to be created
MinSize = the minimum size the whole Map needs to have
MaxSize = the maximum size the whole Map needs to have
MapSize = This is the width and height of the Map, this should always be bigger than MapSize in order to avoid errors
Squash = If set to yes, an algorithm is triggerd which moves the created rooms closer to each other
Array = You need to select an array object (the content of that array will be overwritten when the event is called
The Array will be filled with the following information at each x/y coordinate:
This Plugin is not completed yet (some additional functions will follow as soon I have some time to work on it).
Can you show a demo of it in advance?
I can share one tomorrow, I am currently at work and am not able to set one up.
For everyone who likes to help on improving the plugin, please feel free to contribute here:
https://github.com/Ubivis/C2RPG-Essenti ... -Generator
Really nice! Along with the tileset support, it can help to create really nice bases for a dungeon. I'm looking forward to its future iterations !
I would currently advice to not use the current version. I encountered a infinite loop bug in the code and am trying to get rid of it.
Roadmap for v3 (v2 already available on github, but not very useable):
If someone likes to see a little demo:
Where to download the latest plugin?
rexrainbow : seems like Ubivis simply uses github as a repository.
He said "Roadmap for v3 (v2 already available on github..." , so that it might not be the latest one.
I had tested it, no infinite loop occurred.
rexrainbow Yep same here. Might happen in a specific case or in rare occasions? Anyway, the latest available version seems to be on github.
I will update the normal download later today with v2.
Anyone who is interested in downloading development releases, the git is set up here:
updated the download with v2.
Hi nice plugin, what size would I need to set the array to ?
Develop games in your browser. Powerful, performant & highly capable.
pixeldotgames, you don't need to set the size of the array object, it just needs to be there. My Generator takes care to set up the array object while running the generation process.
updated the download with v2.
Hi do u have a capx somewhere or , cant find it
i was just wondering whether there is an option to set the size of a tile. I'm using 64x64 tilesets for example and would like to use this plugin :3
does this plugin only work with 32x32 atm?
edit: Could you add an option to make every wall be twice as big for I need 2 tiles in weidth and height to display a wall correctly. I added a screen to explain it. But best would be to make it possible to change the size of the individual "tiles"