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 – creating a simple interactive menu


Follow the given steps:

  1. First of all, we need a simple graphic for the buttons. As you already know my programming art style, I have created three very simple images in Adobe Photoshop.

  2. Now, start Flash and create a new ActionScript 2.0 project. Import the three PNGs for the buttons. Create a new movieclip in the library (right-click in Library) and call it something like MyButton.

  3. Open the MyButton movieclip and create three keyframes. Place button_out.png into the first keyframe, button_over.png into the second keyframe, and button_down.png into the third keyframe. Now click on each keyframe and type in the label names—out for the first, over for the second, and down for the third keyframe (you can define the label name in the PROPERTIES panel if you click on a keyframe).

  4. Create a new layer, and add a dynamic textbox to it. Give it the instance name btnText. Make sure you embed the font (Lowercase and Uppercase). It is also important to...