Loads the queued assets and registers them in the appropriate stores.
Loader instance to use. In most cases you just want to pass the static PIXI Loader.
A promise that resolves when all of the operations are finishes successfully. Value of the promise will
always be true
.
Queues a spritesheet to be loaded. Every sprite in the sheet will be registered in the TextureStore with the name of the sprite, optionally prefixed.
URL pointing to the image to load for the spritesheet.
PIXI.SpriteSheet's format of data
Optional prefix which is added before every frame's name when loading it into TextureStore.
Queues a texture to be loaded and registered in the TextureStore.
Name by which the texture will be registered in TextureStore.
URL pointing to the image to load.
Queues a tileset to be registed in TextureStore.
Name of the texture to use as a base for the tileset - it may be a separately loaded texture or one of spritesheet's frames.
Tileset configuration.
Generated using TypeDoc
Upgrade to Pixi's resource loader capable of handling all types of assets commonly used in games and importing them for easy use.