What problem does it solve?
Loading assets in Phaser can be error-prone and repetitive, requiring careful queuing, loading order, and global cache management across scenes. This skill consolidates the LoaderPlugin usage, asset types, and load events to ensure assets are available when needed and to provide a consistent loading workflow.
Core Features & Use Cases
- Centralized asset loading with this.load (images, atlases, audio, JSON, tilemaps, fonts) using preload() patterns.
- Automatic loader start and per-file progress events, with assets cached in the global texture and cache systems for cross-scene reuse.
- Real-world use case: a multi-scene game loads a common sprite sheet and maps in preload() once, and uses them across scenes without reloading.
Quick Start
Queue assets in preload() and rely on automatic loader progression to ensure all assets are ready before create().