C++ Game Development Cookbook

Druhin Mukherjee

  • 出版商: Packt Publishing
  • 出版日期: 2016-05-31
  • 售價: $1,730
  • 貴賓價: 9.5$1,644
  • 語言: 英文
  • 頁數: 346
  • 裝訂: Paperback
  • ISBN: 1785882724
  • ISBN-13: 9781785882722
  • 相關分類: C++ 程式語言
  • 下單後立即進貨 (約3~4週)

商品描述

Key Features

  • Level up your game programming skills with insightful recipes on building games in C++
  • Analyze the less commonly discussed problems with C++ applications to develop the best games
  • Improve the performance of your games with the new multi-threading and networking features of C++11

Book Description

C++ is one of the preferred languages for game development as it supports a variety of coding styles that provides low-level access to the system. C++ is still used as a preferred game programming language by many as it gives game programmers control of the entire architecture, including memory patterns and usage. However, there is little information available on how to harness the advanced features of C++ to build robust games.

This book will teach you techniques to develop logic and game code using C++. The primary goal of this book is to teach you to create high-quality games using C++ game programming scripts and techniques, regardless of the library or game engine you use. It will show you how to make use of the object-oriented capabilities of C++ so you can write well-structured and powerful games of any genre. The book also explores important areas such as physics programming and audio programming, and gives you other useful tips and tricks to improve your code.

By the end of this book, you will be competent in game programming using C++, and will be able to develop your own games in C++.

What you will learn

  • Explore the basics of game development to build great and effective features for your game
  • Develop your first text-based game using the various concepts of object-oriented programming
  • Use algorithms when developing games with various sorting and searching techniques
  • Exploit data structures in a game's development for data storage
  • Create your first 2D game using GDI library and sprite sheet.
  • Build your first advanced 2D game of space invaders using patterns such as observer, fly-weight, abstract factory, command, state, and more

About the Author

Druhin Mukherjee is currently the co-founder and technical Director at GodSpeed Games. He has, over the years, worked with clients such as Lightning Fish Games, Chromativity, Rockstar North, Tag Games, BBC, Dynamo Games, and Codemasters.

Druhin has been balancing making games and teaching video game programming to enthusiastic students. He spent 3 years in Auckland, New Zealand as a Senior Lecturer in the Games department at Media Design School.

As a passionate games developer, Druhin has been sharing his knowledge on the Internet as blogs and websites. His recently started website for solving game development puzzles has over thousand subscribers.

Druhin has collaborated with other writers and published many journals and papers; however, this is his first official effort to write a book.

Table of Contents

  1. Game Development Basics
  2. Object-Oriented Approach and Design in Games
  3. Data Structures in Game Development
  4. Algorithms for Game Development
  5. Event-Driven Programming – Making Your First 2D Game
  6. Design Patterns for Game Development
  7. Organizing and Backing Up
  8. AI in Game Development
  9. Physics in Game Development
  10. Multithreading in Game Development
  11. Networking in Game Development
  12. Audio in Game Development
  13. Tips and Tricks

商品描述(中文翻譯)

《關鍵特點》
- 透過深入的範例,提升你在 C++ 遊戲程式設計方面的技能
- 分析 C++ 應用程式中較少討論的問題,以開發最佳遊戲
- 利用 C++11 的多執行緒和網路功能,提升遊戲的效能

《書籍描述》
C++ 是遊戲開發中偏好的程式語言之一,因為它支援多種編碼風格,並提供對系統的低階存取。許多人仍然將 C++ 視為首選的遊戲程式設計語言,因為它讓遊戲程式設計師掌握整個架構,包括記憶體模式和使用方式。然而,目前對於如何運用 C++ 的高級功能來建構強大的遊戲的資訊相對較少。

本書將教授你使用 C++ 遊戲程式設計腳本和技巧來開發邏輯和遊戲程式碼的技巧。本書的主要目標是教導你使用 C++ 創建高品質的遊戲,無論你使用的是哪個庫或遊戲引擎。它將向你展示如何利用 C++ 的物件導向能力,以便編寫結構良好且功能強大的各種類型的遊戲。本書還探討了物理程式設計和音效程式設計等重要領域,並提供其他有用的技巧和訣竅來改進你的程式碼。

通過閱讀本書,你將能夠熟練使用 C++ 進行遊戲程式設計,並能夠自己開發 C++ 遊戲。

《你將學到什麼》
- 探索遊戲開發的基礎,為你的遊戲建立出色且有效的功能
- 使用物件導向程式設計的各種概念,開發你的第一個文字遊戲
- 在遊戲開發中使用各種排序和搜尋技巧時,運用演算法
- 在遊戲開發中利用資料結構進行資料儲存
- 使用 GDI 库和精靈表,創建你的第一個 2D 遊戲
- 使用觀察者、輕量級、抽象工廠、命令、狀態等模式,建立你的第一個高級 2D 遊戲(太空入侵者)

《關於作者》
Druhin Mukherjee 目前是 GodSpeed Games 的聯合創始人和技術總監。多年來,他曾與 Lightning Fish Games、Chromativity、Rockstar North、Tag Games、BBC、Dynamo Games 和 Codemasters 等客戶合作。

Druhin 一直在平衡製作遊戲和教授熱情的學生遊戲程式設計。他曾在紐西蘭奧克蘭擔任 Media Design School 遊戲系的高級講師長達 3 年。

作為一位熱情的遊戲開發者,Druhin 一直在網上分享他的知識,包括博客和網站。他最近開設的解決遊戲開發難題的網站已經有超過一千名訂閱者。

Druhin 曾與其他作家合作並發表了許多期刊和論文;然而,這是他第一次正式撰寫一本書。

《目錄》
1. 遊戲開發基礎
2. 遊戲中的物件導向方法和設計
3. 遊戲開發中的資料結構
4. 遊戲開發中的演算法
5. 事件驅動程式設計 - 創建你的第一個 2D 遊戲
6. 遊戲開發中的設計模式
7. 組織和備份
8. 遊戲開發中的人工智慧
9. 遊戲開發中的物理
10. 遊戲開發中的多執行緒
11. 遊戲開發中的網路
12. 遊戲開發中的音效
13. 技巧和訣竅