Week 4: Development


Hello again! This is the final development devlog!

This week was mainly focused on polishing already created features and already existing assets!

Our schedule has:

  • Highscore
  • highscore vs score on gameover screen
  • menu cleanup and settings
  • sounds

but since I have already gone into most of this already in the previous devlog, I will just focus on sounds and things that I changed for the final build!

Sounds

All of the sounds we yoinked were from https://www.zapsplat.com/. This is a super useful site for sounds even if they're generic and not very diverse. It's free though :)


For implementation, We just created a separate "SFX Manager" empty and assigned everything to it. All the sounds were hooked up to play at varying volumes because they were loud and audacity is too much effort. This worked just fine.

Here is the code (sorry that these r so small, try opening them in a different tab if you're actually interested!)

Changes

The only real few MAJOR changes near the end were to the controls and to the art. The changes mainly boil down to stopping accidental repeat ingredients and allowing PC players to use different buttons than the alternative controller counterpart. (PC uses 1,2 and 3 for the heating and the alternative controller uses F, G, and the Up arrow for heating)

The biggest change was the complete gutting of the key-reading system. Now instead of that whenever a key is hit it is added to a list of inputs and then THAT is compared to the order's code. This prevents random keyboard presses from ruining the game and also stops the alternate controller from freaking out and doing multiple of the same button at once.


The main issue with this approach is that we now have to physically tell the reader that after orders inputs can be received once again. To combat this we made a script that will reset the "once" function every time an "order failed" is pulsed through the sequencer. This wasn't too hard of a fix, but it is quite messy to look at overall

Other than that, everything development wise has been finished! Go play! Have fun

Enjoy our little prototype of love <3

Thanks for reading!

-Carri

Leave a comment

Log in with itch.io to leave a comment.