Part 4
Game Mechanics! or at least the start of them.
Game, this was a game, I cannot forget. So much of my design is art centric, game second. So visually were well polished at this point, but we need to address the "what to do" of it all.
So little time!
The heart of this game is Timers!
oh there it is, that was easy. were gonna be converting a number of seconds into a minutes/seconds format.
Next, I need to be able to create the timers as discrete objects that can have their own internal timers. this will be the backbone of the delivery system.
ive also done a thing so the top half and the bottom half of the numbers change with a delay. just a little visual distinction .
Sweet, I hate it. In a good way though. I just hate what the timers stand for.
Lets move the Heavens.
Now for some sky. I wanted to figure out a way to make the sky shift from day to night. I thought lerping the numbers in the array that makes the gradient might work, but it didnt, too much too keep track of. Instead I went with lerping the gradients y position and render double the screens length.
here's that
i added some stars to the night end with Srand used to make it the same stars every time. tossing around the idea of there being a sequence where you look up at the stars and see the constellations of this local system.
we will get to putting that into the game later.
Its time for Power! and the limitations on it.
I have to put the player to sleep when they run out of power. or to charge up. not 100% on the exact implementations of powering down. but for now, you wake up charged, you lose battery when you are awake, more when you sprint,then when you run out it forces you to shut down.
for now its on a timer but here is powering up and down.
its just a simple 3 frame animation, but i think its really cute and adds a lot of character.
lastly I just need a placeholder visual representation of the battery left. and to add the Lerpy sky.
so bango there it is and the day ended. long day coding, feels like a lot of features out of the way.
tune in for more soon,
-Alice-<3