瀏覽代碼

More pitch variation;

bjorn 10 年之前
父節點
當前提交
6d88242469
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      pigeon.lua

+ 2 - 2
pigeon.lua

@@ -77,7 +77,7 @@ function Pigeon:init()
 
       self.leftWhirr = ctx.sound:play('whirr', function(sound)
         sound:setVolume(.35)
-        sound:setPitch(.95 + love.math.random() * .1)
+        sound:setPitch(.9 + love.math.random() * .2)
       end)
 
       ctx.sound:play('impact', function(sound)
@@ -104,7 +104,7 @@ function Pigeon:init()
 
       self.rightWhirr = ctx.sound:play('whirr', function(sound)
         sound:setVolume(.35)
-        sound:setPitch(.95 + love.math.random() * .1)
+        sound:setPitch(.9 + love.math.random() * .2)
       end)
 
       ctx.sound:play('impact', function(sound)