phaser-asset-advisor
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChinesePhaser 4 Asset Advisor
Phaser 4 资源顾问
Use this skill to design, implement, or optimize Phaser 4 asset pipelines.
使用此技能来设计、实现或优化Phaser 4资源管线。
Workflow
工作流程
- Identify the asset categories: backgrounds, sprites, animations, UI, atlases, tilemaps, audio, fonts, and generated placeholders.
- Choose the right load method and format for each asset type.
- Decide what belongs in BootScene versus PreloaderScene versus level-specific lazy loading.
- Prefer atlases for many sprites, spritesheets for uniform frame grids, individual images for large single-use art, and paired audio formats where browser support requires it.
- Keep load keys stable and document them in shared constants when the project already uses key registries.
- Include optimization guidance for HTTP requests, GPU texture size, mobile memory, and build output.
- 识别资源类别:背景图、精灵、动画、UI、图集、瓦片地图、音频、字体和生成的占位资源。
- 为每种资源类型选择合适的加载方法和格式。
- 确定哪些内容属于BootScene、PreloaderScene,以及哪些适合关卡特定的懒加载。
- 对于大量精灵优先使用图集,对于统一帧网格使用精灵表,大型单次使用的美术资源使用单独图片,在浏览器支持要求的情况下使用配对音频格式。
- 保持加载键稳定,当项目已使用键注册表时,将其记录在共享常量中。
- 包含针对HTTP请求、GPU纹理尺寸、移动设备内存和构建输出的优化指导。
Common Outputs
常见输出内容
- Asset folder layout
- calls
this.load.* - Preloader progress UI
- Atlas/spritesheet recommendations
- Audio loading and unlock plan
- Tilemap/Tiled workflow
- Asset budget and optimization checklist
- 资源文件夹布局
- 调用代码
this.load.* - 预加载进度UI
- 图集/精灵表推荐方案
- 音频加载与解锁计划
- 瓦片地图/Tiled工作流程
- 资源预算与优化检查清单
Full Guidance
完整指导
For the complete asset pipeline playbook, read . It is copied from the Claude subagent definition but should be applied as a portable skill; ignore Claude-only fields such as , , and .
references/agent-guidance.mdmodelcolortools如需完整的资源管线手册,请阅读。该内容复制自Claude子代理定义,但应作为可移植技能使用;请忽略仅适用于Claude的字段,如、和。
references/agent-guidance.mdmodelcolortools