From 5f310b1f2a76adf0d8b0f25630610a5da90eff71 Mon Sep 17 00:00:00 2001 From: Jaidyn Ann Date: Mon, 21 Sep 2020 19:21:19 -0500 Subject: [PATCH] Enable game music --- main.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.lua b/main.lua index 879137f..36748a3 100644 --- a/main.lua +++ b/main.lua @@ -336,8 +336,9 @@ function game_load () dieParticle:setLinearAcceleration(-200, -200, 200, 200) -- Random movement in all directions. dieParticle:setSpeed(40, 50); dieParticle:setColors(1, 1, 1, 1, 1, 1, 1, 0) --- bgm = love.audio.newSource( "art/music/game.ogg", "static") --- bgm:play() + bgm:stop() + bgm = love.audio.newSource( "art/music/game.ogg", "static") + bgm:play() end --------------------