add engine burn

This commit is contained in:
Donald Ball 2025-11-20 22:07:03 -05:00
parent e2fe2499d4
commit 7eee00d7ea
3 changed files with 21 additions and 0 deletions

View file

@ -91,6 +91,9 @@ function actors.buildActors(game)
for k, v in pairs(ship) do
instance[k] = v
end
instance.engineSound = love.audio.newSource(instance.engineSound)
instance.engineSound:setVolume(0)
instance.engineSound:setLooping(true)
setmetatable(instance, ships_mt)
return instance
end