A game loop GameEngine2D style