January 2016
Beginner
512 pages
12h 35m
English
In this chapter, you will learn how to bring scripting facilities to your programs. You will gain knowledge of how to use a language based on JavaScript to implement the logic and details of your game without having to rebuild the main game engine. Although the environment we are going to focus on blends best with Qt applications, if you don't like JavaScript you will be given suggestions about other languages that you can use to make your games scriptable.
You might ask yourself, why should I use any scripting language if I can implement everything I need in C++? There are a number of benefits to providing a scripting environment to your games. Most modern games really consist of two parts. One of them is the main ...