Saving and loading is a very important underlying mechanic which allows for players to maintain their progress within a game. Up until this week there was no way for the player to continue where they left off as not too much consideration had been placed into this feature. It is however one of our design goals which is why a large emphasis was placed onto it during the week. A framework has now been set up and connected into the game which will allow the serialization and saving of game data to an external file using JSON. This data can also be read from the file at any point and used to populate in-game information.
Currently the saving and loading feature has the capability of saving data including each levels completion status, time completed, pickup completion percentage, medal earned, as well as whether or not the secret token had been collected or not. This data will allow us to determine which levels and worlds can be accessed from within the level select room as well as which mini games can be played within the van. It will also allow the player to keep track of their times and completion status for every level and gives them the opportunity to replay the levels to achieve better scores. Currently we have implemented up to three save slots in which new games can be created from the main menu. There is also the option to select a save slot to load from the main menu. This basic set up will now allow the player to track their progress. We have also added a new form of collectable for the player to run around the levels and find, the floppy disk! Klepto must collect these disks in order for him to increase his computer memory to run his simulations. These collectables within each level are used to determine the levels completion percentage based upon how many were picked up.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
September 2017
Categories |