The resources loader of the game.
The image manager of the game.
Get the Pixi TextureAtlas for the given resource that is already loaded (preloaded or loaded with load
).
If the resource is not loaded, null
will be returned.
The name of the atlas resource.
the TextureAtlas of the atlas if loaded, null
otherwise.
Load specified atlas resource and pass it to callback once it is loaded.
The data of resource to load.
The callback to pass atlas to it once it is loaded.
AtlasManager loads atlas files with pixi loader, using the "atlas" resources registered in the game resources and process them to Pixi TextureAtlas.
Contrary to audio/fonts, text files are loaded asynchronously, when requested. You should properly handle errors, and give the developer/player a way to know that loading failed.