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 – enabling Debug Draw modes


This example will include extensive use of the console, and as in the previous examples of this chapter, you must have a populated level opened in the editor application for majority of these functions.

As our goal is to provide the best performance, we need to be visually able to observe the impact of using different features, especially in combination with each other.

  1. The first debug view that we will use is the r_stats 1 view. Enable this view by typing in r_stats = 1 into the console within Sandbox.

    As you can see in the previous screenshot, this view breaks down the per-frame statistics of the renderer. This is extremely important as the render takes up the highest percentage, in most cases, of the frame time. It is also the most important view to use when following certain budget guidelines, as designers and artist have direct control over these variables by adjusting the number of lights in their viewable scenes or even by adjusting the decals...