TTSAV 游戏存档

Chinese, Simplified

Mygod 工作室™ 使用了一些特殊的方式研究了一下,并提出存档格式可能长得像下面这样。

{
    "levels": {
        "543": {
            "completed": true,          // completed
            "time": 12345,              // time
            "prismCount": 10,           // prism count
            "rank": 5                   // rank == 0: D   rank == 1: C   rank == 2: B
                                        // rank == 3: A   rank == 4: S   rank == 5: S+
        }
    },
    "settings": {
        "musicVolume": 100,             // music volume setting
        "sfxVolume": 100,               // sfx volume setting
        "visualFxEnabled": true,        // visual FX enabled
        "fullScreen": false,            // full screen setting
        "altinput": false               // alternative input angle setting
    },
    "stats": {
        "edgeTick": 20,                 // best edge time statistic
        "gameBootCount": 10,            // game boot count statistic
        "cubeCrushCount": 5,            // cube crush count
        "lastPlayedLevelType": "bonus", // last played level type
        "lastPlayedLevelIndex": {       // last played level index statistics
            "standard": 10,
            "extended": 41,
            "bonus": 12
        }
        "oggMember": true,              // is Steam OGG member
        "achievements": {
            "winter": [1,2,3,4,5,6]     // winter achievement data
        }
    }
}