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) })
param
intensity - The intensity of the shake. Default to 12.
// shake intensively when bean collides with a "bomb" bean.onCollide("bomb", () => { shake(120) })