Search found 5 matches

by sclark39
Sun Dec 22, 2013 5:16 pm
Forum: Support and Development
Topic: Game runs too fast on a laptop?
Replies: 5
Views: 2837

Re: Game runs too fast on a laptop?

Yeah, I believe that's what was happening. It was running way too fast and needed an FPS limiter on it.
by sclark39
Sun Dec 22, 2013 5:36 am
Forum: General
Topic: Controlling FPS within the Love2D framework
Replies: 8
Views: 12887

Re: Controlling FPS within the Love2D framework

There's actually a better way to do this defined in http://love2d.org/wiki/love.timer.sleep Copying here in case the wiki changes: function love.load() min_dt = 1/30 next_time = love.timer.getMicroTime() end function love.update(dt) next_time = next_time + min_dt --rest of function here end function...
by sclark39
Sun Dec 22, 2013 5:04 am
Forum: Support and Development
Topic: Game runs too fast on a laptop?
Replies: 5
Views: 2837

Re: Game runs too fast on a laptop?

Oh, I also remember reading something about vsync. Is vsync on by default for Love? Maybe the laptop GPU doesn't have vsync, so it's reporting a higher framerate even though the actual logic loop is taking more time than on a desktop (since the draw part is probably taking basically 0 time).
by sclark39
Sun Dec 22, 2013 4:50 am
Forum: Support and Development
Topic: Game runs too fast on a laptop?
Replies: 5
Views: 2837

Game runs too fast on a laptop?

Something very strange is going on with my Love2d entry. On my beast gaming machine at home, it runs at about 60 and feels good. On this laptop, it's reporting an FPS of 300 or so, like it's not taking any time at all to draw or something. It's drawing many more frames than are being simulated. It s...
by sclark39
Wed Jan 02, 2013 4:41 pm
Forum: Support and Development
Topic: Wrapper instead of porting Love2D
Replies: 23
Views: 15780

Re: Wrapper instead of porting Love2D

I've been exploring how to port a love project to MOAI and found this project to be pretty useful, despite the small subset of love that it supports. There were a bunch of issues with the implementation as it was, so I forked the project and made some changes. Now you can run the love project in lov...