<anwardMomentDisclaimer>
Disclaimer here to avoid negative feelings. I know i demand quite some stuff from the engine, especially the terraforming. I was warned. I still did it and now suffer the consequences. Still the request seems reasonable.
</anwardMomentDisclaimer>
I have slowdowns, traditionally one could call them freezzes, during the terraforming. Thats okay, you know, i happily pay the prize. The problem is, it wouldnt have to be a complete freeze over. While the engine calcs, the players could still look around, watch the world going through some slow-motion-like high-cup. In fact, i produced such effects, during the tests (speed was at around 20.0) camera moved fluildly the world stayed in slowmo.
Problem.. its not always that way. Attempts to reproduce the effect on my laptop with speed up speed down phailed. As it is something that has to work independt from lua..(the lua state maschine is busy).. issuing orders meanwhile would be nice... but even that i could do without.
http://www.youtube.com/watch?v=9UNWzB4iZ4I
Heres a example. thanks. If there is a workaround, or sollution in lua ( the point of workload is deterministic) i would be glad. Distributing didnt solve the problem either.
Controlled SlowDowns
Moderator: Moderators
Re: Controlled SlowDowns
Is this I.R. Baboon style coding?speed was at around 20.0
If you must have this slowmo-effect, try setting the simulation speed to 0.2 just before doing heavy calculations instead so you have more time to spend per frame, not less...
Also, coroutines.
Re: Controlled SlowDowns
This is exactly what Spring MT does, or is supposed to do. Try it!PicassoCT wrote:The problem is, it wouldnt have to be a complete freeze over. While the engine calcs, the players could still look around, watch the world going through some slow-motion-like high-cup.
If you are having a severe freeze (a second or more), maybe some bug that should be reported. Provide a demo in this case.
Re: Controlled SlowDowns
Did try- fruits-of-work-salad below:zerver wrote:This is exactly what Spring MT does, or is supposed to do. Try it!PicassoCT wrote:The problem is, it wouldnt have to be a complete freeze over. While the engine calcs, the players could still look around, watch the world going through some slow-motion-like high-cup.
If you are having a severe freeze (a second or more), maybe some bug that should be reported. Provide a demo in this case.
http://springrts.com/mantis/view.php?id=3274
I luv you too Kloot-ilde!
Seriously.. if i set it to 0.2 i have a full blown freeze of the screen for about 5 seconds. If i set it to 20 speed, i can test my terraformscript in geological timescales and have said slowmo effect + cameraeffect..