Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Number sequences produced by math.randomseed(seed) are platform dependent.. any solutions? — Gideros Forum

Number sequences produced by math.randomseed(seed) are platform dependent.. any solutions?

amaximovamaximov Member
edited March 2014 in General questions
So I am making a game in which I use math.randomseed() to generate levels randomly, but that are the same through each play. This saves me the time of creating levels by hand as long as my level generation algorithm works fine, which it does. However, my levels generate completely differently on Android and the Windows simulator using the same seed.

I Googled the issue and found this on the Beer SDK forums:

http://forums.coronalabs.com/topic/33117-android-mathrandomseed-results-different-from-ios-and-simulator/

Does anyone know a similar workaround for Gideros?

Comments

Sign In or Register to comment.