<static> JSONDataPyxel(game, json) → {Phaser.FrameData}
Parse the JSON data and extract the animation frame data from it.
Parameters
Name | Type | Description |
---|---|---|
game | Phaser.Game | A reference to the currently running game. |
json | object | The JSON data from the Texture Atlas. Must be in Pyxel JSON format. |
Returns
A FrameData object containing the parsed frames.
- Source code: animation/AnimationParser.js (Line 147)
Please login to continue.