phaserjs / phaser-ce

Phaser CE is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.

Home Page:http://phaser.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

a API bug at Phaser.FrameData

Tobepeter opened this issue · comments

commented

This Issue is about (pick one, ✏️ delete others)

  • A bug in the API: Phaser.FrameData#clone
    • Phaser version(s): latest
// line 123
for (var p in this._frameNames)
{
    if (this._frameNames.hasOwnProperty(p))
    {
        output._frameNames.push(this._frameNames[p]);

        // ## fix ## (maybe we should try this?)
        output._frameNames[p] = this._frameNames[p]
    }
}