Phaser home
Phaser AE
Open source
Phaser 4
Download
Learn
Editor
Tools
Docs
Examples
News
Log in
Examples
/
Loader
/
Base64
Phaser 4.1.0
Phaser 4 examples
Base64
4
examples
Examples
4
Base64 Bitmap Font
This example demonstrates how to load a bitmap font by providing Base64 encoded strings for both the image texture and the XML font data, instead of using external file paths.
Load Bitmap Text from Base64
Demonstrates how to manually parse and cache a Bitmap Font using base64 encoded PNG and XML data instead of external files.
Loading a Base64 Image
Demonstrates how to load and display an image by passing a Base64 encoded string directly to the Phaser Loader instead of a file URL.
Loading a Base64 Texture Atlas
Demonstrates how to load a texture atlas by passing Base64 encoded strings for both the image and the JSON data, instead of loading external files.