dt(): number
Get the delta time since last frame.
// rotate bean 100 deg per second bean.onUpdate(() => { bean.angle += 100 * dt() })
since
v2000.0
Get the delta time since last frame.
// rotate bean 100 deg per second bean.onUpdate(() => { bean.angle += 100 * dt() })
since
v2000.0
Assets
Components
Component Types
Input
Events
Info
Math
Misc
Draw
Layer
Camera
Level
Plugins
Button Bindings