Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17560

Reset elapsed time when changing scene or game state?

$
0
0

Hi!
When you change scene or game state in game your elapsed time is then big because of all the stuff happening to change and also all the loading needed for this new scene or game state.
That can give a big jump in anything related to the elapsed time like physics or animation.
Is it common to reset the elapsed time when scene or gamestate is changed?
Is it better to not touch it and keep the value it will give?
Any comment about this thing?
Thanks a lot!


Viewing all articles
Browse latest Browse all 17560

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>