Author Topic: Random() generates the same random number every time?  (Read 1391 times)

carlos.yalluh@gmail.com

  • Guest
Random() generates the same random number every time?
« on: January 06, 2014, 04:38:58 am »
Why? Isn't random supposed to be ... well, Random?

It's random just one time, pretty much. every time I launch the game, same old "random" numbers

CptGreenwood

  • Guest
Re: Random() generates the same random number every time?
« Reply #1 on: January 06, 2014, 05:23:26 am »
Use the Randomize() function once when your program starts. Now you'll get fresh random numbers on each run.

carlos.yalluh@gmail.com

  • Guest
Re: Random() generates the same random number every time?
« Reply #2 on: January 15, 2014, 03:46:49 am »
Thanks!  :)