How to disable the Lollipop notification popups while in a game?
I know of an app called Greenify that can hibernate apps to prevent notifications from popping up.

You can also simply tell it to hibernate with the screen on with the push of a button. Just open up the main screen and if any activities are awake that you want to hibernate, push the zzz button.