@camera
Zoom, move or rotate the whole screen
- Built-in
- Waits until it finishes
yoyo
Parameters
zoomNumber
Zoom factor (1 is actual size)
xNumber
Camera's horizontal position (game screen px). Positive values move the camera right, so the view scrolls left. The closer the zoom, the farther it scrolls on screen
yNumber
Camera's vertical position (game screen px). Positive values move the camera down, so the view scrolls up. The closer the zoom, the farther it scrolls on screen
rotateNumber
Rotation angle (degrees)
from-zoomNumber
Starting zoom factor. The current value if omitted
from-xNumber
Starting horizontal position
from-yNumber
Starting vertical position
from-rotateNumber
Starting rotation angle
timeTime (300ms, 1.5s)
Default: 1sDuration of the motion
easeText (such as ease / linear / easeInSine / easeOutSine / easeInOutSine / easeInQuad / easeOutQuad / easeInOutQuad / easeInCubic / easeOutCubic / easeInOutCubic)
Default: easeEasing (ease, easeOutSine and so on)
yoyotrue / false
Default: falseGo and come back (move to the given view in half of time, then back to the previous view in the other half. The camera's state doesn't change)
waittrue / false
Default: trueWait until the motion finishes before continuing
skiptrue / false
Default: trueLets 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:
How each attribute converts, and what isn't converted, is in TyranoScript import.