Foundation HTML5 Canvas: For Games and Entertainment (Paperback)

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和未來的發展