AnimationParser.XMLData()

<static> XMLData(game, xml) → {Phaser.FrameData}

Parse the XML data and extract the animation frame data from it.

Parameters
Name Type Description
game Phaser.Game

A reference to the currently running game.

xml object

The XML data from the Texture Atlas. Must be in Starling XML format.

Returns

A FrameData object containing the parsed frames.

Source code: animation/AnimationParser.js (Line 261)
doc_phaser
2017-02-14 10:36:10
Comments
Leave a Comment

Please login to continue.