"Optimal" game loop for 2D side-scroller
- by MrDatabase
Is it possible to describe an "optimal" (in terms of performance) layout for a 2D side-scroller's game loop? In this context the "game loop" takes user input, updates the states of game objects and draws the game objects.
For example having a GameObject base class with a deep inheritance hierarchy could be good for maintenance... you can do…