Controlled SlowDowns

Controlled SlowDowns

Requests for features in the spring code.

Moderator: Moderators

Post Reply
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10454
Joined: 24 Jan 2006, 21:12

Controlled SlowDowns

Post by PicassoCT »

<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.
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Re: Controlled SlowDowns

Post by Kloot »

speed was at around 20.0
Is this I.R. Baboon style coding?

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.
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Controlled SlowDowns

Post by zerver »

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.
This is exactly what Spring MT does, or is supposed to do. Try it!

If you are having a severe freeze (a second or more), maybe some bug that should be reported. Provide a demo in this case.
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10454
Joined: 24 Jan 2006, 21:12

Re: Controlled SlowDowns

Post by PicassoCT »

zerver wrote:
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.
This is exactly what Spring MT does, or is supposed to do. Try it!

If you are having a severe freeze (a second or more), maybe some bug that should be reported. Provide a demo in this case.
Did try- fruits-of-work-salad below:
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..
Post Reply

Return to “Feature Requests”