top of page
BP_BulletPool.png
Sk8Escape_edited.jpg

Sk8 Escape

Forsbergs School Project

2D Endless Runner Platform Game for Mobile

Unity Engine / C#

Team: 18

Duration: 6 weeks

Role: Integration and data persistence. Save player stats to json file. Save audio settings. Unit Testing of saved / retrieved data

savemanager.png

Data Persistence

My role in this project was to ensure data persistence. In the first instance interfaces were created to allow interaction between the various teams and the saving of the data required to be persistent.
Using built in Unity Json support JsonUtility, able to save and retrieve data

SaveFiles.png

Save Files

JSON was chosen as the preferred method of data serialization because of its extensive use in distributed software. Implementation was straightforward because Unity has built-in support for JSON representation.

TestRunner01_edited_edited.jpg

Unit Testing

Tested the accuracy of the date being saved and retrieved using NUnit Framework, wrote the save data codes to save and load the game data, and corrected the assertions that should pass if correct. Ran tests in both Edit Mode and Play Mode (Android platform) to ensure data accuracy for anything that does not require Playmode and also at runtime.

bottom of page