phaser-best-practices

Review Phaser 3 scene architecture and identify performance bottlenecks.

Updated May 18, 2026
One-click install
npx skills add https://github.com/afovea/game-dev-skills --skill phaser-best-practices
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: phaser-best-practices
Source: https://github.com/afovea/game-dev-skills/tree/main/plugins/game-tech/skills/phaser-best-practices
Command: npx skills add https://github.com/afovea/game-dev-skills --skill phaser-best-practices

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill addresses common performance bottlenecks and architectural pitfalls in Phaser 3 development, such as memory leaks, inefficient asset loading, and improper scene management.

Core Features & Use Cases

  • Performance Optimization: Provides critical rules for object pooling, texture atlas usage, and mobile-specific rendering adjustments.
  • Architectural Guidance: Offers standardized patterns for scene lifecycles, input handling, and inter-scene communication.
  • Use Case: Use this skill when you need to debug a frame-rate drop in a complex scene or when setting up a new project to ensure your asset pipeline and physics configuration follow industry standards.

Quick Start

Invoke the phaser-best-practices skill to review your current scene architecture and identify potential memory leaks or performance bottlenecks.

Frequently Asked Questions about phaser-best-practices

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

FAQPage Schema
How do I fix a frame-rate drop in a complex Phaser 3 scene?

To fix a frame-rate drop in a complex Phaser 3 scene, review your architecture for memory leaks and apply object pooling, texture atlas usage, and mobile-specific rendering adjustments to eliminate performance bottlenecks.

What is the best way to structure scene lifecycles and manage assets in Phaser 3?

The best way to structure scene lifecycles and manage assets in Phaser 3 is by implementing standardized architectural patterns for inter-scene communication, input handling, and efficient asset loading pipelines.

Does this Phaser 3 guidance apply to mobile-responsive web game development?

Yes, this Phaser 3 guidance applies to mobile-responsive web game development by providing mobile-specific rendering adjustments and physics configuration rules to ensure efficient performance across devices.

How do I prevent memory leaks when managing objects in Phaser 3?

To prevent memory leaks in Phaser 3, apply expert-level memory management techniques by utilizing object pooling for entities and properly managing scene lifecycles to clean up inactive game objects.

Why does my Phaser 3 game experience performance bottlenecks during rendering?

Your Phaser 3 game experiences performance bottlenecks during rendering due to inefficient asset loading and improper scene management, which can be resolved by adopting texture atlases and optimizing rendering pipelines.