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

Chapter 6. User Interface and HUD Creation with Flash

Even if the user interface is only a small part of a game, it is very important. There is no game that comes without it. It is the first thing you see once you start a game, and the HUD is visible nearly all the time during gameplay. The style of the UI/HUD has a big impact on the look and feel of a game. While it is needed to show important information (for example, health, current ammo, and so on), it also needs to fit into the rest of the scene. The worst thing will be to have a UI that just feels misplaced over the rest of the scene.

In this chapter, I will show you how to bring your own custom UI and HUD into our engine. Because CryENGINE 3 uses Scaleform GFx as a UI solution, you will need to have Adobe Flash to create your assets.

In this chapter, we shall:

  • Create a new 2D HUD with Adobe Flash

  • Write some simple ActionScript

  • Use the UI Emulator for easy testing and faster development of the UI

  • Load the new HUD and interact with it using...