I am writting a platformer.
During the game I would like to "freeze" it (block controlls, stop all interatcions , possible hurts, etc.) and show something like a tutorial screen, or for instance, play a video, or display some modal text.
After user interaction with this modal window is finished I would like to "unfreeze" layout and let the player continue playing.
How could I do this? What are best practicies for it?