Page 1 of 1
[0.14.x][Twinsen] game.speed capped at 300 UPS when using v-sync
Posted: Wed Sep 21, 2016 8:20 pm
by AntiElitz
related thread:
viewtopic.php?f=28&t=33045
When Vsync is on there is a cap at 300 UPS, when off there is none. Very annoying for testing purposes and nobody knows why he is capped at 300 UPS.
Re: [0.14.x] game.speed capped at 300 UPS when using v-sync
Posted: Wed Sep 21, 2016 9:34 pm
by posila
It seems it is capped at 5 UPS per 1 FPS. I'll try to find out what is intention behind that.
Re: [0.14.x] game.speed capped at 300 UPS when using v-sync
Posted: Thu Sep 22, 2016 9:44 am
by kovarex
posila wrote:It seems it is capped at 5 UPS per 1 FPS. I'll try to find out what is intention behind that.
It is twinsens main loop magic.
Re: [0.14.x][Twinsen] game.speed capped at 300 UPS when using v-sync
Posted: Thu Sep 22, 2016 4:12 pm
by Twinsen
Fixed in Version: 0.14.9.
UPS will now be be capped at FPS * 5 * gamespeed.
Keep in mind that setting game speed to very high numbers(>100) is not recommended. But nonetheless let me know if it causes any problems.
Re: [0.14.x][Twinsen] game.speed capped at 300 UPS when using v-sync
Posted: Thu Sep 22, 2016 4:18 pm
by posila
Twinsen wrote:Keep in mind that setting game speed to very high numbers(>100) is not recommended. But nonetheless let me know if it causes any problems.
They use it to run map generation in maximum possible speed when searching for good starting area for speedruns