On this page

jbp4444/bzAnim/bzAnim.bzLibrary

A Lua/Defold-based animation library for bezier curve animations

  • GitHub: jbp4444/bzAnim — pinned to 2fe3aed
    1. Pick a release from jbp4444/bzAnim releases and add its Source code (zip) URL (or a packaged .zip asset, if the library ships one) to game.project under [project] dependencies, then Fetch Libraries in the Defold editor.
    2. Run bunx @defold-typescript/cli resolve to materialize its types.
    3. Import it under a namespace alias of your choice:
      import * as bzLibrary from "bzAnim.bzLibrary"

Functions

animate(args: AnimateArgs): string

Parameters

  • args: AnimateArgs

Returns

  • string

animateSequence(args: AnimateSequenceArgs): string

Parameters

  • args: AnimateSequenceArgs

Returns

  • string

cancel(id: string)

Parameters

  • id: string

info(): string

Returns

  • string

isReady(): boolean

Returns

  • boolean

setDebugLevel(level: number)

Parameters

  • level: number

Variables

INFO_LEVEL: unknown

DEBUG_LEVEL: unknown

TRACE_LEVEL: unknown