A downloadable code

Download NowName your own price

A small Construct 2 .capx project that includes code for a seeded random number generating function, to be inserted into projects.

This code uses no external plugins, and simply takes the form of a function, to be used instead of the "random()" function in Construct 2.  It creates a random number based on a seed, which is useful for world or level generation, pattern generation, etc, when the goal is to have a random system that can be repeated by starting again from the original seed.  It has been used to generate worlds in a top-down exploration game, as well as in a competitive puzzle game to generate the same random pattern for each player.

This project requires Construct 2 Release 255 (March 7 2018) or higher to open.

Please consider supporting me on Patreon.  Your support helps me create more things!


Download NowName your own price

Click download now to get access to the following files:

Seeded Number Generation Template [CAPX] 232 kB