Game Development with Three.js (Paperback)
暫譯: 使用 Three.js 的遊戲開發 (平裝本)
Isaac Sukin
- 出版商: Packt Publishing
- 出版日期: 2013-10-28
- 售價: $1,080
- 貴賓價: 9.5 折 $1,026
- 語言: 英文
- 頁數: 118
- 裝訂: Paperback
- ISBN: 1782168532
- ISBN-13: 9781782168539
-
相關分類:
JavaScript、WebGL
立即出貨 (庫存=1)
買這商品的人也買了...
-
$620$490 -
$690$587 -
$520$468 -
$780$663 -
$450$356 -
$1,050$1,029 -
$650$514 -
$2,030$1,929 -
$380$199 -
$600$468 -
$360$306 -
$550$435 -
$360$252 -
$780$616 -
$500$425 -
$560$442 -
$450$356 -
$500$395 -
$350$277 -
$1,200$840 -
$560$476 -
$720$562 -
$460$391 -
$420$332 -
$780$663
相關主題
商品描述
With Three.js you can create sophisticated 3D games that run in the web browser. This book is aimed at both the professional game designer and the enthusiast with a step by step approach including lots of tips and examples.
Overview
- Develop immersive 3D games that anyone can play on the Internet
- Learn Three.js from a gaming perspective, including everything you need to build beautiful and high-performance worlds
- A step-by-step guide filled with game-focused examples and tips
In Detail
The advent of WebGL and its inclusion in many browsers enabled JavaScript programs running in a web browser to access the GPU without a plugin or extension. Three.js is a next generation high-level library that makes it possible to author complex 3D computer animations that display in the browser using nothing more than a simple text editor. The development of these new tools has opened up the world of real-time 3D computer animations to a far broader spectrum of developers.
Starting with how to build 3D games on the web using the Three.js graphics library, you will learn how to build 3D worlds with meshes, lighting, user interaction, physics, and more. Along the way, you'll learn how to build great online games through fun examples. Use this book as a guide to embrace the next generation of game development!
Moving on from the basics, you will learn how to use Three.js to build game worlds using its core components, including renderers, geometries, materials, lighting, cameras, and scenes. Following on from this, you will learn how to work with mouse and keyboard interactions, incorporate game physics, and import custom models and animations. You will also learn how to include effects like particles, sounds, and post-processing. You will start by building a 3D world, and then create a first person shooter game using it. You will then be shown how to imbue this FPS game with a "capture the flag" gameplay objective. With Game Development with Three.js, you will be able to build 3D games on the Web using the Three.js graphics library.
What you will learn from this book
- Set up a Three.js scene representing a game world
- Understand the types of Three.js components, including geometries, materials, lighting, cameras, and renderers
- Interact with your games using the mouse and keyboard
- Structure your worlds with various approaches to physical collision
- Construct complex levels using several different methods
- Extend the Three.js framework with custom game-specific classes
- Gain insight into development processes and important design and performance considerations for web games
- Achieve a basic understanding of multiplayer game networking
Approach
A step-by-step, example-based guide to building immersive 3D games on the Web using the Three.js graphics library.
Who this book is written for
This book is for people interested in programming 3D games for the Web. Readers are expected to have basic knowledge of JavaScript syntax and a basic understanding of HTML and CSS. This book will be useful regardless of prior experience with game programming, whether you intend to build casual side projects or large-scale professional titles.
商品描述(中文翻譯)
使用 Three.js,您可以創建在網頁瀏覽器中運行的複雜 3D 遊戲。本書針對專業遊戲設計師和愛好者,採用逐步的方法,包含大量提示和範例。
概述
- 開發任何人都可以在互聯網上玩的沉浸式 3D 遊戲
- 從遊戲的角度學習 Three.js,包括構建美麗且高效能世界所需的一切
- 充滿遊戲焦點範例和提示的逐步指南
詳細內容
WebGL 的出現及其在許多瀏覽器中的包含,使得在網頁瀏覽器中運行的 JavaScript 程式能夠無需插件或擴展即可訪問 GPU。Three.js 是一個下一代高級庫,使得使用簡單的文本編輯器創建複雜的 3D 電腦動畫在瀏覽器中顯示成為可能。這些新工具的發展使得即時 3D 電腦動畫的世界對更廣泛的開發者開放。
從如何使用 Three.js 圖形庫在網絡上構建 3D 遊戲開始,您將學習如何使用網格、燈光、用戶互動、物理等構建 3D 世界。在這個過程中,您將通過有趣的範例學習如何構建出色的在線遊戲。將本書作為指南,迎接下一代遊戲開發的挑戰!
在掌握基礎知識後,您將學習如何使用 Three.js 的核心組件來構建遊戲世界,包括渲染器、幾何體、材質、燈光、相機和場景。接下來,您將學習如何處理滑鼠和鍵盤互動,整合遊戲物理,並導入自定義模型和動畫。您還將學習如何包含粒子、聲音和後處理等效果。您將從構建一個 3D 世界開始,然後使用它創建一個第一人稱射擊遊戲。接著,您將學習如何為這個 FPS 遊戲賦予「奪旗」的遊戲目標。通過《使用 Three.js 的遊戲開發》,您將能夠使用 Three.js 圖形庫在網絡上構建 3D 遊戲。
您將從本書中學到什麼
- 設置一個代表遊戲世界的 Three.js 場景
- 了解 Three.js 組件的類型,包括幾何體、材質、燈光、相機和渲染器
- 使用滑鼠和鍵盤與您的遊戲互動
- 使用各種方法結構化您的世界以處理物理碰撞
- 使用幾種不同的方法構建複雜的關卡
- 使用自定義的遊戲特定類擴展 Three.js 框架
- 深入了解開發過程以及網頁遊戲的重要設計和性能考量
- 對多人遊戲網絡有基本的理解
方法
一本逐步的、基於範例的指南,教您如何使用 Three.js 圖形庫在網絡上構建沉浸式 3D 遊戲。
本書的讀者對象
本書適合對為網絡編程 3D 遊戲感興趣的人。讀者應具備基本的 JavaScript 語法知識,以及對 HTML 和 CSS 的基本理解。無論您是打算構建休閒側項目還是大型專業作品,本書都將對您有所幫助。