Friday Facts #82 - Optimisations
Posted: Fri Apr 17, 2015 9:05 pm
Did you ever wonder what optimisations are we working on? No? I will tell you anyway https://www.factorio.com/blog/post/fff-82
Does this mean things like movement will be rendered client-side instantly before actually being simulated? Thus making playing with 200ms ping not feel so delayed?Tomas is working on the lag hiding and it seems to have nice results, you can expect detailed description of it in the next fff.
Going to steam has always been the plan afaik. It just means anyone that already owns the game will get a steam code for it, and steam users can buy the code there. If you don't want to use the steam code that's your choice, the installer will still be available on their site.Yaua wrote:1) When you talk about "Steam integration", what kind of things will this be ? I assume it won't affect in any way people who don't use steam at all ?
Oh, I understood it was about "Steam integration" inside the game XD So sorry for the unrelevant questionFishSandwich wrote:Going to steam has always been the plan afaik. It just means anyone that already owns the game will get a steam code for it, and steam users can buy the code there. If you don't want to use the steam code that's your choice, the installer will still be available on their site.Yaua wrote:1) When you talk about "Steam integration", what kind of things will this be ? I assume it won't affect in any way people who don't use steam at all ?
Exactly. Most of the time, your actions don't conflict with others so they will match with the simulation so you don't feel delayed.vegeta897 wrote:Does this mean things like movement will be rendered client-side instantly before actually being simulated? Thus making playing with 200ms ping not feel so delayed?Tomas is working on the lag hiding and it seems to have nice results, you can expect detailed description of it in the next fff.
It basically means getting to steam. We will always keep the independence, so you can download the client without steam if you want.Yaua wrote: Now, I have some small questions :
1) When you talk about "Steam integration", what kind of things will this be ? I assume it won't affect in any way people who don't use steam at all ?
When the simulation of the factory and one tick took 10ms, it will be 8ms after the optimisations took place.Yaua wrote: 2) About optimization, I don't understand the "time reduction" thing : "The overall optimization of this change was roughly 20% time reduction on the testing factory.". Can I have a very short explanation ?
That's awesome news! I really did not have any hope that this would be addressed, since most RTS-style games do not bother (age of empires, rise of nations... and those are big budget titles and the problem persists in the HD remasters!)kovarex wrote:actions don't conflict with others so they will match with the simulation so you don't feel delayed.
Games are simulated in a series of "steps", usually dozens per second. In each step (or "update") the necessary calculations are run to advance time in the game. The more calculations that need to be done, the longer it takes to simulate each step, thus reducing performance and making your game choppy. Their optimization caused the time it takes to run a single step of the simulation to reduce by 20%. That means the game can simulate 25% more steps every second.Yaua wrote: 2) About optimization, I don't understand the "time reduction" thing : "The overall optimization of this change was roughly 20% time reduction on the testing factory.". Can I have a very short explanation ?
That is right, but just small correction: When the time is reduced to 80%, you can actually run 25% more steps every second (When the time is reduced by 50%, you have 200% more steps).vegeta897 wrote:Games are simulated in a series of "steps", usually dozens per second. In each step (or "update") the necessary calculations are run to advance time in the game. The more calculations that need to be done, the longer it takes to simulate each step, thus reducing performance and making your game choppy. Their optimization caused the time it takes to run a single step of the simulation to reduce by 20%. That means the game can simulate 20% more steps every second.Yaua wrote: 2) About optimization, I don't understand the "time reduction" thing : "The overall optimization of this change was roughly 20% time reduction on the testing factory.". Can I have a very short explanation ?
Haha, just noticed that myself and fixed it, then saw your postkovarex wrote: That is right, but just small correction: When the time is reduced to 80%, you can actually run 25% more steps every second (When the time is reduced by 50%, you have 200% more steps).
Ok ! I fully understand now Thank you for the explanation !vegeta897 wrote:Games are simulated in a series of "steps", usually dozens per second. In each step (or "update") the necessary calculations are run to advance time in the game. The more calculations that need to be done, the longer it takes to simulate each step, thus reducing performance and making your game choppy. Their optimization caused the time it takes to run a single step of the simulation to reduce by 20%. That means the game can simulate 25% more steps every second.Yaua wrote: 2) About optimization, I don't understand the "time reduction" thing : "The overall optimization of this change was roughly 20% time reduction on the testing factory.". Can I have a very short explanation ?
It's great to have the choice of not using steam, thanks a lot for this.kovarex wrote:It basically means getting to steam. We will always keep the independence, so you can download the client without steam if you want.Yaua wrote: Now, I have some small questions :
1) When you talk about "Steam integration", what kind of things will this be ? I assume it won't affect in any way people who don't use steam at all ?When the simulation of the factory and one tick took 10ms, it will be 8ms after the optimisations took place.Yaua wrote: 2) About optimization, I don't understand the "time reduction" thing : "The overall optimization of this change was roughly 20% time reduction on the testing factory.". Can I have a very short explanation ?
Yesss!,Shaymes wrote:we still need a color select in options to chance player color for silngle/multiplayer
Yes! Maybe a glass window in the side that fills with the liquid level.Artman40 wrote:Would it be possible for storage tanks to be at least partly transparent so you could see how filled they are without hovering a mouse over them?