Skip to content
ochadenas edited this page Oct 31, 2023 · 7 revisions

The application uses the following keys in SharedPreferences:

Key Meaning
STATUS "running" when in an active game, playing a level; "completed", when the most recent level has been completed.
MAXSTAGE number of the highest level that has been completed
MAXSERIES series of the highest level (1 - normal, 2 - turbo)
LASTSTAGE number of the level that was last played (but not necessarily finished). May be less or greater than MAXSTAGE.
LASTSERIES series of the last level played (1 - normal, 2 - turbo)
TURBO_AVAILABLE whether series 2 ('turbo') is accessible or not. 'true' if the last level in normal mode has been played.
global JSON-encoded string. Data that is not level-related. Such as global setting, but also the number of available coins.
levels JSON-encoded string. Data on each of the normal levels, such as coins gathered and available.
levels_series2 same for the 'turbo' levels
levels_endless same for the endless levels
upgrades JSON-encoded string. Data on the heroes, i.e. which heroes are hired and to which upgrade
thumbnail_xx, where xx is the level number Encoded bitmap of a screenshot of the respective level
state JSON-encoded data on the current level. Used to restore the current game.

Chip Defense

Main Page

Game Play

Concepts


Developer documentation

Clone this wiki locally