This week a large focus has been placed upon the level select room currently within the game. This room is designed to act as the information hub for the player to track each levels progress, choose levels to play and view rewards within the van. Building off the previous weeks saving and loading functionality, this week, new canvases have been added to each level platform within the level select. On loading of this level these canvases now populate with the level information saved on the external JSON file to show the player stats such as completion times, completion percentages, secret tokens collected and medals earned. Each level platform now correctly displays the stats relating to that particular level in the currently selected world. These information panels have been set up to display only when the player is within a certain range of each level platform. To restrict players from accessing levels which are not yet unlocked, we have designed the level room in a way which requires bridges to be built to each platform when the level is unlocked. In order to keep track of which bridges have been built and which have not, the external file has now also been set up to track whether each level platforms bridge has been built yet or not. A cinematic shot has also been set up to show the first bridge of each world being built to help guide the player where to go. Apart from this when completing a new level and returning to the level select room, a check is done to see whether or not the next levels bridge is still required to build or not. If this is the case, then another cinematic shot has been set up to show the bridge being built before saving this data to the external file for future reference. Each level which has their bridge registered as built on the file also automatically appear when the scene is loaded.
On a whole the games entire progress can now be saved successfully and loaded again for the player to continue where they left off. All level stats appear to load and display correctly, and the level select now appears to function as it was intended to.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
September 2017
Categories |