Free Sample
+ Collection

CryENGINE SDK Game Programming Essentials [Video]

Richard Marcoux III

Elevate your game programming skills to the next level with CryENGINE
RRP $84.99

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Video Details

ISBN 139781849697460
Course Length2 hours and 30 minutes

About This Video

  • Create advanced AI behavior in Flowgraph
  • Create your own Flowgraph node in C++
  • Get your hands dirty writing some game logic using C++ and Lua

Who This Video Is For

If you want to get into game development as a game programmer this is the course for you. A basic to intermediate understanding of C++, along with a very basic understanding of the CryENGINE editor is needed to best understand this course.

Table of Contents

Setting Up Microsoft Visual Studio C++
Setting Up the Solution
Setting Up Include, Library, and Debug Directories
Compiling CryENGINE
Overview of CryENGINE Entities
Spawning Entities in the Editor
Changing the Entity Properties
A Look at the C++ Side
Entity System from a C++/Programming Perspective
The Entity System Overview
The SpawnEntity and RemoveEntity Functions
Entity Events and Their Importance
Creating a Custom C++ Entity from Scratch – Part I
Creating a New Class
Learning What the Functions Do
Filling in the Default Code
Creating a Custom C++ Entity from Scratch – Part II
Registering Our ProximityMine
Loading a 3D Model
Kill Entities in a Radius Part 1 (Proximity Check)
Kill Entities in a Radius Part 2 (Physics Impulse)
Kill Entities in a Radius Part 3 (Damage AI)
Creating a Custom C++ Entity from Scratch – Part III
Spawning through the Code Part 1
Spawning through the Code Part 2
Getting Accurate Placement Using Physics
Spawning through the Editor
Creating a Custom Lua Script for Our Entity
Creating the Lua Entity Script
Accessing Our Entity Script from C++
Changing Our New Entity Script Properties
Creating AI Behaviors in Flowgraph
A Brief Introduction to Flowgraph
Setting Up and Generating AI Navigation
Creating Our Own AI Behavior in Flowgraph
Creating a Custom Flownode from Scratch
Creating the Node Class
Adding Logic to Your Node Part 1
Adding Logic to Your Node Part 2
Adding Logic to Your Node Part 3
Adding Logic to Your Node Part 4
Testing Your Node Class in Game

What You Will Learn

  • Use C++, Lua, and CryENGINE 's interfaces to create game logic
  • Create AI navigation areas so that AI can move around
  • Script AI behavior using CryENGINE 's visual scripting Language “Flowgraph”
  • Program your own custom game object and place it into the game world
  • Add Lua functionality to entities
  • Fix common coding mistakes by debugging CRYENGINE Code

In Detail

CryENGINE is a complete game development solution that can run on multiple platforms. Its aim is to give intuitive tools to the developer, and it is one of the most beginner-friendly engines out there. It comes with a fully featured audio offering, AI and game scripting by Lua or the graphical Flowgraph system, an integrated physics engine, and a full suite of performance analysis tools. The ‘What you see is what you play’ Sandbox editor is the best feature of using this engine for game programming and it allows anyone, developer or not, to get in there and create something cool and unique.

This video course provides you with hands-on exercises that walk you through programming with CRYENGINE using C++ and Lua. Everything is presented with visual learners in mind, so you not only see what is happening on screen but also participate in creating your own code through step-by-step instructions.

In this video course, we start out by getting ready for the CryENGINE code by setting up our Visual Studio. Next we learn the correlation between editor-spawned entities and those spawned through C++. We then set out to create our very own entity in C++, in particular, a Proximity Mine entity. Further on, we will add Lua functionality to our newly created entity.

Further into the course, we turn our attention to the Flowgraph editor where we create some advanced AI behaviors and then proceed to test them out. Lastly, we will create our very own “Mine Listener” Flowgraph node that will be used to listen for mines being placed by a target entity.

CRYENGINE Game Programming Essentials is an amazing and exciting video course that will capture the interest of all aspiring game programmers. The activities you perform in this course are fun, practical, and tackle real-word game programming problems with ease. This video course will help you greatly in your endeavors to become a game programmer.



Read More