Add new sound effects to the game

This commit is contained in:
Mizu
2020-10-26 14:21:49 +01:00
parent 9fca272e8d
commit b0ce0f17f5
9 changed files with 30 additions and 1 deletions

View File

@@ -51,8 +51,10 @@ function GameScene:render()
-- ready/go graphics
if self.game.ready_frames <= 100 and self.game.ready_frames > 52 then
love.graphics.draw(misc_graphics["ready"], 144 - 50, 240 - 14)
playSEOnce("ready")
elseif self.game.ready_frames <= 50 and self.game.ready_frames > 2 then
love.graphics.draw(misc_graphics["go"], 144 - 27, 240 - 14)
playSEOnce("go")
end
self.game:drawCustom()