Enable game music
This commit is contained in:
parent
ed5e2484fd
commit
5f310b1f2a
5
main.lua
5
main.lua
|
@ -336,8 +336,9 @@ function game_load ()
|
||||||
dieParticle:setLinearAcceleration(-200, -200, 200, 200) -- Random movement in all directions.
|
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)
|
dieParticle:setSpeed(40, 50); dieParticle:setColors(1, 1, 1, 1, 1, 1, 1, 0)
|
||||||
|
|
||||||
-- bgm = love.audio.newSource( "art/music/game.ogg", "static")
|
bgm:stop()
|
||||||
-- bgm:play()
|
bgm = love.audio.newSource( "art/music/game.ogg", "static")
|
||||||
|
bgm:play()
|
||||||
end
|
end
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
|
|
Ŝarĝante…
Reference in New Issue