Game
"Pump 3 Please!"
7 years ago

Roll On The Morning (Day/Night Cycle)


5d098c8478bb2.gif

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.

5d098c851edbd.gif

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



0 comments

Loading...

Next up

Just as Pecaminosa's musicians #improvise this rendition of #LittleSunflower 🌻, so do we improvise with this post you're reading. 😂

What's coming out of your own improvs? 🤔

#Pecaminosa | #IndieDev | #OST | #Jazz

Smile! Here, take some happy pills! ✨💊 #Blender #3DModelling #3DArt Buy me a Ko-fi: https://ko-fi.com/barbarafb_

Another house i made long time ago.

What do you think guys in my robot?Just a beginner in 3d modeling..

My instagram https://www.instagram.com/rojhonbb/

Just a Pico sprite

I worked so hard to get all four of them to the end safely, but then...

Very ambitious construction going on in Planet Zoo on Plays today. We're tryin'. LIVE: www.twitch.tv/dreamhackplays

I mostly build 3D First Person Shooter game mechanics in Unity, and in this I'm just showing C4 mechanics I made for a little side project I am working on! :)

Explosive domino effect

Only true badasses may pass! #conceptart #art #gamedesign