Sonolus Wiki

Engine Watch Data

Engine watch data is used by Sonolus app to drive a level's watch.

Resource Type

JSON resource.

.json is the only supported format, and must also be GZip compressed.

Syntax

type EngineWatchData = {
    skin: {
        sprites: {
            name: SkinSpriteName | (string & {})
            id: number
        }[]
    }
    effect: {
        clips: {
            name: EffectClipName | (string & {})
            id: number
        }[]
    }
    particle: {
        effects: {
            name: ParticleEffectName | (string & {})
            id: number
        }[]
    }
    archetypes: EngineWatchDataArchetype[]
    updateSpawn: number
    nodes: EngineDataNode[]
}

updateSpawn

Index of entry node in nodes array.

Examples

{
    "skin": {
        "sprites": [
            {
                "name": "#NOTE_HEAD_CYAN",
                "id": 0
            }
        ]
    },
    "effect": {
        "clips": [
            {
                "name": "#PERFECT",
                "id": 0
            }
        ]
    },
    "particle": {
        "effects": [
            {
                "name": "#NOTE_CIRCULAR_TAP_CYAN",
                "id": 0
            }
        ]
    },
    "archetypes": [
        // ...
    ],
    "updateSpawn": 0,
    "nodes": [
        // ...
    ]
}