소스 검색

Win sound;

bjorn 10 년 전
부모
커밋
66647db889
2개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. BIN
      media/sounds/win.ogg
  2. 1 0
      pigeon.lua

BIN
media/sounds/win.ogg


+ 1 - 0
pigeon.lua

@@ -181,6 +181,7 @@ function Pigeon:update()
     self.animation:set('flyLoop')
     if not ctx.hud.win.active then
       ctx.hud:activateWin()
+      ctx.sound:play('win')
     end
   end
 end