Tile - YCamera - Screen Shake
Jump to navigation Jump to search
Screen Shake(Player, Intensity, Frequency, Duration, Sound)
static screenShake(player: YCharacter, intensity: number, frequency: number, duration: number, sound: YSound): void;
How strong will the shaking effect be.
How often will the shaking occur during the time period.
The time period of the shaking effect.
Sound played during the shaking.
Shakes the camera of the target player for a given time period.
- It is possible to use both camera shake sound effect and sound effect literals, allowing for some creative use of the tile.