Opened 18 years ago

Closed 14 years ago

Last modified 12 years ago

#8 closed task (fixed)

Simulation - Time Elapsed

Reported by: Stuart Walpole Owned by:
Priority: Should Have Milestone: Alpha 1
Component: Core engine Keywords:
Cc: Patch:

Description

  • 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)

comment:1 by Philip Taylor, 14 years ago

Resolution: fixed
Status: newclosed

We've got a simulation timer now (see Timer.js GetTime).

comment:2 by (none), 13 years ago

Milestone: Environment Demo

Milestone Environment Demo deleted

comment:3 by historic_bruno, 12 years ago

Milestone: Alpha 1
Note: See TracTickets for help on using tickets.