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