Develop #4

Merged
wariosolis merged 35 commits from develop into master 2017-01-04 00:04:34 +01:00
2 changed files with 12 additions and 1 deletions
Showing only changes of commit 7faaa52567 - Show all commits
+12 -1
View File
@@ -20,7 +20,10 @@ function game.load()
game.world = love.physics.newWorld(0, gravity * world_meter, true) -- Make earth
-- Bells
bells_enable = false
bells_enable = true
game.music = love.audio.newSource("assets/audio/music/theme.mp3")
game:playMusic()
end
function game:nextLevel()
@@ -39,4 +42,12 @@ function game:setNewSizeWorld(canvas_width, canvas_height)
camera.gcam:setWorld(0, 0, game.canvas.width, game.canvas.height)
end
function game:playMusic()
game.music:play()
end
function game:stopMusic()
game.music:stop()
end
return game
BIN
View File
Binary file not shown.