Zuper Zmall Zound Zynth
Port of ZzFX for the Defold Game Engine
Open your game.project file and in the dependencies field under project add:
https://github.com/thejustinwalsh/defold-zzfx/archive/main.zip
Require the zzfx.api script and play sound effects like so:
local zzfx_api = require("zzfx.api")
local zzfx = zzfx_api.play
zzfx(1,.05,448,.01,.1,.3,3,.39,-0.5,0,0,0,0,0,.2,.1,.08,1,0,0)
- Limited to 32 unique zzfx with 32 intances of each playing simualtaniously
- This will be configurable in the future
- The code
local zzfx = zzfx_api.play
is for compatibility with copy & paste from the ZzFX Sound Designer- Be sure to uncheck the
Spread
checkbox as lua doesn't support the spread syntax.
- Be sure to uncheck the