Save System, Settings, Main Menu, and Challenge Data (Patreon)
Content
Heyo everyone! This post won't be too flashy. A lot of this was involving data, and code.
Best way to explain it all is to jump right in!
The main objective was to give proper function and persisting data for the "achievements". (Though I'd consider them more... challenges or side-objectives for the songs.)
With the recent changes, I've done a few adjustments to Iris' challenges. I feel like other character's challenges will be a bit more unique, but considering Iris is the first character, it seemed appropriate to make the challenges based on the various core mechanics of the game.
"Mindbreak" = Full exhaustion state. (Exceed round 6 on Hard Mode.)
"Overachiever" = Engaging with the FEVER mechanic x times (the amount is still pending, as I haven't really come to a balanced amount)
"Pound Town" = Completing the song with 4 active Tempo Ups.
"Iris Impregnated" = Successfully impregnate Iris (This achievement will be static across all characters)
I believe I mentioned these before (though they were likely slightly different). The goal here was to create the appropriate trackers, persistent data, and feedback for these... basically make them truly functional.
Hitting "Seed" will increase the progress bar, and your progress will save between rounds, and will be shown on the score screen.
Next thing I needed to do, was properly adjust modifier spawn rates depending on difficulty. This actually took longer than I had anticipated, as I thought I had the ground work already laid out, but apparently I didn't.
The spawn rates are as follows:
EASY - 60% white, 30% silver, 10% gold (Same as SpunkStock 1)MEDIUM - 40% white, 45% silver, 15% goldHARD - 20% white, 60% silver, 20% gold
These are very subject to change because I currently can't test their true nature. This is because right now I only have 2 white modifiers, 2 silver modifiers, and 1 gold mod implemented. I had to create a system for exceptions (much like SpunkStock1).
When a gold is selected, it can no longer spawn for the rest of the song... (this will always be the case)
Of the 3 modifiers presented for selection, it cannot show the same option twice (like.. 2 saps.)
If a needle, and a sap are rolled, there is no 3rd white modifier to roll, so it must default to a silver, and vice versa.
Another thing I wanted to put in was crosshairs/indicators that the player should be clicking on the clothes to destroy them. (The visuals are still placeholder at the moment)
With these in place, there was something I actually hadn't implemented yet, and it was for the clothing to give modifiers when they break in the 1st round (as there is no progress bar to give modifiers.)
If you click on one of the pieces of clothing it will display the HP it has along with what modifier it will give upon destruction
These modifiers are the modifiers you selected at the start of the round.
With that, the difficulties and achievements associated are fully functional, so I created a rudimentary save system for this data.
You will be able to view challenge/achievement progress in the world via the Iris's Stats menu.
To connect all the save data, I created a temporary Main Menu as well.
At the moment there is just a "Play" button. This will automatically load your save data, or if there is none, simply start a new game.You can choose to restart via the "Reset Data" button.
I will likely add save files and approach things in the same way as SpunkStock 1, there just isn't much need to dive too far in to it right now.
I also set up the Options menu with simple volume sliders.
With that, the week is concluded. Next week I'm going to be covering a few other things.
Interacting with Objects/exploration polish
Additional Iris dialogue (for after her first completion)
Settings menu during exploration.
Pausing during songs, and menus associated with it.
More basic functions, really. This should be the last of menuing/base function construction though.
Thank you all again! I'll catch you all next week for the next report!
-Regulus