Causes the screen to shake.
Required parameters:
- time = shake_time (int)
Specifies the number of ticks to shake the screen for.
Optional parameters:
- freq = shake_speed (float)
shake_speed is a float between 0 (slow shake) to 180 (fast shake). Defaults to 60.
- ampl = shake_amplitude (int)
The larger the amplitude, the farther the screen shakes up and down. A negative amplitude means that the screen will shake down first. Defaults to -4.
- phase = phase_offset (float)
Specifies the phase offset for the shaking. The default is 0, unless the frequency multiplier is 90 or greater. In this case, the default phase offset is 90.
Example:
none