optimized game for different window resolutions