Skip to Content
Core Techniques and Algorithms in Game Programming
book

Core Techniques and Algorithms in Game Programming

by Daniel Sánchez-Crespo Dalmau
September 2003
Intermediate to advanced
888 pages
19h 38m
English
New Riders
Content preview from Core Techniques and Algorithms in Game Programming

Chapter 9. Scripting

 

“Life is like a B-picture script. It is that corny. If I had my life story offered to me to film, I'd turn it down.”

 
 --Kirk Douglas

KEY TOPICS

  • Building a Scripting Language

  • Embedded Languages

  • Socket-Based Scripting

  • In Closing

So far we have discussed how hard-coded AI systems can deal with many scenarios efficiently, from action to strategy and everything in between. Some games will work fine with small AI systems, whereas others will require tons of code to implement the AI feature set. However, as the AI grows in complexity, keeping it hard-coded will eventually become a problem. Hard-coded AIs are efficient, but are often limited in terms of flexibility. The internals of the AI are built into the game's source, so adding or ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical Algorithms for 3D Computer Graphics, 2nd Edition

Practical Algorithms for 3D Computer Graphics, 2nd Edition

R. Stuart Ferguson

Publisher Resources

ISBN: 0131020099Purchase book