LiminaliaLiminalia

@camera

Zoom, move or rotate the whole screen

yoyo

Parameters

zoom
Number
Zoom factor (1 is actual size)
x
Number
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
y
Number
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
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)
Default: ease
Easing (ease, easeOutSine and so on)
yoyo
true / false
Default: false
Go 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)
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.