Reply To: os.time() in milliseconds?

Home Forums General Programming os.time() in milliseconds? Reply To: os.time() in milliseconds?

#72231
Possemo
Participant
    • Topics: 14
    • Replies: 638
    • Total: 652
    • ★★★

    some time ago I found an even better one. There is a hirescounter available (RTFM = look in the f*cking demos made by atom):

    math.randomseed(os.clock()*Time.getMillisecondCounterHiRes())

    for some reason a bigger number will do better, that’s why I multiply with os.clock()

    Ctrlr