After use math.random() lua function, i take notice that result are repetitive or not cause a real random output. Consecutive randoms functions generate the same number 3 or 4 times, and that type of output is not possible. I use randomseed( os.timer() ), but the problem persist. This problem It's noticeable on iOS version. Maybe some of the problem could be due of os.timer() function returning seconds and calculations are so fast.
Is there any way to get a real random output?
Comments
https://play.google.com/store/apps/developer?id=My+name+is+Originality
Likes: fxone
#MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill
Likes: fxone
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive