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

Today I was setting up the location of the first boss. His name is "Father" and he is the first of the Patagonians. His task is to guard the road to the House.🛡🗡 Bookmark pre-launch page🔖🔖🔖

https://www.kickstarter.com/projects/rdvindiegame/the-patagonian…

The Darkside Detective: A Fumble in the Dark is out TODAY! 🖱️Advanced pointing, clicking action 🖨️Very funny words! Loads of them! 👻6 sarcastic, spectral cases to solve

Auto-chess meets Clash Royale in an intense strategic battle. Outsmart your opponent, hide your play and crush their armies! Empire Builder just got another major update, check it out! https://gamejolt.com/games/EmpireBuilder/558901

Some Shadow boss fight gameplay 👾

Out of boredom and curiosity, I coded Sailor Jupiter's Argentine Backbreaker.

It's now possible to destroy some of the obstacles and gain access to new locations or create shortcuts. #gamedev #indiegame #rpg

THANK YOU FOR 400 FOLLOWERS!!!

Here is a drawing a I made FOR ALL OF YOU

LOVE YOU GUYS❤

Added an exit portal to the maze SRP project. It has a simple effect using scrolling UV's and particles.