Performance: Why scenes organize game content
MEDIUM IMPACT
This concept affects how quickly a game loads and how smoothly it runs by managing what content is active in memory.
Divide game content into multiple scenes and load/unload scenes as needed during gameplay.
Load all game objects and assets in a single scene regardless of level or gameplay section.
| Pattern | DOM Operations | Reflows | Paint Cost | Verdict |
|---|---|---|---|---|
| Single large scene with all content | N/A | N/A | High GPU and CPU load | [X] Bad |
| Multiple scenes loaded as needed | N/A | N/A | Lower GPU and CPU load | [OK] Good |