Ticket #8 (closed task: fixed)

Opened 7 years ago

Last modified 13 months ago

Simulation - Time Elapsed

Reported by: stuart Owned by:
Priority: Should Have Milestone: Alpha 1
Component: Core engine Keywords:
Cc:

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

comment:1 Changed 3 years ago by Philip

  • Status changed from new to closed
  • Resolution set to fixed

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

comment:2 Changed 3 years ago by anonymous

  • Milestone Environment Demo deleted

Milestone Environment Demo deleted

comment:3 Changed 13 months ago by historic_bruno

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