It looks like you're new here. If you want to get involved, click one of these buttons!
local sound = Sound.new("Music/intro theme.mp3") local channel1 = sound:play() channel1:setVolume(.8) local function fadeOut () channel1:setVolume(channel1:getVolume() - .009) end local timer = Timer.new(10, 100); timer:addEventListener(Event.TIMER, fadeOut); timer:start(); |
Comments
Additionally I think that by adding setter and getter methods as
Likes: bowerandy
Likes: ar2rsawseen