TexturepackerLoader extension

on
  • Game

Methods

atlasFromAssets(String assetsPath) Future<TexturePackerAtlas>
Loads the specified pack file from assets Uses the parent directory of the pack file to find the page images.
atlasFromStorage(String storagePath) Future<TexturePackerAtlas>
Loads the specified pack file from storage Uses the parent directory of the pack file to find the page images.
fromAtlas(String assetsPath, {bool fromStorage = false}) Future<TexturePackerAtlas>
Loads the specified pack file. Uses the parent directory of the pack file to find the page images.