mirror of
https://github.com/wassname/phaser.git
synced 2026-08-04 13:14:14 +08:00
New: You'll now find a complete Basic project Template in the resources/Project Templates folder. Will add more complex ones soon.
This commit is contained in:
@@ -192,12 +192,14 @@ Phaser.AnimationManager.prototype = {
|
||||
{
|
||||
if (this.currentAnim.isPlaying == false)
|
||||
{
|
||||
this.currentAnim.paused = false;
|
||||
return this.currentAnim.play(frameRate, loop, killOnComplete);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.currentAnim = this._anims[name];
|
||||
this.currentAnim.paused = false;
|
||||
return this.currentAnim.play(frameRate, loop, killOnComplete);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user