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