Building a 2D Game Physics Engine: Using HTML5 and JavaScript(快遞進口)

Michael Tanaya, Huaming Chen, Jebediah Pavleas, Kelvin Sung

  • 出版商: Apress
  • 出版日期: 2017-01-13
  • 售價: $1,740
  • 貴賓價: 9.5$1,653
  • 語言: 英文
  • 頁數: 116
  • 裝訂: Paperback
  • ISBN: 1484225821
  • ISBN-13: 9781484225820
  • 相關分類: HTMLJavaScript物理學 Physics
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Build your very own 2D physics-based game engine simulation system for rigid body dynamics. Beginning from scratch, in this book you will cover the implementation technologies, HTML5 and JavaScript; assemble a simple and yet complete fundamental mathematics support library; define basic rigid body behaviors; detect and resolve rigid body collisions; and simulate collision responses after the collisions.

In this way, by the end of Building a 2D Game Physics Engine, you will have an in‐depth understanding of the specific concepts and events, implementation details, and actual source code of a physics game engine that is suitable for building 2D games or templates for any 2D games you can create and can be played across the Internet via popular web‐browsers.


What You'll Learn

  • Gain an understanding of 2D game engine physics and how to utilize it in your own games
  • Describe the basic behaviors of rigid bodies
  • Detect collisions between rigid bodies
  • Resolve interpretations after rigid body collisions
  • Model and implement rigid body impulse responses


Who This Book Is For

Game enthusiasts, hobbyists, and anyone who is interested in building their own 2D physics game engines but is unsure of how to begin.

商品描述(中文翻譯)

在這本書中,你將從頭開始建立自己的2D基於物理的遊戲引擎模擬系統,用於剛體動力學。你將涵蓋實現技術HTML5和JavaScript;組建一個簡單但完整的基礎數學支持庫;定義基本的剛體行為;檢測和解決剛體碰撞;以及模擬碰撞後的碰撞響應。

通過這種方式,在《建立2D遊戲物理引擎》結束時,你將對特定概念和事件、實現細節以及適用於構建2D遊戲或任何你可以創建並可以通過流行的網頁瀏覽器在互聯網上播放的2D遊戲模板的物理遊戲引擎有深入的理解。

你將學到什麼:
- 瞭解2D遊戲引擎物理學以及如何在自己的遊戲中應用它
- 描述剛體的基本行為
- 檢測剛體之間的碰撞
- 解決剛體碰撞後的解釋
- 建模和實現剛體的衝量響應

適合閱讀對象:
- 遊戲愛好者、業餘愛好者以及對於建立自己的2D物理遊戲引擎感興趣但不知道如何開始的任何人。