Beginning C++ Game Programming - Third Edition: Learn C++ from scratch by building fun games
Horton, John
- 出版商: Packt Publishing
- 出版日期: 2024-05-31
- 售價: $1,900
- 貴賓價: 9.5 折 $1,805
- 語言: 英文
- 頁數: 648
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1835081746
- ISBN-13: 9781835081747
-
相關分類:
C++ 程式語言、Scratch
立即出貨 (庫存=1)
買這商品的人也買了...
-
$1,235MATLAB Programming for Engineers, 6/e (Paperback)
-
$580$493 -
$680$537 -
$1,600$1,568 -
$1,019$968 -
$708$673 -
$954$906 -
$2,010$1,910
相關主題
商品描述
Get to grips with programming and game development techniques using C++ libraries and Visual Studio 2022 with this updated edition of the bestselling series.
Key Features:- Create fun games in C++, with this up-to-date guide covering the latest features of C++20 and VS2022
- Build clones of popular games such as a Timberman clone, a Pong game, a Zombie Survival Shooter, and a platform endless runner game
- Discover tips to expand your finished games by thinking critically, technically, and creatively
Book Description:Always dreamed of creating your own games? With the third edition of Beginning C++ Game Programming, you can turn that dream into reality! This beginner-friendly guide is updated and improved to include the latest features of VS 2022, SFML, and modern C++20 programming techniques. You'll get a fun introduction to game programming by building four fully playable games of increasing complexity. You'll build clones of popular games such as Timberman, Pong, a Zombie survival shooter, and an endless runner.
The book starts by covering the basics of programming. You'll study key C++ topics, such as object-oriented programming (OOP) and C++ pointers and get acquainted with the Standard Template Library (STL). The book helps you learn about collision detection techniques and game physics by building a Pong game. As you build games, you'll also learn exciting game programming concepts such as vertex arrays, directional sound (spatialization), OpenGL programmable shaders, spawning objects, and much more. You'll dive deep into game mechanics and implement input handling, levelling up a character, and simple enemy AI. Finally, you'll explore game design patterns to enhance your C++ game programming skills.
By the end of the book, you'll have gained the knowledge you need to build your own games with exciting features from scratch.
What You Will Learn:- Set up your game project in VS 2022 and explore C++ libraries such as SFML
- Build games in C++ from the ground up, including graphics, physics, and input handling
- Implement core game concepts such as game animation, game physics, collision detection, scorekeeping, and game sound
- Implement automatically spawning objects and AI to create rich and engaging experiences
- Learn advanced game development concepts, such as OpenGL shaders, texture atlases, and parallax backgrounds
- Scale and reuse your game code with modern game programming design patterns
Who this book is for:This book is perfect for you if you have no C++ programming knowledge, you need a beginner-level refresher course, or you want to learn how to build games or just use games as an engaging way to learn C++. Whether you aspire to publish a game (perhaps on Steam) or just want to impress friends with your creations, you'll find this book useful
商品描述(中文翻譯)
這是一本暢銷系列的更新版,使用C++庫和Visual Studio 2022來掌握程式設計和遊戲開發技巧。
主要特點:
- 使用這本最新指南,使用C++創建有趣的遊戲,涵蓋C++20和VS2022的最新功能
- 建立流行遊戲的克隆版本,例如Timberman克隆、Pong遊戲、Zombie Survival Shooter和平台無盡奔跑遊戲
- 通過批判性、技術性和創造性的思考,發現擴展完成遊戲的技巧
書籍描述:
一直夢想著創建自己的遊戲嗎?有了第三版的《Beginning C++ Game Programming》,您可以將這個夢想變成現實!這本適合初學者的指南已經更新和改進,包括VS 2022、SFML和現代C++20編程技術的最新功能。通過構建四個越來越複雜的完全可玩遊戲,您將獲得有趣的遊戲編程入門。您將建立流行遊戲的克隆版本,例如Timberman、Pong、Zombie Survival Shooter和無盡奔跑遊戲。
本書首先介紹了編程的基礎知識。您將學習關鍵的C++主題,例如面向對象編程(OOP)和C++指針,並熟悉標準模板庫(STL)。本書通過構建Pong遊戲來幫助您學習碰撞檢測技術和遊戲物理學。在構建遊戲的過程中,您還將學習令人興奮的遊戲編程概念,例如頂點數組、方向聲音(空間化)、OpenGL可編程着色器、生成物件等等。您將深入研究遊戲機制,實現輸入處理、角色升級和簡單的敵人AI。最後,您將探索遊戲設計模式,以提升您的C++遊戲編程技能。
通過閱讀本書,您將獲得從頭開始建立自己的遊戲所需的知識。
您將學到什麼:
- 在VS 2022中設置遊戲項目,並探索SFML等C++庫
- 從頭開始使用C++構建遊戲,包括圖形、物理和輸入處理
- 實現核心遊戲概念,例如遊戲動畫、遊戲物理、碰撞檢測、計分和遊戲音效
- 實現自動生成物件和AI,創造豐富而引人入勝的體驗
- 學習高級遊戲開發概念,例如OpenGL着色器、紋理圖集和視差背景
- 使用現代遊戲編程設計模式來擴展和重用遊戲代碼
這本書適合對C++編程沒有任何知識的讀者,需要初學者級的複習課程,或者想要學習如何構建遊戲或僅僅使用遊戲作為學習C++的一種有趣方式的讀者。無論您是希望發布遊戲(也許在Steam上)還是只想用您的創作給朋友留下深刻印象,您都會發現這本書很有用。