Blip is a retro sound effect extension for Defold. It is based on the Sfxr library and can be used to generate and play simple sound effects from a running Defold game. It’s super easy to use:
-- The seed is a number that is used to generate a specific version of the sound effect.
-- Each seed will always result in the same sound.
local seed = 1234
-- Generate the sound effect (use one of blip, jump, hurt, powerup, explosion, laser or pickup)
local sound = blip.blip(seed)
local sound = blip.jump(seed)
local sound = blip.hurt(seed)
local sound = blip.powerup(seed)
local sound = blip.explosion(seed)
local sound = blip.laser(seed)
local sound = blip.pickup(seed)
-- Play it!
blip.play(sound)
Get it or try the HTML5 demo from the asset portal.