@SqueakyReaper: I have not experienced that problem, but you should really be using Prim Grid instead. This library only remains for legacy purposes. Perhaps I should take it down.
If you have resource problems, you might want to try making the demo map smaller. I set it to manage 4900 turfs. That's a lot.
![]() |
Map Generation |
A datum for abstract procedural map generation. [More] |
To download this library for your Linux/Mac installation, enter this on your command line:
DreamDownload byond://ACWraith.MapGeneration##version=0 Emulator users, in the BYOND pager go to File | Open Location and enter this URL:byond://ACWraith.MapGeneration##version=0 |
My own Prim Grid library offers an implementation of the methods provided here and includes additional features.
This library provides a datum for abstract map generation with:
LICENSE: You may use this library in both commercial and non-commercial projects. Credit would be appreciated, but it is optional. |
ACWraith: (May 4 2011, 3:50 pm)
SqueakyReaper: (May 4 2011, 2:16 pm)
Running the demo caused my computer to crash. I don't know if it's a computer resource thing, but it ran for a second... screen froze up, and the BSOD.
Stephen001: (Mar 9 2011, 3:47 am)
I have some design concerns about this library, regarding the algorithms themselves. Is there a particular reason the algorithm(s) for map generation are not a separate datum from the map generator datum you provide?
In the Prims implementation, it seems you'd benefit from breaking it up into small procs and having some internal state. This also means the API of your map generator itself doesn't balloon when you add more algorithms. |
Copyright © 2025 BYOND Software.
All rights reserved.
Sorry, I was crawling through the resources, didn't realize there was a more updated version. I have a bad habit of drive-by downloading, running to see if I'm impressed, and then using said library. I guess I could add "check for updates" to that.