Search found 248 matches

by arampl
Thu Oct 30, 2014 4:13 am
Forum: General
Topic: How to make a game with LOVE?
Replies: 17
Views: 10471

Re: How to make a game with LOVE?

kikito wrote:
Karai17 wrote:Tables can also have functions and tables as keys. But don't do that.
Yet.
+1.
I'm using functions as keys in reverse tables (see PiL for reference) to save functions' bindings to GUI controls in text files.
by arampl
Wed Oct 22, 2014 6:28 pm
Forum: Support and Development
Topic: Capped frame limit for no reason *sigh*
Replies: 44
Views: 24991

Re: Capped frame limit for no reason *sigh*

Try love.timer.setObey(true). Rumors has it that this always helps ;)
by arampl
Tue Oct 21, 2014 5:51 am
Forum: Support and Development
Topic: Capped frame limit for no reason *sigh*
Replies: 44
Views: 24991

Re: Capped frame limit for no reason *sigh*

In my current project I have heavy loaded background process which is executed as coroutine. Coroutine resumed in love.update().
I'm not against drawing at 60 FPS, but I need updating as fast as possible (or at higher frame rate, 125 for example :) ). Sleeping prevents this.
by arampl
Tue Oct 21, 2014 5:38 am
Forum: Support and Development
Topic: Capped frame limit for no reason *sigh*
Replies: 44
Views: 24991

Re: Capped frame limit for no reason *sigh*

This is true for Windows 7 on my machine as well - 100 FPS
by arampl
Tue Oct 21, 2014 5:19 am
Forum: Support and Development
Topic: Capped frame limit for no reason *sigh*
Replies: 44
Views: 24991

Re: Capped frame limit for no reason *sigh*

caldur, zorg may be you right guys, but why it behaves differently on different platforms? On Windows it gives no more than 100 FPS, on Linux - 125 FPS.
by arampl
Mon Oct 20, 2014 9:03 pm
Forum: Support and Development
Topic: Capped frame limit for no reason *sigh*
Replies: 44
Views: 24991

Re: Capped frame limit for no reason *sigh*

Well, I copied standard function love.run() from Wiki page and commented out line "if love.timer then love.timer.sleep(0.001) end" at the end.
And now it shows 125 FPS (Windows 7 64-bit and Xubuntu 13.10 64-bit)

Though I don't understand what is the purpose of this line...
by arampl
Mon Oct 20, 2014 3:41 pm
Forum: Support and Development
Topic: Capped frame limit for no reason *sigh*
Replies: 44
Views: 24991

Re: Capped frame limit for no reason *sigh*

@pacman: in main.lua I see code: "love.timer.sleep(next_time - cur_time)", line #186
It is the reason of frame limiting. It has nothing to do with v-sync.
by arampl
Mon Oct 20, 2014 3:35 pm
Forum: General
Topic: LOVE users map
Replies: 182
Views: 118446

Re: LOVE users map

Hi all!
In this first post I just like to say "Nice engine! Keep it up!"
Best wishes from Saratov, Russia.