Make a pause menu with two scenes

We will see how to pause scene using basic event and action. This tutorial is really basic, the best is to download and test by yourself the attached file.

Explanations: you'll need at least 2 scenes in your project to be able to pause a scene, load another one (to access a menu with options for example). We're using:

  • Conditions from the “scene” folder
  • Actions from the “scene” folder
  • Conditions from the “keyboard” folder

Basically, pushing the “b” key in the example files (after you compiled/exported it to the web) will switch from scene #1 to scene #2. While the scene #2 is displayed, ths scene 1 isn't destructed but all actions/avents are frozen (paused!) in it.

The example file is both in english and french: