//somewhere in the init
orxMath_InitRandom((orxS32)orxSystem_GetRealTime());//a good seeding value//elsewhere, a random number between 1 and 100
orxFLOAT randomNumber = orxMath_GetRandomFloat(1,100);
en/examples/maths/generating_random_numbers.1518583664.txt.gz · Last modified: 2025/09/30 17:26 (12 days ago) (external edit)