Commands /
Shake Screen
Summary
Shake screen causes the camera to shake.
The coordinates of the shake are always done in 3D space, corresponding to the number of tiles to potentially move across. As such, X and Z correspond to horizontal and vertical movement along the tile map, while Y corresponds to the height.
Note: In battles that occur on user interface, the X and Z coordinates correspond to the number of pixels moved, rather than tiles.
Parameters
Name | Explanation | Type |
---|---|---|
Duration | The total number of milliseconds to shake the screen. | Variable or Value |
X | The amount of displacement along the X axis. | Variable or Value |
Y | The amount of displacement along the Y axis. | Variable or Value |
Z | The amount of displacement along the Z axis. | Variable or Value |