when i play a .love game, some times the FPS is low, sometimes the FPS is too high,
if the FPS is above 400,then the mouse flicker
what is the problem?
FPS is too high,and the mouse flicker?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: FPS is too high,and the mouse flicker?
This might be because those games don't call love.timer.sleep(), and they don't give the CPU any rest. I'm not sure though.
Help us help you: attach a .love.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: FPS is too high,and the mouse flicker?
And you might want to make sure vsync is on, vsync is underrated.
Re: FPS is too high,and the mouse flicker?
let me have a try, thanksbartbes wrote:And you might want to make sure vsync is on, vsync is underrated.
Re: FPS is too high,and the mouse flicker?
let me have a try, thanksRobin wrote:This might be because those games don't call love.timer.sleep(), and they don't give the CPU any rest. I'm not sure though.
- TechnoCat
- Inner party member
- Posts: 1611
- Joined: Thu Jul 30, 2009 12:31 am
- Location: Milwaukee, WI
- Contact:
Re: FPS is too high,and the mouse flicker?
I was getting my mouse to flicker running someone else's code just now. They were calling toggleFullscreen() every frame.
Re: FPS is too high,and the mouse flicker?
TechnoCat wrote:They were calling toggleFullscreen() every frame.
Who is online
Users browsing this forum: Amazon [Bot], Bing [Bot] and 13 guests