diff --git a/gemswap/core.coffee b/gemswap/core.coffee index 4feee33..b04075c 100644 --- a/gemswap/core.coffee +++ b/gemswap/core.coffee @@ -77,7 +77,7 @@ $(-> }) diamond.onMouseOver = -> - @fade_value = @engine.ease.circOut(0, 1, 10, @engine.ease.bounceOut(1, 0, 35)) + @fade_value = @engine.ease.quadInOut(0, 1, 10, @engine.ease.bounceOut(1, 0, 35)) cursor = @engine.getObject("cursor").getInstances()[0] cursor.x = @engine.ease.quadInOut(cursor.x, @x - 9, 8) diff --git a/gemswap/gemswap.js b/gemswap/gemswap.js index f9cd824..34ecb70 100644 --- a/gemswap/gemswap.js +++ b/gemswap/gemswap.js @@ -58,7 +58,7 @@ }); }; diamond.onMouseOver = function() { - this.fade_value = this.engine.ease.circOut(0, 1, 10, this.engine.ease.bounceOut(1, 0, 35)); + this.fade_value = this.engine.ease.quadInOut(0, 1, 10, this.engine.ease.bounceOut(1, 0, 35)); cursor = this.engine.getObject("cursor").getInstances()[0]; cursor.x = this.engine.ease.quadInOut(cursor.x, this.x - 9, 8); return cursor.y = this.engine.ease.quadInOut(cursor.y, this.y - 9, 8);