官术网_书友最值得收藏!

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
主站蜘蛛池模板: 佛冈县| 辛集市| 建湖县| 长垣县| 阿鲁科尔沁旗| 安康市| 泸定县| 章丘市| 河北区| 黄陵县| 五莲县| 东光县| 肥城市| 渭源县| 清苑县| 米易县| 南城县| 浦县| 西和县| 壶关县| 揭西县| 泸水县| 黄山市| 北碚区| 遂溪县| 耒阳市| 保山市| 苏尼特左旗| 南陵县| 乡宁县| 迁西县| 屏东县| 杂多县| 德格县| 宜都市| 偏关县| 康定县| 集安市| 辽中县| 荆门市| 金秀|