Core HTML5 Canvas: Graphics, Animation, and Game Development (Paperback)
暫譯: 核心 HTML5 Canvas:圖形、動畫與遊戲開發 (平裝本)
David Geary
- 出版商: Prentice Hall
- 出版日期: 2012-05-14
- 售價: $2,100
- 貴賓價: 9.5 折 $1,995
- 語言: 英文
- 頁數: 752
- 裝訂: Paperback
- ISBN: 0132761610
- ISBN-13: 9780132761611
-
相關分類:
HTML
立即出貨 (庫存=1)
買這商品的人也買了...
-
$480$379 -
$820$697 -
$1,881Cryptography Engineering: Design Principles and Practical Applications (Paperback)
-
$800$680 -
$780$663 -
$780$616 -
$580$383 -
$1,200$948 -
$1,000$950 -
$250$213 -
$650$429 -
$580$458 -
$580$452 -
$680$578 -
$1,600$1,600 -
$480$379 -
$594$564 -
$580$493 -
$400$316 -
$1,710Professional JavaScript for Web Developers, 4/e (Paperback)
-
$1,700$1,615 -
$1,008$958 -
$880$748 -
$620$558 -
$1,425Essential Cryptography for JavaScript Developers: A practical guide to leveraging common cryptographic operations in Node.js and the browser (Paperback)
相關主題
商品描述
Free chapters and the book's code are available at CoreHTML5Canvas.com
One of HTML5's most exciting features, Canvas provides a powerful 2D graphics API that lets you implement everything from word processors to video games. In Core HTML5 Canvas, best-selling author David Geary presents a code-fueled, no-nonsense deep dive into that API, covering everything you need to know to implement rich and consistent web applications that run on a wide variety of operating systems and devices.
Succinctly and clearly written, this book examines dozens of real-world uses of the Canvas API, such as interactively drawing and manipulating shapes, saving and restoring the drawing surface to temporarily draw shapes and text, and implementing text controls. You'll see how to keep your applications responsive with web workers when you filter images, how to implement smooth animations, and how to create layered, 3D scrolling backgrounds with parallax. In addition, you'll see how to implement video games with extensive coverage of sprites, physics, collision detection, and the implementation of a game engine and an industrial-strength pinball game. The book concludes by showing you how to implement Canvas-based controls that you can use in any HTML5 application and how to use Canvas on mobile devices, including iOS5. This authoritative Canvas reference covers
One of HTML5's most exciting features, Canvas provides a powerful 2D graphics API that lets you implement everything from word processors to video games. In Core HTML5 Canvas, best-selling author David Geary presents a code-fueled, no-nonsense deep dive into that API, covering everything you need to know to implement rich and consistent web applications that run on a wide variety of operating systems and devices.
Succinctly and clearly written, this book examines dozens of real-world uses of the Canvas API, such as interactively drawing and manipulating shapes, saving and restoring the drawing surface to temporarily draw shapes and text, and implementing text controls. You'll see how to keep your applications responsive with web workers when you filter images, how to implement smooth animations, and how to create layered, 3D scrolling backgrounds with parallax. In addition, you'll see how to implement video games with extensive coverage of sprites, physics, collision detection, and the implementation of a game engine and an industrial-strength pinball game. The book concludes by showing you how to implement Canvas-based controls that you can use in any HTML5 application and how to use Canvas on mobile devices, including iOS5. This authoritative Canvas reference covers
- The canvas element--using it with other HTML elements, handling events, printing a canvas, and using offscreen canvases
- Shapes--drawing, dragging, erasing, and editing lines, arcs, circles, curves, and polygons; using shadows, gradients, and patterns
- Text--drawing, positioning, setting font properties; building text controls
- Images--drawing, scaling, clipping, processing, and animating
- Animations--creating smooth, efficient, and portable animations
- Sprites--implementing animated objects that have painters and behaviors
- Physics--modeling physical systems (falling bodies, pendulums, and projectiles), and implementing tweening for nonlinear motion and animation
- Collision detection--advanced techniques, clearly explained
- Game development--all aspects of game development, such as time-based motion and high score support, implemented in a game engine
- Custom controls--infrastructure for implementing custom controls; implementing progress bars, sliders, and an image panner
- Mobile applications--fitting Canvas apps on a mobile screen, using media queries, handling touch events, and specifying iOS5 artifacts, such as app icons
商品描述(中文翻譯)
免費章節和書籍的程式碼可在 CoreHTML5Canvas.com 獲得
HTML5 最令人興奮的特性之一,Canvas 提供了一個強大的 2D 圖形 API,讓您能夠實現從文字處理器到視頻遊戲的各種應用。在Core HTML5 Canvas中,暢銷書作者 David Geary 以程式碼為基礎,深入探討這個 API,涵蓋了實現豐富且一致的網頁應用所需的所有知識,這些應用可以在各種操作系統和設備上運行。
本書簡潔明瞭,探討了 Canvas API 的數十個實際應用案例,例如互動式繪製和操作形狀、保存和恢復繪圖表面以暫時繪製形狀和文字,以及實現文字控制。您將學習如何在過濾圖像時使用網頁工作者保持應用程序的響應性,如何實現流暢的動畫,以及如何創建具有視差效果的分層 3D 滾動背景。此外,您還將學習如何實現視頻遊戲,涵蓋了精靈、物理、碰撞檢測以及遊戲引擎和工業級彈珠台遊戲的實現。本書最後將展示如何實現基於 Canvas 的控制項,您可以在任何 HTML5 應用中使用,以及如何在移動設備上使用 Canvas,包括 iOS5。本權威的 Canvas 參考資料涵蓋了
-
Canvas 元素--與其他 HTML 元素一起使用、處理事件、列印 Canvas 和使用離屏 Canvas -
形狀--繪製、拖動、擦除和編輯線條、弧形、圓形、曲線和多邊形;使用陰影、漸變和圖案 -
文字--繪製、定位、設置字體屬性;構建文字控制 -
圖像--繪製、縮放、裁剪、處理和動畫化 -
動畫--創建流暢、高效和可攜帶的動畫 -
精靈--實現具有繪製者和行為的動畫物件 -
物理--建模物理系統(自由落體、擺和拋射物),並實現非線性運動和動畫的補間 -
碰撞檢測--高級技術,清晰解釋 -
遊戲開發--遊戲開發的各個方面,例如基於時間的運動和高分支持,在遊戲引擎中實現 -
自定義控制--實現自定義控制的基礎設施;實現進度條、滑塊和圖像平移器 -
移動應用--在移動螢幕上適配 Canvas 應用,使用媒體查詢、處理觸控事件,並指定 iOS5 的特徵,例如應用圖標