On this page
thejustinwalsh/defold-zzfx/zzfx.api
ZzFX extension for Defold
- GitHub: thejustinwalsh/defold-zzfx — pinned to
2fe3aed- Pick a release from thejustinwalsh/defold-zzfx releases and add its Source code (zip) URL (or a packaged
.zipasset, if the library ships one) togame.projectunder[project]dependencies, then Fetch Libraries in the Defold editor. - Run
bunx @defold-typescript/cli resolveto materialize its types. - Import it under a namespace alias of your choice:
import * as api from "zzfx.api"
- Pick a release from thejustinwalsh/defold-zzfx releases and add its Source code (zip) URL (or a packaged
Functions
play(args: number[])
Parameters
args:number[]
samplerate(rate: number)
Parameters
rate:number
play_sample(sample: ZzFXSample)
Parameters
sample:ZzFXSample
build_sample(args: number[]): ZzFXSample
Parameters
args:number[]
Returns
ZzFXSample