audio.lua 319 B

12345678910
  1. sounds = {
  2. hihat = love.audio.newSource("sfx/hi-hat.wav", "static"),
  3. death = love.audio.newSource("sfx/death.wav", "static"),
  4. item = love.audio.newSource("sfx/item-get.wav", "static"),
  5. toggle = love.audio.newSource("sfx/toggle.wav", "static"),
  6. }
  7. sounds.item:setVolume(0.5)
  8. sounds.toggle:setVolume(0.5)