Explorar el Código

Peck charge sound;

bjorn hace 10 años
padre
commit
9b3e6bc83e
Se han modificado 2 ficheros con 1 adiciones y 0 borrados
  1. BIN
      media/sounds/charge.ogg
  2. 1 0
      pigeon.lua

BIN
media/sounds/charge.ogg


+ 1 - 0
pigeon.lua

@@ -577,6 +577,7 @@ function Pigeon.peck:enter()
     self.leftWhirr:stop()
     self.rightWhirr:stop()
   end
+  ctx.sound:play('charge')
   self.animation:set('peck')
   table.each(self.beak, function(beak)
     beak.fixture:setSensor(false)