Skip to reading
Shaders, Effects & Layered Scenery

57. Current stages and older native 2D rooms

Edition 0.86.4.0

Revised 0.86.4.0 edition with new supplements; earlier 0.86.3.4 lessons and screenshot labels are retained within the supplied PDF.

Download PDFView PDF page
Source table from 57. Current stages and older native 2D rooms, page 61
Room systemControls and units
Current 2D / 2.5D StageScene Objects → Parallax Planes, world-space X/Z factors, one locked orthographic stage camera. Records are in stage2D.parallaxLayers.
Older native Canvas 2D roomBackground/foreground layers in the hybrid/native compositor, pixel-space X/Y and layer ratios. Records use the native layers collection.
Screen OverlayA single oversized image over the view, driven by the 3D camera target and room navigation bounds. It has Travel Strength rather than one independent factor per plane.

The shared Set 2D Layer Parallax action targets the older native layer system. It is not the current-stage Parallax Plane editor. A layer ID visible in a current stage therefore should not be assumed to work with that legacy action.

Code example
# For an older native 2D layer, not a Stage Parallax Plane:
await Set2DParallax({"sceneId":"old_room",
    "layerId":"far_sky","ratio":[0.25,1.0]})

For a current stage, author the factors in the plane Inspector. A script can edit the stage’s saved configuration, but changing that configuration does not automatically rebuild an already-running set of stage planes. Re-enter or restart the room to test the authored setup.

This distinction is especially useful when opening projects created by older PCA versions. Identify the room system before following a layer action example from an older manual.

Page 61 of 93Permalink
Go to page