Beginning C++ Game Programming : Learn C++ from scratch by building fun games, 3/e (Paperback)
暫譯: C++ 遊戲程式設計入門:從零開始學習 C++,透過製作有趣的遊戲,第三版 (平裝本)

John Horton

  • 出版商: Packt Publishing
  • 出版日期: 2024-05-31
  • 售價: $2,040
  • 貴賓價: 9.5$1,938
  • 語言: 英文
  • 頁數: 648
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1835081746
  • ISBN-13: 9781835081747
  • 相關分類: C++ 程式語言Scratch
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

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 遊戲、殭屍生存射擊遊戲和平台無盡跑者遊戲

- 發現擴展已完成遊戲的技巧,透過批判性、技術性和創造性思考

書籍描述:

一直夢想創建自己的遊戲嗎?透過《Beginning C++ Game Programming》第三版,您可以將這個夢想變為現實!這本適合初學者的指南已更新並改進,包含 VS 2022、SFML 和現代 C++20 程式設計技術的最新功能。您將透過構建四個可玩性逐漸增加的遊戲,獲得有趣的遊戲程式設計入門。您將建立流行遊戲的克隆,例如 Timberman、Pong、殭屍生存射擊遊戲和無盡跑者。

本書首先涵蓋程式設計的基本知識。您將學習關鍵的 C++ 主題,例如物件導向程式設計 (OOP) 和 C++ 指標,並熟悉標準模板庫 (STL)。本書幫助您通過構建 Pong 遊戲來了解碰撞檢測技術和遊戲物理。隨著您構建遊戲,您還將學習令人興奮的遊戲程式設計概念,例如頂點陣列、方向性聲音(空間化)、OpenGL 可程式化著色器、生成物件等。您將深入了解遊戲機制,實現輸入處理、角色升級和簡單的敵人 AI。最後,您將探索遊戲設計模式,以提升您的 C++ 遊戲程式設計技能。

在書籍結束時,您將獲得構建自己的遊戲所需的知識,並具備從零開始實現令人興奮功能的能力。

您將學到的內容:

- 在 VS 2022 中設置您的遊戲專案,並探索 C++ 函式庫,例如 SFML

- 從頭開始在 C++ 中構建遊戲,包括圖形、物理和輸入處理

- 實現核心遊戲概念,例如遊戲動畫、遊戲物理、碰撞檢測、計分和遊戲聲音

- 實現自動生成物件和 AI,以創造豐富且引人入勝的體驗

- 學習進階遊戲開發概念,例如 OpenGL 著色器、紋理圖集和視差背景

- 使用現代遊戲程式設計設計模式來擴展和重用您的遊戲程式碼

本書適合對象:

如果您對 C++ 程式設計沒有任何知識,需要初學者級別的複習課程,或想學習如何構建遊戲,或僅僅想利用遊戲作為學習 C++ 的有趣方式,那麼這本書非常適合您。無論您是希望發佈遊戲(也許在 Steam 上)還是僅僅想用您的創作來給朋友留下深刻印象,您都會發現這本書非常有用。