It looks like you're new here. If you want to get involved, click one of these buttons!
-- sounds --sounds sounds = {} --load all your sounds here --after that you can simply play them as sounds.play("hit") sounds.fall = Sound.new("Sounds/fall.mp3") --play sounds sounds.play = function(sound) sounds[sound]:play() end |
sounds.play("fall") |
Comments
I forgot I'd read this thread a while ago:
http://www.giderosmobile.com/forum/discussion/331/what-is-the-best-sound-format
And I was using mp3s instead of wavs for sound FX.
Changed to wavs and boom no performance impact.