We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc70ce7 commit 1c5a106Copy full SHA for 1c5a106
1 file changed
src/core/Game.js
@@ -719,7 +719,8 @@ Phaser.Game.prototype = {
719
this._deltaTime = 0;
720
this._spiralling = 0;
721
722
- var slowStep = this.time.slowMotion * 1000.0 / this.time.desiredFps;
+ // call the game render update exactly once every frame
723
+ this.updateRender(this.time.slowMotion * this.time.desiredFps);
724
}
725
else
726
{
@@ -757,10 +758,10 @@ Phaser.Game.prototype = {
757
758
759
760
this._lastCount = count;
- }
761
762
- // call the game render update exactly once every frame
763
- this.updateRender(this._deltaTime / slowStep);
+ // call the game render update exactly once every frame unless we're playing catch-up from a spiral condition
+ this.updateRender(this._deltaTime / slowStep);
764
+ }
765
766
},
767
0 commit comments