Chapter 11. Scripting Languages and Data Formats

When writing code that drives gameplay, it is increasingly common to utilize a scripting language. This chapter explores the advantages and disadvantages of using a scripting language, as well as several of the potential language options.

A further consideration is how data that describes the level and other properties of the game should be stored. As with scripting languages, there are several options for representing data, both binary and text based.

Scripting Languages

For many years, games were written entirely in assembly. That’s because extracting a high performance out of those earlier machines required a level of optimization that was only possible with assembly. But as computers became ...

Get Game Programming Algorithms and Techniques: A Platform-Agnostic Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.