Hi,
My game relies on selecting random images from an images array (with 100 images).
Every time I run the game I get the same sequence of 'random images'. I am using math.random(1,100) to select the image from the image array:
images[math.random(1,100)]
I need a random sequence each time the game plays. How can I be sure of this?
I know there's strictly no such thing as a 'random' number in Computer Science, but the fact the math.random generates the exact same sequence each time I find quite surprising.
Is my answer to use math.randomseed() or some combination thereof?
Please can someone share their experiences?
Thank you,
Paul