Kristiyan Posted May 29, 2018 Share Posted May 29, 2018 Hello everyone! I want to ask, how can i check what each atlas contains(data) after loading multiple atlases ? game.load.atlas('atlas', 'mg-game-objects-0.png', 'mg-game-objects-0.json'); game.load.atlas('atlas2','roullet/roullet.png' ,'roullet/roullet_atlas.json' ); Link to comment Share on other sites More sharing options...
casey Posted May 29, 2018 Share Posted May 29, 2018 Do you mean from within your code? You'd have to extract the filenames that are inside your JSON. Doing that would depend on how the JSON is structured. Externally, you can just open your JSON file and look at it and the filenames will match your filenames of the files that went into the atlas. Link to comment Share on other sites More sharing options...
Recommended Posts