9
votes
2answers
519 views

Good practices in screen states management?

I wonder what are the best ways to organize different screens in a game? I am thinking of it like this: Inheriting a base State class, and overriding update and render methods, to handle the current ...
3
votes
3answers
455 views

How can state changes be batched while adhering to opaque-front-to-back/alpha-blended-back-to-front?

This is a question I've never been able to find the answer to. Batching objects with similar states is a major performance gain when rendering many objects. However, I've been learned various rules ...