SNKRX/engine/sound.lua

5 lines
317 B
Lua
Raw Normal View History

2021-02-18 05:11:25 +01:00
-- TODO: actually implement this later, for now ripple works fine with just name swaps on top of it for naming consistency.
Sound = function(asset_name, options) return ripple.newSound(love.audio.newSource('assets/sounds/' .. asset_name, 'static'), options) end
SoundTag = ripple.newTag
Effect = love.audio.setEffect