Framework to control 2D game screens