loading-assets

Load and cache Phaser game assets asynchronously across scenes.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/Dominik-Steinweg/Fragdachse --skill loading-assets-dominik-steinweg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: loading-assets
Source: https://github.com/Dominik-Steinweg/Fragdachse/tree/main/.agents/skills/loading-assets
Command: npx skills add https://github.com/Dominik-Steinweg/Fragdachse --skill loading-assets-dominik-steinweg

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill resolves the complexity of managing external game assets, ensuring that images, audio, JSON, and other resources are correctly queued, loaded, and cached for seamless game performance.

Core Features & Use Cases

  • Unified Asset Pipeline: Provides a standardized approach to loading diverse file types including spritesheets, atlases, audio, and tilemaps.
  • Lifecycle Management: Offers precise control over the preload phase, progress tracking, and global cache access across different game scenes.
  • Use Case: When building a complex game, use this skill to implement a robust loading screen that tracks progress and ensures all textures and audio files are ready before the game starts.

Quick Start

Use the loading-assets skill to queue a new image and a spritesheet in your scene preload method.

Frequently Asked Questions about loading-assets

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I load images and audio in Phaser?

To load images and audio in Phaser, you queue them in the scene preload method for asynchronous loading and global caching. This ensures resources are correctly fetched and stored in the texture and cache managers before game execution.

How do I track asset loading progress for a Phaser game?

You track asset loading progress in Phaser by handling progress events during the asynchronous preload phase. This allows you to implement a loading screen that accurately reflects file fetching operations before the game starts.

Can I use Phaser cache managers to share assets across multiple scenes?

Yes, you can use global cache managers to share assets across multiple Phaser scenes. Once images, audio, or JSON data are loaded, they remain globally available for cross-scene asset availability and immediate access.

What is the best way to load Phaser spritesheets and tilemaps?

The best way to load Phaser spritesheets and tilemaps is through a unified asset pipeline. This standardized approach manages diverse file types within the preload lifecycle, ensuring textures and data are correctly cached for rendering.

How do pack file manifests work for asset loading in game development?

Pack file manifests group external game assets for batch loading within the Phaser framework. They facilitate advanced loading patterns by organizing multiple images, audio files, and JSON data into a single asynchronous queue request.