Simulation - Time Elapsed
- hh:mm:ss clock variable from engine showing time elapsed since the session started (perhaps best handled as an event, so it's updated in real-time?). I'd suggest a separate variable for each component (eg elapsedHours, elapsedMinutes, elapsedSeconds).
- This can then be used to control various time-based occurrences in the game ... Such as moving to the next season or stage in the day/night cycle by comparing it to a duration set in session creation.
- Or maybe implement it using a ProgressTimer? set to update each game second? (Would still have to calculate the difference on the fly.)
Change History
(3)
Resolution: |
→ fixed
|
Status: |
new → closed
|
Milestone: |
Environment Demo
|
We've got a simulation timer now (see
Timer.js
GetTime
).