EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

StorybookLayer

One painted layer of a page, drawn at the page's canvas size.

Signature

{ depth_permille: number, drift: (StorybookDrift)?, flash_rest_permille: (Permille)?, grey: (TextureAssetId)?, id: Name, image: TextureAssetId, swell: (StorybookSwell)? }

Fields

NameTypeMeaning
depth_permillenumberHow strongly it follows the camera: 0 stays put, 1000 moves with the full travel.
Range: 0…4000; Unit: permille
driftStorybookDriftA steady drift with a gentle bob (birds); absent: still.
flash_rest_permillePermilleOpacity between lightning flashes; it shows fully during a flash of its page. Absent: always fully shown.
Range: 0…1000; Unit: permille
greyTextureAssetIdThe same layer without colour, crossed into when the page greys; absent: it keeps its colour.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: asset:texture
idNameLocal name of the layer within its page.
Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$
imageTextureAssetIdThe painted layer (straight alpha), at the page's canvas size.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: asset:texture
swellStorybookSwellA rolling swell up and down (waves, a boat); absent: none.