-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Description
I have an mp3 file I would like to tween. I am running Lua 5.4 and Love2d 11.3
I have the following setup in my main.lua file...
local tween = require 'libs/tween/tween'
-- increase the volume of music from 0 to 5 in 10 seconds
local music = {volume = 0, path = "audio/mp3/demo.mp3"}
local musicTween = tween.new(10, music, {volume = 5})
function love.load()
-- other code...
end
function love.update(dt)
musicTween:update(dt)
end
function love.draw()
-- other code...
endWhen I run my game, there are no errors, and no sound. but the rest of the game works. what am I doing wrong?
Many thanks
Metadata
Metadata
Assignees
Labels
No labels