love.math.random not working on iOS in Love V 11.1
Posted: Tue Apr 17, 2018 6:52 pm
Hello all, I am working on a game with a background built from pixels with a random value for the grass color.
I use this code to get the pixel color values: pixels.g = love.math.random(125, 200)
On the PC build I get pic 1.
But whenever I put it on iOS I get pic 2.
I suspect the is some problem with the love.math.random not being cross-platform in the new version of love??
But I'm not sure at all.
Thank you for any help in advance!
I use this code to get the pixel color values: pixels.g = love.math.random(125, 200)
On the PC build I get pic 1.
But whenever I put it on iOS I get pic 2.
I suspect the is some problem with the love.math.random not being cross-platform in the new version of love??
But I'm not sure at all.
Thank you for any help in advance!