Phaser home
Phaser AE
Open source
Phaser 4
Download
Learn
Editor
Tools
Docs
Examples
News
Log in
Examples
/
Loader
/
Image
Phaser 4.1.0
Phaser 4 examples
Image
7
examples
Examples
7
Load Image
Learn how to load external image files into the Phaser loader and display them as Image Game Objects in a scene.
Load Image From Object
Demonstrates how to load an image by passing a single configuration object containing the key and URL to the loader instead of using separate arguments.
Load Image on Click
Demonstrates how to load assets at runtime in response to a user event by manually starting the Loader outside of the preload phase.
Load Normal Map
Demonstrates how to load an image along with its associated normal map by passing an array of file paths to the loader.
Load Normal Map from Object
Demonstrates how to load an image and its associated normal map by passing a single configuration object to the loader.
Load WebP Image
Demonstrates how to load and display a WebP image file as a texture.
Loading Images with Normal Maps
Learn how to load an image with an associated normal map and use dynamic lighting to create depth and shadow effects that react to a moving light source.