LiminaliaLiminalia

@layer-camera

Zoom, move or rotate a single layer (use @camera for the whole screen)

Parameters

layerRequired
base / fg0 / fg1 / fg2
Layer to move (base, or fg0 to fg2)
zoom
Number
Zoom factor (1 is actual size)
x
Number
Camera's horizontal position (px). Positive values move the camera right, so the layer scrolls left
y
Number
Camera's vertical position (px). Positive values move the camera down, so the layer scrolls up
rotate
Number
Rotation angle (degrees)
from-zoom
Number
Starting zoom factor. The current value if omitted
from-x
Number
Starting horizontal position
from-y
Number
Starting vertical position
from-rotate
Number
Starting rotation angle
time
Time (300ms, 1.5s)
Default: 1s
Duration of the motion
ease
Text (such as ease / linear / easeInSine / easeOutSine / easeInOutSine / easeInQuad / easeOutQuad / easeInOutQuad / easeInCubic / easeOutCubic / easeInOutCubic / easeInQuart / easeOutQuart / easeInOutQuart / easeInExpo / easeOutExpo / easeInOutExpo / easeInBack / easeOutBack / easeInOutBack)
Default: ease
Easing (ease, easeOutSine and so on)
wait
true / false
Default: true
Wait until the motion finishes before continuing
skip
true / false
Default: true
Lets a click, the Enter key or a tap finish the effect at once. false prevents it (while skipping, it ends at once anyway)

Guides that use this command

From TyranoScript

When you import with lim import, these tags become this command:

  • [camera]

How each attribute converts, and what isn't converted, is in TyranoScript import.