Sonolus Wiki

Runtime UI

Runtime UI block is used to pass UI layout information back to Sonolus.

Identifier

const RuntimeUIId = 1005

Values

IndexInitial ValueDescription
0-90Layout information of menu UI
10-190Layout information of judgment UI
20-290Layout information of combo value UI
30-390Layout information of combo text UI
40-490Layout information of primary metric bar UI
50-590Layout information of primary metric value UI
60-690Layout information of secondary metric bar UI
70-790Layout information of secondary metric value UI
80-890Layout information of progress UI

For each UI:

IndexInitial ValueDescription
UI offset + 00Anchor X
UI offset + 10Anchor Y
UI offset + 20Pivot X
UI offset + 30Pivot Y
UI offset + 40Width
UI offset + 50Height
UI offset + 60Rotation
UI offset + 70Alpha
UI offset + 80Horizontal align: -1 = Left, 0 = Center, 1 = Right
UI offset + 90Background

Access

CallbackReadWrite
preprocess
spawnTime
despawnTime
initialize
updateSequential
updateParallel
terminate
updateSpawn

Remarks

It is recommended to adjust UI layout based on various factors such as screen aspect ratio, options, and Runtime UI Configuration.