Performance: Sprite creation and import
MEDIUM IMPACT
This affects the game's loading time and rendering performance by controlling texture size, compression, and draw calls.
Use a single sprite atlas with compressed textures and appropriate max size settings.
Import sprites at full resolution with no compression and multiple separate textures for each frame.
| Pattern | DOM Operations | Reflows | Paint Cost | Verdict |
|---|---|---|---|---|
| Multiple separate sprite textures | N/A | N/A | High GPU draw calls | [X] Bad |
| Single compressed sprite atlas | N/A | N/A | Low GPU draw calls | [OK] Good |