Phaser home
Phaser AE
Open source
Phaser 4
Download
Learn
Editor
Tools
Docs
Examples
News
Log in
Examples
/
Loader
/
Sprite Sheet
Phaser 4.1.0
Phaser 4 examples
Sprite Sheet
4
examples
Examples
4
Load Sprite Sheet
Demonstrates how to load sprite sheets by defining frame dimensions, create animations from frame numbers, and display specific individual frames.
Load Sprite Sheet From Object
This example shows how to load a sprite sheet by passing a single configuration object to the loader, specifying the asset key, URL, and frame dimensions.
Load Sprite Sheet From Object Array
Demonstrates how to load multiple sprite sheets simultaneously by passing an array of configuration objects to the loader.
Loading Sprite Sheets via Scene Payload
Demonstrates how to load a sprite sheet and its frame configuration by defining it within the Scene constructor's pack property, instead of using the preload method.