phaser-build
Phaser Builder
Focused skill for building Phaser-based 2D web games and guidance aligned with Phaser's web-first design.
What Phaser Is
- HTML5 game framework for 2D games in web browsers
- Uses WebGL and Canvas rendering across desktop and mobile web
- Supports JavaScript and TypeScript development
- Works with many frontend frameworks and can be bundled for web delivery
- Complete API reference available for Phaser 3.87.0
Best Fit Scenarios
- 2D games targeting browsers on desktop and mobile
- Lightweight web playable builds (including embed-friendly environments)
- Rapid prototyping and production-grade 2D releases on the web
Not a Fit When
- You need full 3D rendering or 3D physics built-in
- You must publish on modern consoles like PS5, Xbox, or Switch
- You require a no-code editor-only workflow
Core Capabilities
- Game scaffolding and scene lifecycle setup
- Input handling, physics, sprites, and 2D animations
- Performance-aware rendering and asset loading strategies
- Web-oriented packaging and deployment guidance
API Surface Map
Core Runtime
- Phaser.Game: Bootstraps renderer, global systems, and main loop
- Phaser.Scene: Primary unit of gameplay logic and lifecycle
- Scene Plugins: Loader, Input, Cameras, Tween Manager, Time, Physics
Assets & Loading
- Loader Plugin: Preload images, spritesheets, audio, tilemaps, atlases
- Cache Manager: Shared asset caching across scenes
Display & Cameras
- Game Objects: Sprites, Images, Text, Graphics, Containers
- Cameras: Scene-level camera manager for view control and effects
Input & Interaction
- Input Plugin: Keyboard, pointer, gamepad input per scene
- Event Emitter: Scene events for lifecycle and custom hooks
Physics
- Arcade Physics: Lightweight built-in physics per scene
- Matter Physics: Optional physics system when configured
Animation & Time
- Animation Manager: Global animation definitions shared across scenes
- Tween Manager: Scene-level tweens for property animation
- Time / Clock: Timers, delayed calls, and time scaling
Audio
- Sound Manager: Global audio system for music and sfx
Scene Lifecycle
- init: Prepare state and read scene config
- preload: Load assets using the Loader Plugin
- create: Build objects, input, and systems
- update: Frame loop for gameplay logic
Global vs Scene Systems
- Global: Renderer, Animation Manager, Cache, Registry, Sound, Scene Manager
- Scene-local: Input, Tweens, Cameras, Loader, Physics
Development Guidance
- Prefer web-first design and browser performance constraints
- Use JavaScript or TypeScript only
- Keep architecture modular: scenes, systems, and reusable game objects
- Use Scene plugins instead of reaching into Game-level systems
Boundaries
Focus on Phaser 2D web games. Do not recommend Phaser for 3D-first or console-native releases.
More from jochenyang/jochen-ai-rules
ui-ux-pro-max
UI/UX design-system reasoning and UX quality audit skill. Use when user needs style direction, palette/typography selection, UX review, or design optimization before implementation. Do NOT use for backend logic or database design.
24devops-engineer
CI/CD pipeline design, containerization, and infrastructure management. Handles Docker, Kubernetes, monitoring setup (Prometheus/Grafana), and infrastructure-as-code (Terraform/Pulumi). Use when user asks to deploy, configure CI/CD, set up Docker/K8s, or manage infrastructure.
19handoff
Create and resume structured manual session handoffs for long-running development work. Use when approaching context limits, before manual reset, before switching models or IDEs, after a milestone, or when automatic compact would lose important implementation state.
1reflect
Review current conversation, analyze tasks, errors, and user feedback, extract learning opportunities for skill improvement. Use when user says "reflect", "review session", "what did we learn", "session summary", or after completing a complex task.
1developer
Comprehensive full-stack development for web, mobile, and game projects. Handles frontend (React/Vue/Angular), backend (Node.js/Python/Go/Java), mobile (Flutter/React Native/Swift/Kotlin), and game development (Unity/Unreal/Godot). Use when user asks to build, create, develop, implement, debug, or fix any web, mobile, or game project. Do NOT use for design-only tasks (use frontend-design or ui-ux-pro-max instead).
1mcp-builder
MCP server development for AI agents. Designs tool schemas, implements Python/TypeScript servers, creates evaluation tests. Use when user asks to build MCP server, create tool integration, or develop Claude plugins. Supports GitHub/Notion/Slack integrations.
1