addKaboom(pos: Vec2, opt?: BoomOpt): GameObj
Add an explosion effect.
param
pos- The position of the explosion.
param
opt- The options for the explosion.
onMousePress(() => { addKaboom(mousePos()); });
returns
The explosion object.
since
v2000.0
Add an explosion effect.
param
pos- The position of the explosion.
param
opt- The options for the explosion.
onMousePress(() => { addKaboom(mousePos()); });
returns
The explosion object.
since
v2000.0
Assets
Components
Component Types
Input
Events
Info
Math
Misc
Draw
Layer
Camera
Level
Plugins
Button Bindings