Phaser home
Phaser AE
Open source
Phaser 4
Download
Learn
Editor
Tools
Docs
Examples
News
Log in
Examples
/
Loader
/
File Pack
Phaser 4.1.0
Phaser 4 examples
File Pack
6
examples
Examples
6
Chained Asset Pack Loading
Demonstrates how to load multiple asset packs recursively, where one JSON pack file triggers the loading of another.
JSON File Pack Loading
Demonstrates how to load multiple assets simultaneously using a JSON file pack manifest, including referencing assets with and without prefixes.
Load File Pack
Demonstrates how to use a JSON manifest file (File Pack) to define and load multiple assets at once using the loader's pack method.
Load File Pack From JSON Object
Demonstrates how to use a JavaScript object to define and load multiple assets at once using the Loader's pack method.
Load Specific Section of a File Pack
Demonstrates how to load a specific sub-section of assets from a JSON file pack by providing a data key.
Loading Atlas via File Pack
Demonstrates loading a JSON file pack that contains a texture atlas, then iterating through and displaying its frames.