Love locked to 60fps?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
ElNamano
Prole
Posts: 2
Joined: Sat Sep 05, 2015 4:26 pm

Love locked to 60fps?

Post by ElNamano »

I've tried measuring the FPS of games I've made in Love2D, but measuring in Fraps in Windows and GLXOSD it has always been pinned at 60fps. I know it's not a hardware thing, as I should be able to run them at hundreds of fps. There is nothing in the code to limit the frames to 16ms and I can manage to drop it to 52 with a lot of work. Is Love2D capped at 60fps? Is it because my monitor is set to 60?
User avatar
slime
Solid Snayke
Posts: 3131
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Love locked to 60fps?

Post by slime »

ElNamano wrote:Is it because my monitor is set to 60?
Yeah – and vsync is enabled by default in LÖVE, but you can disable it in [wiki]conf.lua[/wiki] or [wiki]love.window.setMode[/wiki].
ElNamano
Prole
Posts: 2
Joined: Sat Sep 05, 2015 4:26 pm

Re: Love locked to 60fps?

Post by ElNamano »

Thanks!
Post Reply

Who is online

Users browsing this forum: lenlenlL6 and 42 guests