Roll On The Morning (Day/Night Cycle)


With any menial job there is a habit of looking at your watch to see how long the misery will last before a brief period of escapism and being thrown back at the helm and "Pump 3 Please!" is no different:

I wanted both a real indicator of the in-game time that could be checked with a digital watch on the players arm and also a subtle day and night cycle using the windows of the fueling station.

I used a simple co-routine to count the real seconds from the start of the shift to the end and a function that converts that to a in-game time that can be displayed on a digital watch (complete with day of week) that can be toggled on and off by the player, where (currently) 
1 hour = 45 seconds meaning a full 8hr shift (a round of game play) will be around ~6 minutes long.


I added a day and night cycle (technically its a 10 PM - 6 AM shift cycle) that gets darker as you start your shift at 10 pm, stays at its darkest until around 4:40 AM when the sun starts to come up and light comes rolling in through the windows 

* the cycle on the main customer window is turned off for now as it makes the silhouettes a little difficult to make out and in real-life this area would anyway be lit-up through the night

Leave a comment

Log in with itch.io to leave a comment.