I made a GameMaker version of Mersenne Twister Random Engine. This engine is so popular, that C++ Standard library also using it.
It provides 3 functions within a engine class.
Integer random gen
This is a exclusive random generator. The result would not include the upper.
Real random gen
This is a inclusive random generator. The result would include the upper.
Boolean random gen
An Simple Example:
Engine = new MersenneTwister(2059171) x = Engine.make_float(room_width) y = Engine.make_float(room_height)
This works very well surprisingly. I hope you to use it happily!
End User Licence Agreement (EULA).
Here we go