Book Image

CryENGINE 3 Game Development: Beginner's Guide

Book Image

CryENGINE 3 Game Development: Beginner's Guide

Overview of this book

CryENGINE is a complete game development environment used by AAA game development studio Crytek to produce blockbuster games such as Crysis 1, 2 and 3. This complete Beginner's Guide takes the would be game developer through the steps required to create a game world complete with event scripting, user interface and 3D environment in the free CryENGINE SDK. Learn to create game worlds with the CryENGINE 3 Sandbox, the tool used to create AAA games like the soon to be released Crysis 3. Follow straightforward examples to sculpt the terrain, place vegetation, set up lighting, create game sounds, script with Lua and code with C++. Learn to navigate the interface within the CryENGINE 3 Sandbox, the tool used to create AAA games like Crysis 1 and 2, as well as the soon to be released Crysis 3. Learn to create your own worlds by following straight forward examples to sculpt the terrain, place vegetation, set up lighting, create game sounds, and script with the Lua language. The book covers all beginner aspects of game development including an introduction to C++ for non- coders.
Table of Contents (18 chapters)
CryENGINE 3 Game Development Beginner's Guide
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Time for action – starting Sandbox and WYSIWYP


Let's open the editor so that we can see the sample level from a developer's perspective. Perform the following steps:

  1. Navigate to the Bin32 or Bin64 folder in your installation of the CryENGINE 3 Free SDK.

  2. Run the editor.exe application in either 32 bit or 64 bit.

  3. Login with your CryDev account when prompted.

  4. Once the editor is open, go to File | Open.

  5. Browse to the Forest.cry file contained in the folder /game/levels/Singleplayer/forest/, and select Open.

  6. The editor application will then load the example map forest for us with which to experiment.

  7. Once the level is open, the first thing to try is to hit the shortcut Ctrl + G, or go to the Game menu, and choose Switch to Game.

    Upon switching to game, you will be able to instantly play as if you had loaded the level in the launcher.exe application, as you can see in the following screenshot:

    Using this feature, you are able to play the sample map the same way in the editor as you would in the launcher. This fact proves invaluable for iteration, because you can modify the majority of the game without having to restart the editor. It should be understood, however, that this is the emulated version of the game and doesn't fairly represent performance in the launcher as there is added overhead to running the Sandbox Editor and various debug modes.

  8. To go back to editing mode, press the Escape key at any time.

What just happened?

We have just learned how to launch and run a level in the editor and also how to simulate playing in the launcher. We will explore the interface to Sandbox in the next chapter of this book and do not be alarmed if the interface is a bit foreign to you.