We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e588ff5 commit d34a325Copy full SHA for d34a325
2 files changed
v3/src/checksum.js
@@ -1,4 +1,4 @@
1
var CHECKSUM = {
2
-build: 'e7a99d10-1a09-11e7-9d35-b9c669b4e95e'
+build: '15430db0-1a19-11e7-90e9-c9fa246fdb12'
3
};
4
module.exports = CHECKSUM;
v3/src/components/Animation.js
@@ -91,6 +91,8 @@ Animation.prototype = {
91
this.isPlaying = true;
92
this.pendingRepeat = false;
93
94
+ this.prevTick = this.parent.state.game.mainloop.lastFrameTimeMs;
95
+
96
return this.parent;
97
},
98
@@ -126,7 +128,7 @@ Animation.prototype = {
126
128
// TODO: Add value argument
127
129
progress: function ()
130
{
- var p = this.currentFrame.index / this.currentAnim.frames.length;
131
+ var p = this.currentFrame.progress;
132
133
if (!this.forward)
134
0 commit comments