zazazayou Posted May 3, 2018 Share Posted May 3, 2018 Hey, I am trying to use a texture atlas that comes with xml and not json. its actually one from kenny nl's free assets, which seems to come with xml only. i cant find a phaser example which loads an xml, and if i convert the xml to a json using an online converter, the json is formatted wrong ( " Atlas JSON Hash given, missing 'frames' Object" ) thanks Link to comment Share on other sites More sharing options...
rich Posted May 3, 2018 Share Posted May 3, 2018 There's no support for XML as an atlas format yet, use some atlas software like Texture Packer (which now has a free version) or Shoebox and just create a new atlas by dragging the images you need into it, and exporting it as json. zazazayou 1 Link to comment Share on other sites More sharing options...
q25 Posted April 25, 2019 Share Posted April 25, 2019 this.load.atlasXML(...) works in phaser 3.16 See https://github.com/photonstorm/phaser3-examples/blob/master/public/src/loader/texture atlas xml/load xml texture atlas.js Link to comment Share on other sites More sharing options...
Recommended Posts