Foundation HTML5 Canvas: For Games and Entertainment (Paperback)
暫譯: HTML5 Canvas 基礎:遊戲與娛樂應用

Rob Hawkes

  • 出版商: Friends of Ed
  • 出版日期: 2011-04-12
  • 售價: $1,260
  • 貴賓價: 9.5$1,197
  • 語言: 英文
  • 頁數: 316
  • 裝訂: Paperback
  • ISBN: 1430232919
  • ISBN-13: 9781430232919
  • 相關分類: HTML
  • 立即出貨(限量) (庫存=1)

買這商品的人也買了...

相關主題

商品描述

Foundation HTML5 Canvas: For Games and Entertainment teaches you how to make exciting interactive games and applications using HTML5 canvas.

Canvas lets you produce graphics, animations, and applications using the HTML5 and JavaScript web standards. It allows you to draw directly within the browser without the need for third-party plugins like Adobe Flash, and so canvas works perfectly across desktop and mobile devices, like the iPhone and Android.

Foundation HTML5 Canvas begins by introducing you to HTML5 and the cool new features that it opens up for you. You are then offered a quick guide to JavaScript programming to get you up to speed. Next up you'll receive a thorough introduction to the canvas element, which teaches you how to draw objects within the browser with great ease.

Once the basics are covered you'll move on to the more advanced features of canvas, including image and video manipulation. You'll also learn how to create realistic animations with the help of some basic physics.

Foundation HTML5 Canvas then teaches you how to create two thrilling space-based games using all the skills you've learned so far. You'll find plenty of code examples and illustrations designed to help you understand even the most complex of topics.

HTML5 is already here for you, and Foundation HTML5 Canvas will provide you with all the information you need to enjoy the show.

What you'll learn
  • The exciting new features that HTML5 brings and how to use them
  • The basics of programming in JavaScript and capturing user input
  • What the canvas drawing element is all about and why you'd want to use it
  • How to utilize both basic and advanced features of canvas
  • How to create realistic animations using canvas and a splash of physics
  • How to make interactive games using canvas, JavaScript, and other HTML5 goodies

Who this book is for

The book has been written in a friendly way that makes it approachable to beginners and experts alike. It is predominantly for Web designers who are new to HTML5 and JavaScript, and covers the absolute basics of creating interactive games and applications using the HTML5 canvas element. Experienced Web designers and programmers will also learn about all the features of canvas and how they can be used within their own projects. Flash and Silverlight developers wanting to broaden their reach across the Web and mobile devices will also benefit from the information in this book.

Table of Contents
  1. Introducing HTML5
  2. Foundation JavaScript
  3. Learning the Basics of Canvas
  4. Pushing Canvas Further
  5. Manipulating Images and Video
  6. Making Things Move
  7. Implementing Advanced Animation
  8. Creating the Space Bowling Game
  9. Creating the Asteroid Avoidance Game
  10. Taking Things Further and the Future of Canvas 

商品描述(中文翻譯)

《Foundation HTML5 Canvas: For Games and Entertainment》教你如何使用 HTML5 canvas 製作令人興奮的互動遊戲和應用程式。

Canvas 讓你能夠使用 HTML5 和 JavaScript 網頁標準來產生圖形、動畫和應用程式。它允許你直接在瀏覽器中繪圖,而無需像 Adobe Flash 這樣的第三方插件,因此 canvas 在桌面和移動設備(如 iPhone 和 Android)上都能完美運作。

《Foundation HTML5 Canvas》首先介紹 HTML5 及其為你開啟的酷炫新功能。接著,你將獲得一個快速的 JavaScript 程式設計指南,以幫助你快速上手。然後,你將深入了解 canvas 元素,學習如何輕鬆地在瀏覽器中繪製物件。

在掌握基礎知識後,你將進一步探索 canvas 的更高級功能,包括圖像和視頻的操作。你還將學習如何利用一些基本的物理知識創建逼真的動畫。

接下來,《Foundation HTML5 Canvas》將教你如何使用迄今為止學到的所有技能來創建兩款刺激的太空遊戲。你會發現許多代碼範例和插圖,旨在幫助你理解即使是最複雜的主題。

HTML5 已經為你準備好了,而《Foundation HTML5 Canvas》將提供你享受這場表演所需的所有資訊。

你將學到的內容


  • HTML5 帶來的令人興奮的新功能及其使用方法

  • JavaScript 程式設計的基礎及如何捕捉用戶輸入

  • canvas 繪圖元素的概念及其使用原因

  • 如何利用 canvas 的基本和高級功能

  • 如何使用 canvas 和一些物理知識創建逼真的動畫

  • 如何使用 canvas、JavaScript 和其他 HTML5 功能製作互動遊戲


本書適合誰


本書以友好的方式撰寫,使初學者和專家都能輕鬆理解。它主要針對對 HTML5 和 JavaScript 新手的網頁設計師,涵蓋使用 HTML5 canvas 元素創建互動遊戲和應用程式的基本知識。經驗豐富的網頁設計師和程式設計師也將學習到 canvas 的所有功能及其在自己項目中的應用。希望擴展在網路和移動設備上影響力的 Flash 和 Silverlight 開發者也將從本書中受益。

目錄


  1. 介紹 HTML5

  2. 基礎 JavaScript

  3. 學習 canvas 的基礎

  4. 進一步推進 canvas

  5. 操作圖像和視頻

  6. 讓物體移動

  7. 實現高級動畫

  8. 創建太空保齡球遊戲

  9. 創建小行星避讓遊戲

  10. 進一步探索及 canvas 的未來