Switching to game mode

CryENGINE prides itself on the saying What you see is what you play, and the switching to game mode is a testament to this.

It goes without saying that testing your work often is the key to a successful project, and the quick easy use of switching to Game Mode within the Editor allows you to test at will without the need to close Sandbox.

Even though the Editor is built with this feature to allow Developers to check their work, this is still only an emulation. This means that there are several special editor rules and debug options available in this mode, which isn't fully representative of what the Player might see in the Pure Game. Even though it is an excellent idea to test often by switching to Game Mode, it is also important to do any final testing in the Launcher on your target platform to have a proper Pure Game experience.

In this recipe, we will cover the simple, but highly important use of switching to game mode. This function allows you to jump into your level instantly, and allows you to test what the player will see, hear, and feel within the location you are at with your Perspective Camera.

Getting ready

Have My_Level open inside of Sandbox (after completing either the Terrain sculpting or Generating a procedural terrain recipe).

Review the Navigating a level with the Sandbox Camera to get familiar with the Perspective View.

How to do it...

In the Sandbox main toolbar, find Game | Switch to Game or click on Ctrl + G. It's that simple.

Note

Game Logic can change the player's initial spawning location. If this logic is enabled, then you will be forced to spawn at this location as well when entering game mode.

See also

  • The Essential game objects recipe
  • The Running a map from the Launcher recipe
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.189.171.125