Page 1 of 1

Decouple UPS / FPS

Posted: Sun Oct 20, 2019 2:59 pm
by ravenbs
Hello,

Unfortunately it sees that UPS and FPS is coupled.

Currently my Map take 1ms for the Graphic and 1ms for the Update.
So I can at max run the game with 500 FPS/UPS.

But 500 FPS does not make any sense - 60 would be more then enough.
Rendering echt 10th frame would allow 900 UPS and 60 FPS.

So my suggestion is to have a setting like "Max FPS" in graphic options and skip Frames if this is exceeded.
Would alow faster "Time warps" on very slow mods like seablocks.

Thank you for your time :)

Re: Decouple UPS / FPS

Posted: Mon Oct 21, 2019 2:08 pm
by valneq
Do you play with vsync (graphics settings) disabled?
Enabling vsync will limit the FPS to the FPS your monitor can handle.

I am not sure how this interacts with "time warps" (whatever that is) but it sounds like what you want.

Wait, but why do you want to have more updates than you can render?
Even if you start to manipulate the game speed, you still want to update as quickly as you can render, not more.
What good is a computed update if you don't have the time to render it anyways?

Re: Decouple UPS / FPS

Posted: Mon Oct 21, 2019 2:14 pm
by Klonan
You can turn on vsync, to limit your max frames to your refresh rate

Re: Decouple UPS / FPS

Posted: Mon Oct 21, 2019 2:39 pm
by mrvn
valneq wrote: Mon Oct 21, 2019 2:08 pm Do you play with vsync (graphics settings) disabled?
Enabling vsync will limit the FPS to the FPS your monitor can handle.

I am not sure how this interacts with "time warps" (whatever that is) but it sounds like what you want.

Wait, but why do you want to have more updates than you can render?
Even if you start to manipulate the game speed, you still want to update as quickly as you can render, not more.
What good is a computed update if you don't have the time to render it anyways?
Because it takes 30 minutes to produce enough landfill to continue to expand in seablock and you want to cut that down to 3 minutes by running 10x speed. No need to show every frame while you wait.

Re: Decouple UPS / FPS

Posted: Sat Oct 26, 2019 3:24 pm
by ssilk
„Because it takes 30 minutes to produce enough landfill to continue to expand“

So you are telling us to want more speed, because you didn’t automate...

<Shaking head>
And what if you built 20 assemblies for landfill (and stone etc.) in that time?

Re: Decouple UPS / FPS

Posted: Mon Oct 28, 2019 11:21 am
by mrvn
ssilk wrote: Sat Oct 26, 2019 3:24 pm „Because it takes 30 minutes to produce enough landfill to continue to expand“

So you are telling us to want more speed, because you didn’t automate...

<Shaking head>
And what if you built 20 assemblies for landfill (and stone etc.) in that time?
You can't place them in water. You have to landfill first. And then you need electrolizer to get slag as byproduct from splitting water, Crush that for crushed stone and then make landfill from that. All of that needs power which you also can't build in water. Seablock is a bit of a slow start.

Re: Decouple UPS / FPS

Posted: Wed Oct 30, 2019 8:49 pm
by valneq
ravenbs wrote: Sun Oct 20, 2019 2:59 pm But 500 FPS does not make any sense - 60 would be more then enough.
Klonan wrote: Mon Oct 21, 2019 2:14 pm You can turn on vsync, to limit your max frames to your refresh rate
Have you tried Klonan's suggestion? Does it solve your problem?

Re: Decouple UPS / FPS

Posted: Tue Nov 05, 2019 1:25 pm
by ravenbs
It is like mrvn say.

I want to speed things up for Seablocks or Spaceblocks.
Because sometimes you cant do anything except waiting for hours.

There is just no space to build on - until you have landfill.
And therefore speeding up the game by x10 oder x20 ist really helpful.


Also in the endgame.
Rendering each 10th Frame would be more than sufficent if the game runs over night with deactivated monitor, to farm stuff ;).

Re: Decouple UPS / FPS

Posted: Tue Nov 05, 2019 4:04 pm
by valneq
@ravenbs: I am not sure we understand each other. Let me recap. Your suggestion is the following:
ravenbs wrote: Sun Oct 20, 2019 2:59 pm So my suggestion is to have a setting like "Max FPS" in graphic options and skip Frames if this is exceeded.
This setting exists, it is called "vsync". It is a very general technology that is used throughout the graphics stack. It sets the maximally rendered FPS to the refresh rate of your monitor. If the monitor gets its signal from the graphics card at 60 frames per second, then this is your maximum FPS. IF you run your refresh rate of the monitor faster or lower, it adjusts accordingly. This is why Klonan suggested:
Klonan wrote: Mon Oct 21, 2019 2:14 pm You can turn on vsync, to limit your max frames to your refresh rate
You have not yet answered the following question:
mrvn wrote: Mon Oct 28, 2019 11:21 am Have you tried Klonan's suggestion? Does it solve your problem?

Re: Decouple UPS / FPS

Posted: Wed Nov 06, 2019 8:28 pm
by Lubricus
The FPS can already be lower that the UPS.
The FPS can on the other hand not be higher than the UPS because the game has no changes to render in-between the UPS ticks.

Re: Decouple UPS / FPS

Posted: Sun Nov 10, 2019 9:52 am
by Bazhosh1
Where is the problem? Works exactly like you want it to.
Gamespeed 1000x:

20191110104640_1.jpg
20191110104640_1.jpg (690.66 KiB) Viewed 2966 times

Re: Decouple UPS / FPS

Posted: Tue Nov 12, 2019 12:00 pm
by ravenbs
You are right - VSync did the trick.
Thanks