Practical C++ Game Programming with Data Structures and Algorithms
內容簡介
Explore expert techniques in C++ to tackle performance bottlenecks, AI logic, and rendering issues for smoother, smarter, and scalable game development
Key Features:
- Solve real-world game dev problems with expert C++ data structures and algorithms
- Learn through practical, executable code instead of abstract theory or pseudocode
- Build responsive, high-performance games with advanced rendering and AI techniques
- Print or Kindle purchase includes a free PDF eBook
Book Description:
Game development demands performance-driven solutions-from rendering complex 3D scenes to managing AI behavior and handling animations. This hands-on book guides you in solving these challenges using high-performance C++ data structures and algorithms. The authors distill their decades of combined industry experience to help you apply practical C++ techniques to create smooth, scalable, and intelligent games. Instead of pseudocode or abstract theory, you'll work with real, executable examples that translate directly to your projects. Demos in this book have been developed based on raylib library, providing accessible and efficient foundations for learning.
Opening with a structured overview of algorithmic thinking in C++ game development, the book covers advanced algorithms and their applications in real-world game scenarios. You'll implement data structures that optimize game functionality, solve algorithmic problems efficiently, and enhance gameplay with robust AI and rendering techniques. In addition, the key focus is collision detection, 2D/3D rendering, animation, camera controls, and machine learning-driven AI, all through practical, executable C++ code.
By the end of this book, you'll be able to confidently apply advanced C++ techniques to develop efficient, scalable, and feature-rich gameplay systems for modern games.
What You Will Learn:
- Apply data structures and algorithms to solve real game development problems
- Apply rendering techniques, such as shader, lighting, soft shadow, particles, and quad-tree terrain
- Build dynamic camera systems like third-person, rail, top-down, and split-screen views
- Animate skeletal characters using interpolation and inverse kinematics
- Implement NPC AI with FSM, behavior tree, A* pathfinding, and steering
- Explore ML with neural networks in a hands-on AI turret defense project
- Performance and memory optimization using techniques like object pooling and LOD
Who this book is for:
This book is for experienced game programmers, technical artists, and developers looking to refine their skills through real-world C++ solutions. A foundational understanding of C++, data structures, and core game development principles will be beneficial. Whether you want to deepen your expertise or are looking for a reliable reference guide, this book will be your trusted companion in building better games.
Table of Contents
- Gearing Up: C++ for Game Development
- Data Structures in Action: Building Game Functionality
- Algorithms Commonly Utilized in Game Development
- 2D Rendering and Effects
- The Camera and Camera Controls
- 3D Graphics Rendering
- Rendering a 3D Game World
- Animating Your Characters
- Building AI Opponents
- Machine Learning Algorithms for Game AI
- Continuing Your Learning Journey
配送方式
-
台灣
- 國內宅配:本島、離島
-
到店取貨:
不限金額免運費
-
海外
- 國際快遞:全球
-
港澳店取:
訂購/退換貨須知
加入金石堂 LINE 官方帳號『完成綁定』,隨時掌握出貨動態:
商品運送說明:
- 本公司所提供的產品配送區域範圍目前僅限台灣本島。注意!收件地址請勿為郵政信箱。
- 商品將由廠商透過貨運或是郵局寄送。消費者訂購之商品若無法送達,經電話或 E-mail無法聯繫逾三天者,本公司將取消該筆訂單,並且全額退款。
- 當廠商出貨後,您會收到E-mail出貨通知,您也可透過【訂單查詢】確認出貨情況。
- 產品顏色可能會因網頁呈現與拍攝關係產生色差,圖片僅供參考,商品依實際供貨樣式為準。
- 如果是大型商品(如:傢俱、床墊、家電、運動器材等)及需安裝商品,請依商品頁面說明為主。訂單完成收款確認後,出貨廠商將會和您聯繫確認相關配送等細節。
- 偏遠地區、樓層費及其它加價費用,皆由廠商於約定配送時一併告知,廠商將保留出貨與否的權利。
提醒您!!
金石堂及銀行均不會請您操作ATM! 如接獲電話要求您前往ATM提款機,請不要聽從指示,以免受騙上當!
退換貨須知:
**提醒您,鑑賞期不等於試用期,退回商品須為全新狀態**
-
依據「消費者保護法」第19條及行政院消費者保護處公告之「通訊交易解除權合理例外情事適用準則」,以下商品購買後,除商品本身有瑕疵外,將不提供7天的猶豫期:
- 易於腐敗、保存期限較短或解約時即將逾期。(如:生鮮食品)
- 依消費者要求所為之客製化給付。(客製化商品)
- 報紙、期刊或雜誌。(含MOOK、外文雜誌)
- 經消費者拆封之影音商品或電腦軟體。
- 非以有形媒介提供之數位內容或一經提供即為完成之線上服務,經消費者事先同意始提供。(如:電子書、電子雜誌、下載版軟體、虛擬商品…等)
- 已拆封之個人衛生用品。(如:內衣褲、刮鬍刀、除毛刀…等)
- 若非上列種類商品,均享有到貨7天的猶豫期(含例假日)。
- 辦理退換貨時,商品(組合商品恕無法接受單獨退貨)必須是您收到商品時的原始狀態(包含商品本體、配件、贈品、保證書、所有附隨資料文件及原廠內外包裝…等),請勿直接使用原廠包裝寄送,或於原廠包裝上黏貼紙張或書寫文字。
- 退回商品若無法回復原狀,將請您負擔回復原狀所需費用,嚴重時將影響您的退貨權益。




商品評價