love.math.setRandomSeed

Available since LÖVE 0.9.0
This function is not supported in earlier versions.

Seeds the random number generator with a specified number.

Function

Synopsis

love.math.randomseed( seed )

Arguments

number seed
The number with which you want to seed the randomization.

Returns

Nothing.

See Also

Other Languages