[SDL] Randomness issues in OSX
Ryan C. Gordon
icculus at clutteredmind.org
Thu Sep 11 20:15:01 PDT 2003
> I realize this probably isn't an SDL issue, per se (though I am doing a
> "srand(SDL_GetTicks());"), but I just tried the Mac OS X port of my game
> "Gem Drop X" [ http://www.newbreedsoftware.com/gemdropx/ ],
> and discovered that the game is UNPLAYABLY bad. Not random at all! :^(
>
> Anyone know if there's some trick to random seeding/generation on OSX?
Have you tried srand(time(NULL)), just for kicks?
--ryan.
More information about the SDL
mailing list