Xanadu16 / City3

TS (TorqueScript) City³
0 stars 3 forks source link

Time #12

Open Xanadu16 opened 11 years ago

Xanadu16 commented 11 years ago

Time is supposed to pass according like real life, 24 hour scale, according to the host's time zone. The idea here is that in someone's city, its always nighttime, and in someone else's city, its always day.

There would be ifDay and ifNight events that coorespond to AM and PM.

Xanadu16 commented 11 years ago

The day/night cycle would be synchronized to a 24-hour scale, passing very slowly. This is set in the prefs of the city and is set upon first creating the city. Every hour, recheck the time and fix itself just in case. The idea is that if its dark outside where the server PC is, its dark in the city, so to speak. This isnt always the case, its just cities with diverse time zones makes it feel like a large cohesive experience.

Event(s): onHour - every time an instance of 8:00, 9:00, etc. onDay - every time a full day comes around.