Closed Pandaqi closed 5 years ago
It might be prettier if we make the change GRADUALLY.
Also, it would be nice to give things a "glowing" effect: the radius of the light, emitted by lighthouses, is constantly changing.
Then, we can implement the "lights out" feature.
During the whole night, each captain has a button to go lights out. (If he/she is already out, the button is of course used to go lights ON.)
If the captain chooses to turn off the lights, most equipment is turned off (as the crew can't see anything), but the ship itself becomes invisible to others.
When the lights are turned back on, all equipment is turned on, and the ship is visible again. The lights are automatically turned on when the night ends.
On the server, add two variables: turnCount and dayTime
Then, on the monitor, we just change the visuals (turn night overlay on).