zrandom is a set of scripts to make random in game maker independent for each instance. Its a good set of scripts for procedural content and stuff like that.

It works basically just like the game maker functions. with the difference that one random call in one instance doesn't affect other random calls in another instances.

You'll only need to call zrandom_init() before calling any of the zrandom scripts. The idea is that the names of the funcions are similar to the game maker ones, with "z" as a prefix. For example:
random(10) = zrandom(10)
random_range(10,30) = zrandom_range(10,30)

Keep in mind that this is not a perfect random generator. Actually is a pretty simple set of scripts and it uses code that you can easily find on the internet. Just search for Linear congruential generator.

End User Licence Agreement (EULA).

Version 1.0.1. Published November 10, 2018

Age Rating: 4+

Average Rating

This asset hasn't received enough reviews yet.

Your review

You can only review assets you've bought.

No reviews yet

No reviews have been left for this asset - be the first!

Package contents

Loading, please wait

What is the issue?

Back to Top