Scene Time and Game Time
JamJarRiot
Member Posts: 62
Ok, am I taking the wrong approach here because I can't see how Scene Time works. Displaying Game.Time from the attr browser shows the elapsed time of the entire game since it was initiated. But Scene Time seems to be exactly the same.
Say I have my initial Scene called START. This shows a title page and detects when the start button is pressed. After 5 seconds I press the start button, and my actual game level Scene is loaded. Displaying the Game.Time now would show roughly 6 seconds elapsed. But the Scene Time shows exactly the same, even though the current scene was started 5 seconds AFTER the global Time was initiated. My game level requires a trigger after 0.5 of a second but as it takes the entire running time of the game it's way beyond that.
Does that make sense to anyone ? Shouldn't a newly started Scene begin its own elapsed time from zero AS IT IS LOADED AND RUN?
Say I have my initial Scene called START. This shows a title page and detects when the start button is pressed. After 5 seconds I press the start button, and my actual game level Scene is loaded. Displaying the Game.Time now would show roughly 6 seconds elapsed. But the Scene Time shows exactly the same, even though the current scene was started 5 seconds AFTER the global Time was initiated. My game level requires a trigger after 0.5 of a second but as it takes the entire running time of the game it's way beyond that.
Does that make sense to anyone ? Shouldn't a newly started Scene begin its own elapsed time from zero AS IT IS LOADED AND RUN?
Comments
Can the elapsed time of the current scene be viewed ?