shake screen
-
Introduction
You can now make everything on the screen (the stage and all sprites) shake like this:
Note that this only works for 2D projects.
The Shake Screen Block
The shake screen block is in the motion category:
It takes 3 inputs:- Duration: how many seconds to keep the shaking effect
- Frame Rate: how many frames per second. In each frame, the whole stage and all sprites are randomly shifted to a new position.
- Magnitude: This is the maximum distance the screen may be shifted in both the x and y direction. For example, if magnitude is 20, then for any frame, the screen can be shifted left or right, up or down, but never more than 20 units from the center.