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