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
group
Camera
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
group
Camera
Assets
Game Obj
Components
Component Types
Scene
Input
Events
Info
Math
Misc
Button Bindings
GFX
Draw
Layer
Camera
Layers
Level
Plugins