The Level Generator Toolkit comprises of a bucket of functions (currently 42, including a few diagnostic functions) which can be used to create all kinds of procedurally-generated environments. The Toolkit is designed to help developers understand the contextual potential of all sorts of different algorithms and processes.



Full documentation is provided in the test environment above - simple click the 'Help!' button to toggle a dialog.

If you want to see what the Toolkit is capable of, simply select an example from the drop-down list.

If you want to know more, request a feature, or report a bug, you can contact me:

Twitter: @chilly_durango

Email: alex [dot] jordan [dot] cook [at] gmail [dot] com

itch: Through the Discussion Board below





CONSTRUCT 2 CAPX AVAILABLE

The Toolkit is written entirely in Construct 2, without the use of any plugins. In order to use the Toolkit, all you need is an Array and the Function object included in your project. You can then either copy individual functions into your project as required and begin implementing them, or simply include the entire project as an Event Sheet Include.

The functions are written to be:

Portable - They can easily be transported from project to project with very little interference

They can easily be transported from project to project with very little interference Isolated - They require nothing but a few objects to run, and can take as little or as much input as the developer requires

They require nothing but a few objects to run, and can take as little or as much input as the developer requires Flexible - Most functions provide many different potential uses, each of which can be tweaked with just a few parameters

Most functions provide many different potential uses, each of which can be tweaked with just a few parameters Fast - Each function has been through many stages of optimisation, and many different algorithms have been tested for each purpose

Each function has been through many stages of optimisation, and many different algorithms have been tested for each purpose Reliable - The included pseudo-random number generator ensures results can be reliably repeated again and again, and each algorithm is crafted to ensure nothing is truly left to chance





The Toolkit is available as a capx for Construct 2 in return for a small donation to the project. It is distributed under CC-BY-SA 4.0, which means if you want to include the algorithms in your own game, all you have to do is credit me (Alex J Cook), and preferably link to this page ;)

I will continue to add to the Toolkit over time, as I have over the past few years. New algorithms, as well as optimisations to existing algorithms, will take place. I will attempt to keep any alterations to the structure and relative output of all function calls consistent between updates, so that developers can continue to benefit from updates without interfering with expected results.



For more information about using the CapX, see this devlog.