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 – using the UI Emulator to test the FreeSDK demo menus


Follow the given steps:

  1. Open the UI Emulator and enable the Flow Graph updates (the play button in the top menu bar). Clear the state by pressing the little trash icon.

  2. Now click on the Sys->UI button in the Objects panel. If you select the System UIEventSytem, you will find a list of all the system events. If you double-click on one of the events in the event list, it gets attached to the Emulation panel on the right.

  3. For now, we want to see what happens if the game starts, if a level loads, and if the gameplay starts. So let's add the following events to the Emulation panel:

    • OnSystemStart

    • OnLoadingStart

    • OnGameplayStated

  4. If you call OnSystemStart, the main menu should appear. You can also look into the Flow Graph and enable Flow Graph debugging to see which nodes are triggered to fill the main menu. The flow starts in the sys_statecontrol UI Action (there should be the UI:Events:System:OnSystemStart node that then starts...