.. in 0.6.0?
I'm asking, because you took the hint out of the manual.
Is 10 ms sleep in function upgrade() still needed..
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Is 10 ms sleep in function upgrade() still needed..
The default love.run does a 1 ms sleep now. HOWEVER, I just tried this with a test, it might be that vsync is now functioning correctly.
Really, if you can get away with sleeping you might as well still add it.
Really, if you can get away with sleeping you might as well still add it.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Is 10 ms sleep in function upgrade() still needed..
Sleeping every update still seems a nice thing to do, especially for smaller games that players may want to run aside other programs.
Help us help you: attach a .love.
Re: Is 10 ms sleep in function upgrade() still needed..
Thanks, this might be helpful since i plan to not use sound in game, but to write something like "no sound, try your favorite web radio instead" on the start screen.
And i believe i heard that vsync only works with opengl, what (in combination with sdl) only would work fullscreen. So that's no problem.
And i believe i heard that vsync only works with opengl, what (in combination with sdl) only would work fullscreen. So that's no problem.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 194 guests