Actually yes. A Löve RNG is part of the positioning. Did love.random stuff change instead? That might be the problem. So RNG seeds are going to be different between versions? Either way, it's still going to change things between versions. Is there no way they could have kept the seed generator between 0.9.1 and 0.9.2?
Basically this code will generate a different value?
Code: Select all
local rng = love.math.newRandomGenerator(seed)
local scaling = 0.7
local scale = 2 ^ (scaling * 5)
local xoffset = rng:random(100000)
local yoffset = rng:random(10000)
local n = love.math.noise((xoffset) / scale, (yoffset) / scale)
print(n)
In 0.9.1 I get > 0.038758784532547
In 0.9.2 I get > 0.93525159358978
If I remove the RNG part and generate noise from a set position instead:
0.9.1 > 0.7114549279213
0.9.2 > 0.7114549279213
So I guess RNG was changed. Not Noise. Sorry to keep this off-topic.
Does this mean that saving the state of a seed generated in 0.9.1 will load it wrong in 0.9.2?