Learning HTML5 Game Programming: A Hands-on Guide to Building Online Games Using Canvas, SVG, and WebGL (Paperback)

James L. Williams

  • 出版商: Addison Wesley
  • 出版日期: 2011-10-05
  • 定價: $1,225
  • 售價: 8.0$980
  • 語言: 英文
  • 頁數: 256
  • 裝訂: Paperback
  • ISBN: 0321767365
  • ISBN-13: 9780321767363
  • 相關分類: HTMLWebGL
  • 立即出貨



Get Started Fast with HTML5 Online Game Programming!


HTML5 will transform web and mobile gaming. As new browsers rapidly adopt it, HTML5 will do everything “legacy” technologies such as Flash and Silverlight have done—and much more. In Learning HTML5 Game Programming, pioneering developer James L. Williams gives you all the knowledge, code, and insights you’ll need to get started fast!


Williams combines detailed explanations of HTML5’s key innovations with examples, including two case study applications that address the entire development process. He guides you through setting up a state-of-the-art HTML5 development environment; making the most of HTML5’s canvas tag, SVG vector graphics, and WebGL 3D; and targeting diverse mobile and social platforms. It’s all here: from the essentials of online game design to the nitty-gritty details of performance optimization.


About the Website


All code samples and answers to chapter exercises are available for download at www.informit.com/title/9780321767363 and on Github at https://github.com/jwill/html5-game-book.


Coverage includes

·          Understanding the HTML5 innovations that make it possible to create amazingly rich games

·          Setting up a state-of-the-art open source HTML5 game development environment

·          Using JavaScript to drive sophisticated interactions between users and games

·          Building basic games fast, with the prototype-based Simple Game Framework (SGF)

·          Generating movement and gameplay with the canvas tag and surface

·          Creating games with SVG vector graphics using the RaphaëlJS Javascript library

·          Using Three.js to build powerful WebGL 3D games with far less complexity

·          Developing games without JavaScript, using Google Web Toolkit (GWT) or CoffeeScript

·          Building a complete multiplayer game server using Node.js and WebSockets

·          Planning and choosing tools for mobile game development with HTML5

·          Optimizing game performance with offline cache, minification, and other techniques


Learning HTML5 Game Programming is the fastest route to success with HTML5 game development—whether you’re a long-time game developer or a web/mobile programmer building games for the first time.




HTML5將改變網頁和手機遊戲。隨著新的瀏覽器快速採用HTML5,HTML5將能做到「傳統」技術如Flash和Silverlight所能做的事情,並且更多。在《學習HTML5遊戲程式設計》一書中,開創性的開發者James L. Williams提供您所需的所有知識、程式碼和見解,讓您能夠快速入門!

Williams結合HTML5的關鍵創新進行詳細解釋,並提供兩個案例研究應用程式的範例,涵蓋整個開發過程。他將引導您建立一個最先進的HTML5開發環境;充分利用HTML5的canvas標籤、SVG向量圖形和WebGL 3D;以及針對不同的手機和社交平台進行開發。從線上遊戲設計的基本要素到性能優化的細節,這裡應有盡有。




- 理解HTML5的創新,使創建豐富遊戲成為可能
- 建立最先進的開源HTML5遊戲開發環境
- 使用JavaScript驅動用戶和遊戲之間的複雜互動
- 使用基於原型的Simple Game Framework (SGF)快速構建基本遊戲
- 使用canvas標籤和表面生成運動和遊戲玩法
- 使用RaphaëlJS JavaScript庫創建具有SVG向量圖形的遊戲
- 使用Three.js以更少的複雜性構建強大的WebGL 3D遊戲
- 使用Google Web Toolkit (GWT)或CoffeeScript在不使用JavaScript的情況下開發遊戲
- 使用Node.js和WebSockets構建完整的多人遊戲伺服器
- 計劃並選擇用於HTML5手機遊戲開發的工具
- 通過離線緩存、最小化等技術優化遊戲性能