Core HTML5 2D Game Programming (Paperback)
David Geary
- 出版商: Prentice Hall
- 出版日期: 2014-07-21
- 售價: $1,650
- 貴賓價: 9.5 折 $1,568
- 語言: 英文
- 頁數: 640
- 裝訂: Paperback
- ISBN: 013356424X
- ISBN-13: 9780133564242
-
相關分類:
HTML
立即出貨 (庫存 < 4)
買這商品的人也買了...
-
$820$648 -
$780$663 -
$2,340$2,223 -
$3,200$3,040 -
$480$408 -
$520$406 -
$680$537 -
$580$458 -
$680$578 -
$780$616 -
$350$263 -
$720$562 -
$454UEFI 原理與編程
-
$560$442 -
$620$527 -
$1,680$1,596 -
$780$616 -
$360$284 -
$690$538 -
$680$537 -
$860$774 -
$320$250 -
$580$522 -
$480$379 -
$620$484
相關主題
商品描述
Game programming offers a wealth of creative and business opportunities, and it’s never been more accessible. In Core HTML5 2D Game Programming, best-selling author David Geary shows you how to use freely available browser tools and open source resources to create video games that run in desktop browsers and on mobile devices.
Geary walks you step by step through every aspect of implementing a sophisticated arcade-style game entirely from scratch, without using proprietary game frameworks. Packed with code, this full-color tutorial gives you the in-depth understanding you need to design and build any kind of HTML5 2D game on your own, whether you use a framework or not.
A clearly written, accessible, and exhaustive guide to implementing games, this book leaves no stone unturned, showing you how to
- Create smooth, flicker-free animations
- Implement motion that’s unaffected by your game’s underlying animation frame rate
- Animate sprites (graphical objects) to make them sparkle, explode, etc.
- Layer multi-channel sound effects on top of a soundtrack
- Warp time to create nonlinear effects, such as jumping or bouncing
- Control the flow of time through your game with a time system
- Implement particle systems that simulate natural phenomena
- Efficiently detect collisions between sprites
- Create a developer backdoor containing special features
- Use Node.js and socket.io to transfer real-time metrics to a server
- Employ a heads-up display to show high scores stored on a server
- Understand the nuances of implementing HTML5 games for mobile devices
Through expertly written code that’s easy to understand, and prose that cuts to the chase, Geary illuminates every corner of game development. Everyone from novice game programmers to professional game developers will find this book invaluable as both a tutorial and a reference.
All of the book’s source code, including chapter-specific versions of the game discussed in the book, are available at corehtml5games.com.
商品描述(中文翻譯)
遊戲程式設計提供了豐富的創意和商業機會,而且現在更加容易上手。在暢銷書作家David Geary的《核心HTML5 2D遊戲程式設計》中,他向您展示如何使用免費的瀏覽器工具和開源資源來創建在桌面瀏覽器和移動設備上運行的視頻遊戲。
Geary逐步引導您從頭開始實現一個複雜的街機風格遊戲,而不使用專有的遊戲框架。這本全彩色教程充滿了代碼,讓您深入了解設計和構建任何類型的HTML5 2D遊戲所需的知識,無論您是否使用框架。
作為一本清晰易懂、全面詳盡的遊戲實現指南,這本書涵蓋了各個方面,向您展示如何:
- 創建平滑、無閃爍的動畫
- 實現不受遊戲底層動畫幀率影響的運動
- 使精靈(圖形對象)動畫化,使其閃爍、爆炸等
- 在背景音樂上疊加多通道音效
- 通過時間扭曲創建非線性效果,如跳躍或彈跳
- 使用時間系統控制遊戲中的時間流程
- 實現模擬自然現象的粒子系統
- 高效檢測精靈之間的碰撞
- 創建包含特殊功能的開發者後門
- 使用Node.js和socket.io將實時指標傳輸到服務器
- 使用顯示器顯示存儲在服務器上的高分數
- 了解為移動設備實現HTML5遊戲的細微差別
通過易於理解的專業代碼和簡潔明快的文字,Geary照亮了遊戲開發的每個角落。從新手遊戲程序員到專業遊戲開發人員,每個人都會發現這本書既是教程又是參考資料的寶貴資源。
本書的所有源代碼,包括書中討論的每個章節的遊戲版本,都可以在corehtml5games.com上獲得。