Procedural Content Generation for C++ Game Development(Paperback)
Dale Green
- 出版商: Packt Publishing
- 出版日期: 2016-01-28
- 售價: $2,170
- 貴賓價: 9.5 折 $2,062
- 語言: 英文
- 頁數: 304
- 裝訂: Paperback
- ISBN: 1785886711
- ISBN-13: 9781785886713
-
相關分類:
C++ 程式語言
海外代購書籍(需單獨結帳)
相關主題
商品描述
Get to know techniques and approaches to procedurally generate game content in C++ using Simple and Fast Multimedia Library
About This Book
- This book contains a bespoke Simple and Fast Multimedia Library (SFML) game engine with complete online documentation
- Through this book, you'll create games that are non-predictable and dynamic and have a high replayability factor
- Get a breakdown of the key techniques and approaches applied to a real game.
Who This Book Is For
If you are a game developer who is familiar with C++ and is looking to create bigger and more dynamic games, then this book is for you. The book assumes some prior experience with C++, but any intermediate concepts are clarified in detail. No prior experience with SFML is required.
What You Will Learn
- Discover the systems and ideology that lie at the heart of procedural systems
- Use Random number generation (RNG) with C++ data types to create random but controlled results
- Build levels procedurally with randomly located items and events
- Create dynamic game objects at runtime
- Construct games using a component-based approach
- Assemble non-predictable game events and scenarios
- Operate procedural generation to create dynamic content fast and easily
- Generate game environments for endless replayability
In Detail
Procedural generation is a growing trend in game development. It allows developers to create games that are bigger and more dynamic, giving the games a higher level of replayability. Procedural generation isn't just one technique, it's a collection of techniques and approaches that are used together to create dynamic systems and objects. C++ is the industry-standard programming language to write computer games. It's at the heart of most engines, and is incredibly powerful. SFML is an easy-to-use, cross-platform, and open-source multimedia library. Access to computer hardware is broken into succinct modules, making it a great choice if you want to develop cross-platform games with ease.
Using C++ and SFML technologies, this book will guide you through the techniques and approaches used to generate content procedurally within game development.
Throughout the course of this book, we'll look at examples of these technologies, starting with setting up a roguelike project using the C++ template. We'll then move on to using RNG with C++ data types and randomly scattering objects within a game map. We will create simple console examples to implement in a real game by creating unique and randomised game items, dynamic sprites, and effects, and procedurally generating game events. Then we will walk you through generating random game maps. At the end, we will have a retrospective look at the project.
By the end of the book, not only will you have a solid understanding of procedural generation, but you'll also have a working roguelike game that you will have extended using the examples provided.
Style and approach
This is an easy-to-follow guide where each topic is explained clearly and thoroughly through the use of a bespoke example, then implemented in a real game project.
商品描述(中文翻譯)
認識使用簡單快速多媒體庫(Simple and Fast Multimedia Library, SFML)在 C++ 中程序生成遊戲內容的技術和方法
關於本書
- 本書包含一個定制的簡單快速多媒體庫(SFML)遊戲引擎,並附有完整的在線文檔
- 通過本書,您將創建不可預測且動態的遊戲,並具有高重玩性
- 獲得應用於真實遊戲的關鍵技術和方法的詳細解析
本書適合誰
如果您是一位熟悉 C++ 的遊戲開發者,並希望創建更大且更具動態性的遊戲,那麼本書適合您。本書假設您對 C++ 有一定的先前經驗,但任何中級概念都會詳細說明。不需要具備 SFML 的先前經驗。
您將學到什麼
- 探索程序系統背後的系統和理念
- 使用隨機數生成(Random number generation, RNG)和 C++ 數據類型創建隨機但可控的結果
- 以程序方式構建隨機位置的物品和事件的關卡
- 在運行時創建動態遊戲物件
- 使用基於組件的方法構建遊戲
- 組合不可預測的遊戲事件和場景
- 操作程序生成以快速輕鬆地創建動態內容
- 生成遊戲環境以實現無盡的重玩性
詳細內容
程序生成是遊戲開發中的一個增長趨勢。它使開發者能夠創建更大且更具動態性的遊戲,從而提高遊戲的重玩性。程序生成不僅僅是一種技術,而是一系列技術和方法的集合,這些技術和方法共同用於創建動態系統和物件。C++ 是撰寫電腦遊戲的行業標準編程語言。它是大多數引擎的核心,功能強大。SFML 是一個易於使用的跨平台開源多媒體庫。對計算機硬體的訪問被劃分為簡潔的模塊,使其成為輕鬆開發跨平台遊戲的理想選擇。
本書將指導您使用 C++ 和 SFML 技術,了解在遊戲開發中程序生成內容的技術和方法。
在本書的過程中,我們將查看這些技術的示例,首先設置一個使用 C++ 模板的 Roguelike 項目。然後,我們將使用 RNG 和 C++ 數據類型,隨機散佈物件於遊戲地圖中。我們將創建簡單的控制台示例,以在真實遊戲中實現,創建獨特和隨機的遊戲物品、動態精靈和效果,並程序生成遊戲事件。接著,我們將引導您生成隨機遊戲地圖。最後,我們將對該項目進行回顧。
到本書結束時,您不僅將對程序生成有堅實的理解,還將擁有一個可運行的 Roguelike 遊戲,並使用提供的示例進行擴展。
風格和方法
這是一本易於跟隨的指南,每個主題都通過定制示例清晰而徹底地解釋,然後在真實遊戲項目中實施。