Search found 12 matches

by invisisci
Sun Feb 01, 2009 10:03 pm
Forum: General
Topic: good seeding for math.random
Replies: 21
Views: 13362

Re: good seeding for math.random

This works 100% for me:

Code: Select all

function load()
  math.randomseed(os.time())
end

function update(dt) 
  local x = math.random(0, 500) --x will be a random integer 0-500 each run
end
by invisisci
Sun Feb 01, 2009 9:53 pm
Forum: General
Topic: How Did You Find (true) LÖVE?
Replies: 55
Views: 57493

Re: How Did You Find (true) LÖVE?

I saw it on waxy.org/links, and on the same day a co-worker recommended it as a "dream" for prototyping. So here I am =]