05-30-2012, 08:02 AM
boriel Wrote:RND is used very often in games, and the memory footprint looks not very significantTrue! My current games "Earthraid" and "U-Boot Hunt" both use random numbers, but while "U-Boot Hunt" use few of them at initialisation of a new game and therefor it is not critical, "Earthraid" must calculate many randoms each round and for calculating the landscape for each new game. Should I wait for the version with fast randoms?Also, for compatibility's sake, we should consider RND returning Float (yes, should be a bit slower)

Most games (in fact all of them) need integers, so why not add a RANDOM(max) function for fast integer randoms calculation?
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!