Search found 3 matches

by fuxoft
Tue Jan 08, 2013 11:16 pm
Forum: General
Topic: Why is there sleep(0.001) in default love.run()?
Replies: 2
Views: 1529

Why is there sleep(0.001) in default love.run()?

Why is there the following line in the default love.run() function?

Code: Select all

if love.timer then love.timer.sleep(0.001) end
Is it just a failsafe to prevent the 100% CPU load when someone pumps new frames without vsync, as fast as possible? Or does it have more complex purpose?
by fuxoft
Tue Jan 08, 2013 8:22 am
Forum: General
Topic: What Lua libraries are included in Love 0.8.0?
Replies: 4
Views: 3099

Re: What Lua libraries are included in Love 0.8.0?

Thanks! I saw string.find() used in a way where string.match would be better and I thought it's some kind of weird synonym. I totally forgor about Lua's string.find, sorry. Is there a thread where the future of LOVE is discussed, e.g. what feature can be expected from the next version? For example, ...
by fuxoft
Tue Jan 08, 2013 2:02 am
Forum: General
Topic: What Lua libraries are included in Love 0.8.0?
Replies: 4
Views: 3099

What Lua libraries are included in Love 0.8.0?

Hello, I have probably the opposite problem than most of people here. I already know Lua very well, I've been using it for many years, but I don't know almost anything about LOVE. I've been reading the Wiki and understand most of the LOVE libraries but I cannot find some of the most basic things. Fo...