C# Game Programming Cookbook for Unity 3D (Paperback)

Jeff W. Murray

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

商品描述

An Accessible, Modular Style of Game Building—Easily Start Making Games with Unity 3D

C# Game Programming Cookbook for Unity 3D presents a highly flexible core framework to create just about any type of game by plugging in different script components. Most scripts function within the game framework or in your own structures. The techniques and concepts discussed in the book give you a solid foundation in game development.

 

The first ten chapters set up the flexible, reusable framework based in C# and suitable for all game types. The book also explains scripting of generic, reusable, and common functionality.

 

The remainder of the text adds game-specific code to the framework to create four example games: a top-down arena shooter, a futuristic racing combat game, a tank arena deathmatch game, and a classic arcade-style vertical scrolling shoot ’em up. The games encompass artificial intelligence (path following, target chasing, and line-of-sight patrolling behaviors), game state control, wheel colliders, and weapon inventory management. The example files are available for download on the book’s CRC Press web page.

 

Reducing your recoding, repurposing, or adaptation time, this book provides script-based components that you can use to jump start your own projects. The book’s modular components can be mixed and matched to build various kinds of video games for the Unity game engine.

商品描述(中文翻譯)

《Unity 3D C#遊戲程式設計食譜》是一本易於上手的遊戲建立書籍,提供了一個靈活的核心框架,通過插入不同的腳本組件來創建各種類型的遊戲。大多數腳本功能都在遊戲框架內或者在您自己的結構中運行。本書討論的技術和概念為您在遊戲開發方面打下了堅實的基礎。

前十章建立了一個基於C#的靈活、可重用的框架,適用於所有類型的遊戲。本書還解釋了通用、可重用和常見功能的腳本編寫。

書中的其餘部分將遊戲特定的代碼添加到框架中,創建了四個示例遊戲:一個自上而下的競技場射擊遊戲、一個未來主義賽車戰鬥遊戲、一個坦克競技場死鬥遊戲和一個經典的街機風格垂直捲軸射擊遊戲。這些遊戲涵蓋了人工智能(路徑跟隨、目標追蹤和視線巡邏行為)、遊戲狀態控制、輪子碰撞器和武器庫管理。示例文件可在本書的CRC Press網頁上下載。

本書提供了基於腳本的組件,可減少您重新編碼、重新適應或修改的時間,並可用於啟動您自己的項目。本書的模塊化組件可以混合和匹配,用於構建各種類型的Unity遊戲引擎的視頻遊戲。