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
ts
type EngineWatchData = {
skin: {
renderMode?: 'default' | 'standard' | 'lightweight'
sprites: {
name: SkinSpriteName | (string & {})
id: number
}[]
}
effect: {
clips: {
name: EffectClipName | (string & {})
id: number
}[]
}
particle: {
effects: {
name: ParticleEffectName | (string & {})
id: number
}[]
}
buckets: EngineDataBucket[]
archetypes: EngineWatchDataArchetype[]
updateSpawn: number
nodes: EngineDataNode[]
entityMemoryLength?: number
entityDataLength?: number
entitySharedMemoryLength?: number
}skin.renderMode
Render mode.
When not specified or 'default', will use user's settings; otherwise use specified render mode.
updateSpawn
Index of entry node in nodes array.
entityMemoryLength
Optional length of Entity Memory block.
entityDataLength
Optional length of Entity Data and Entity Data Array block.
entitySharedMemoryLength
Optional length of Entity Shared Memory and Entity Shared Memory Array block.
Examples
json
{
"skin": {
"sprites": [
{
"name": "#NOTE_HEAD_CYAN",
"id": 0
}
]
},
"effect": {
"clips": [
{
"name": "#PERFECT",
"id": 0
}
]
},
"particle": {
"effects": [
{
"name": "#NOTE_CIRCULAR_TAP_CYAN",
"id": 0
}
]
},
"buckets": [
// ...
],
"archetypes": [
// ...
],
"updateSpawn": 0,
"nodes": [
// ...
]
}