Skip to reading
Actions, Properties & Runtime Updates

Change one painted scenery layer

Edition 0.86.4.4 Hotfix 2

Updated through 0.86.4.4 Hotfix 2, with cinematic property, recorded-pose or voice-timing lessons as described in this guide. Earlier examples, screenshots and complete registry figures retain their stated edition context.

Download PDFView illustrations
On this page

0.86.4.0 / ACTIONS AND PROPERTIES

RUNTIME WALKTHROUGH

A background can drift as the camera moves while the walkable floor stays put. You need a room with a named 2D scenery layer and a camera that scrolls. Pick a background detail you can watch against a foreground edge.

0.86.4.0 reference • The Layer field takes the ID of a layer inside the selected room. A scene object with the same name is a different target.

1

Set the amount of horizontal movement#

In a room or object event, add Change 2D Layer Property. Select the room and enter its background layer ID. Choose parallax. Give it the two numbers [0.5, 1.0]. The first number changes horizontal movement. The second keeps the normal vertical behavior.

2

Walk far enough to move the camera#

Apply the event, save, and start the room. Trigger the action, then walk toward the far end. Watch the background slide against the foreground. Leave the comparison layer at [1, 1]. A stationary camera hides the difference.

3

Swap the art on the same layer#

Add another event using the same room and layer. Choose assetId and enter an image asset already in your project. A successful swap reports resource_refreshed. The sprite stays in place. An unusable asset leaves the earlier texture visible.

When only the strength should change

Choose opacity and enter 0.5 for a half-strength layer. For an unknown_or_ambiguous_layer error, check the layer ID in that room and give duplicate layers distinct IDs. Existing Set 2D Parallax actions still work.

PCA 3D / Actions and properties

Page 28 of 39Permalink
Go to page