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

Short intro of us πŸ’•βœŒοΈ

We're an eletro duo based in Seoul πŸ‡°πŸ‡· Heavily influenced by the 90s.

Our new album #Xennials is all about the nostalgia of that era πŸ’½ CD listenin πŸ“Ÿ beeper beepin πŸ’Ύ floppy disks floppin days 😎

Stream now! 🎧

https://open.spotify.com/album/3YwWhnHWVy5cA8XOpbaGRA?si=8E9awqU…

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

Bandana Dee the Dream Friend

Heya there! I really wanted to show you all a little gameplay preview of the first boss fight i'm currently working on i hope you like it ^^

Runestones: from concept to in-game modelπŸ—Ώ

Sometimes the suction cup get sticky. Small animation I made in Blender after doing my tutorial on picking up/dropping objects in animations. Crate model by jQueary (https://sketchfab.com/3d-models/game-ready-sci-fi-crate-d98deca6…).

Hi everyone! I started to create some environment props for my new video game, here is a cozy house in the forest. I'm planning to switch from Unity to Unreal... Let's see what new challenges I have to face. Made in Blender and Substance Painter.

Rockin the Guitar, an Axe like Guitar I made for my Uni project

Regional Bulbasaur. #Pokemon

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! :)