shake(intensity?: number): void
Camera shake.
param
intensity- The intensity of the shake. Default to 12.
// shake intensively when bean collides with a "bomb" bean.onCollide("bomb", () => { shake(120) })
since
v3000.0
Camera shake.
param
intensity- The intensity of the shake. Default to 12.
// shake intensively when bean collides with a "bomb" bean.onCollide("bomb", () => { shake(120) })
since
v3000.0
Assets
Components
Component Types
Input
Events
Info
Math
Misc
Draw
Layer
Camera
Level
Plugins
Button Bindings