diff --git a/bin/pixi.dev.js b/bin/pixi.dev.js index 2411bdf..68b40cd 100644 --- a/bin/pixi.dev.js +++ b/bin/pixi.dev.js @@ -9,13 +9,13 @@ * pixi.js is licensed under the MIT License. * http://www.opensource.org/licenses/mit-license.php */ -/** - * @author Mat Groves http://matgroves.com/ @Doormat23 - */ - -(function(){ - - var root = this; +/** + * @author Mat Groves http://matgroves.com/ @Doormat23 + */ + +(function(){ + + var root = this; /** * @author Mat Groves http://matgroves.com/ @Doormat23 @@ -10977,6 +10977,7 @@ this.queue = []; }; spine.AnimationState.prototype = { + animationSpeed: 1, current: null, previous: null, currentTime: 0, @@ -10986,7 +10987,7 @@ mixTime: 0, mixDuration: 0, update: function (delta) { - this.currentTime += delta; + this.currentTime += (delta * this.animationSpeed); //timeScale: Multiply delta by the speed of animation required. this.previousTime += delta; this.mixTime += delta; diff --git a/bin/pixi.dev.js b/bin/pixi.dev.js index 2411bdf..68b40cd 100644 --- a/bin/pixi.dev.js +++ b/bin/pixi.dev.js @@ -9,13 +9,13 @@ * pixi.js is licensed under the MIT License. * http://www.opensource.org/licenses/mit-license.php */ -/** - * @author Mat Groves http://matgroves.com/ @Doormat23 - */ - -(function(){ - - var root = this; +/** + * @author Mat Groves http://matgroves.com/ @Doormat23 + */ + +(function(){ + + var root = this; /** * @author Mat Groves http://matgroves.com/ @Doormat23 @@ -10977,6 +10977,7 @@ this.queue = []; }; spine.AnimationState.prototype = { + animationSpeed: 1, current: null, previous: null, currentTime: 0, @@ -10986,7 +10987,7 @@ mixTime: 0, mixDuration: 0, update: function (delta) { - this.currentTime += delta; + this.currentTime += (delta * this.animationSpeed); //timeScale: Multiply delta by the speed of animation required. this.previousTime += delta; this.mixTime += delta; diff --git a/docs/files/src_pixi_extras_Spine.js.html b/docs/files/src_pixi_extras_Spine.js.html index d732ae0..c4203e9 100644 --- a/docs/files/src_pixi_extras_Spine.js.html +++ b/docs/files/src_pixi_extras_Spine.js.html @@ -971,6 +971,7 @@ this.queue = []; }; spine.AnimationState.prototype = { + animationSpeed: 1, current: null, previous: null, currentTime: 0, @@ -980,7 +981,7 @@ mixTime: 0, mixDuration: 0, update: function (delta) { - this.currentTime += delta; + this.currentTime += (delta * this.animationSpeed); //timeScale: Multiply delta by the speed of animation required. this.previousTime += delta; this.mixTime += delta; diff --git a/bin/pixi.dev.js b/bin/pixi.dev.js index 2411bdf..68b40cd 100644 --- a/bin/pixi.dev.js +++ b/bin/pixi.dev.js @@ -9,13 +9,13 @@ * pixi.js is licensed under the MIT License. * http://www.opensource.org/licenses/mit-license.php */ -/** - * @author Mat Groves http://matgroves.com/ @Doormat23 - */ - -(function(){ - - var root = this; +/** + * @author Mat Groves http://matgroves.com/ @Doormat23 + */ + +(function(){ + + var root = this; /** * @author Mat Groves http://matgroves.com/ @Doormat23 @@ -10977,6 +10977,7 @@ this.queue = []; }; spine.AnimationState.prototype = { + animationSpeed: 1, current: null, previous: null, currentTime: 0, @@ -10986,7 +10987,7 @@ mixTime: 0, mixDuration: 0, update: function (delta) { - this.currentTime += delta; + this.currentTime += (delta * this.animationSpeed); //timeScale: Multiply delta by the speed of animation required. this.previousTime += delta; this.mixTime += delta; diff --git a/docs/files/src_pixi_extras_Spine.js.html b/docs/files/src_pixi_extras_Spine.js.html index d732ae0..c4203e9 100644 --- a/docs/files/src_pixi_extras_Spine.js.html +++ b/docs/files/src_pixi_extras_Spine.js.html @@ -971,6 +971,7 @@ this.queue = []; }; spine.AnimationState.prototype = { + animationSpeed: 1, current: null, previous: null, currentTime: 0, @@ -980,7 +981,7 @@ mixTime: 0, mixDuration: 0, update: function (delta) { - this.currentTime += delta; + this.currentTime += (delta * this.animationSpeed); //timeScale: Multiply delta by the speed of animation required. this.previousTime += delta; this.mixTime += delta; diff --git a/src/pixi/extras/Spine.js b/src/pixi/extras/Spine.js index cf68012..38db1ad 100644 --- a/src/pixi/extras/Spine.js +++ b/src/pixi/extras/Spine.js @@ -791,6 +791,7 @@ this.queue = []; }; spine.AnimationState.prototype = { + animationSpeed: 1, current: null, previous: null, currentTime: 0, @@ -800,7 +801,7 @@ mixTime: 0, mixDuration: 0, update: function (delta) { - this.currentTime += delta; + this.currentTime += (delta * this.animationSpeed); //timeScale: Multiply delta by the speed of animation required. this.previousTime += delta; this.mixTime += delta;