Skip to content

Serialising Data

Jason edited this page Mar 4, 2025 · 1 revision

The page contains information about serialising data in the game.

General information

To provide properly working saving & loading values after launching & exiting the game, the game needed a separate manager for serialising & deserialising some data. It creates JSON files for saving values about the game and the players.

Serialisable data

The following list shows what data required serialisation:

Serialising

Serialising (saving) values occur in the following situations:

  • The game is over (caused by destroyed nuke or losing all lives by all the players),
  • Selecting stage to start the game session from (only the game data).

Deserialising

Deserialising (loading) values occurs only after loading the main menu scene.

Clone this wiki locally