Improving Runtime Performance with the Scene Optimizer
Developing games for a given platform comes with its own set of unique challenges and benefits. Console games have the benefit of having standard hardware specifications and drivers to target, but at the expense of those same hardware specifications creating severe limitations in other areas, such as RAM or video RAM (vRAM). Browser-based games have their own bag of double-edged swords too β the ubiquitous nature of JavaScript and the web brings similar problems to console developers with restricted hardware specs, and some of the same problems that PC developers must face with a wide variety of hardware combinations.
Using the tools and lessons from this chapter and the preceding chapters of this book, itβs easy to imagine writing some code β a coroutine perhaps β that monitors the real-time performance of the application and makes tweaks to various settings in response to bring frame rates up to...