O'Reilly logo

Game Programming using Qt 5 Beginner's Guide - Second Edition by Lorenz Haas, Witold Wysota, Pavel Strakhov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Why script?

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 is the main game engine that implements the core of the game (data structures, processing algorithms, and the rendering layer) and exposes an API to the other component, which provides details, behavior patterns, and action flows for the game. This other component is sometimes written in a scripting language. The main benefit of this is that story designers can work independently from the engine developers, and they don't have to rebuild the whole game just to modify some of its parameters ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required