The Essential Guide to HTML5: Using Games to learn HTML5 and JavaScript (Paperback)
暫譯: HTML5 必備指南:透過遊戲學習 HTML5 和 JavaScript (平裝本)
Jeanine Meyer
- 出版商: Friends of Ed
- 出版日期: 2010-11-02
- 售價: $1,740
- 貴賓價: 9.5 折 $1,653
- 語言: 英文
- 頁數: 376
- 裝訂: Paperback
- ISBN: 1430233834
- ISBN-13: 9781430233831
-
相關分類:
HTML、JavaScript
無法訂購
買這商品的人也買了...
-
$680$666 -
$850$765 -
$580$458 -
$520$411 -
$399$315 -
$399$315 -
$399$315 -
$450$351 -
$890$703 -
$580$493 -
$420$332 -
$690HTML5 Canvas (Paperback)
-
$590$502 -
$1,260$1,197 -
$580$493 -
$792Supercharged JavaScript Graphics: with HTML5 canvas, jQuery, and More (Paperback)
-
$99Using the HTML5 Filesystem API (Paperback)
-
$680$578 -
$490$387 -
$750$638 -
$1,000$950 -
$580$458 -
$580$458 -
$780$616 -
$950$808
相關主題
商品描述
HTML5 opens up a plethora of new avenues for application and game development on the web. Games can now be created and interacted with directly within HTML with no need for users to download extra plugins, or for developers to learn new languages. Important new features such as the Canvas tag enable drawing directly onto the web page, the Audio tag allows sounds to be triggered and played from within your HTML code, the web sockets API brings the facility for real-time communication, and the local storage API enables data such as high scores or game preferences to be kept on a user's computer to be retrieved next time they play your game. All of these features and many more are covered within The Essential Guide to HTML5.
The book begins at an introductory level, teaching the essentials of HTML5 and JavaScript through game development. Each chapter features a familiar game type as its core example, such as hangman, rock-paper-scissors, or dice games, and uses these simple constructs to build a solid skillset of the key HTML5 concepts and features. By working through these hands on examples, you will gain a deep, practical knowledge of HTML5 that will enable you to build your own, more advanced games and applications.
- Concepts are introduced and motivated with easy-to-grasp, appealing examples.
- Code is explained in detail after general explanations.
- Reader is guided into how to make the examples 'their own'.
What you’ll learn
- Use HTML5 and JavaScript to create interactive web sites
- Program in JavaScript with the new HTML5 features
- Draw on canvas and place text on the canvas
- Create animated scenes using timing events
- Handle mouse events for interaction with the user/player
- Important concepts useful in any programming language/environment
- HTML tags, canvas, Math.random, setInterval, setTimerout, addEventListener, Date, localStorage and other features
Who this book is for
Anyone who wants to make interactive websites. This book is suited for:
- Total beginners
- Those who have done some HTML but are afraid to do any programming
- Those with some experience with HTML, JavaScript, or Flash ActionScript but who are unfamiliar with the new features in HTML5
Table of Contents
- The Basics
- Dice Game
- Bouncing Ball
- Cannonball and Slingshot
- The Memory (aka Concentration) Game
- Quiz
- Mazes
- Rock, Paper, Scissors
- Hangman
- Blackjack
商品描述(中文翻譯)
HTML5 為網頁上的應用程式和遊戲開發開啟了無數新的可能性。現在,遊戲可以直接在 HTML 中創建和互動,無需用戶下載額外的插件,也無需開發者學習新的語言。重要的新功能如 Canvas 標籤使得可以直接在網頁上繪圖,Audio 標籤允許從 HTML 代碼中觸發和播放聲音,Web Sockets API 提供了實時通信的功能,而 Local Storage API 使得可以將高分或遊戲偏好等數據保存在用戶的電腦上,以便下次玩遊戲時檢索。所有這些功能以及更多內容都在《HTML5 必備指南》中涵蓋。
本書從入門級開始,通過遊戲開發教授 HTML5 和 JavaScript 的基本知識。每一章都以一種熟悉的遊戲類型作為核心範例,例如猜字遊戲、石頭剪刀布或擲骰子遊戲,並利用這些簡單的構造來建立關鍵 HTML5 概念和特性的扎實技能。通過這些實作範例,您將獲得深入的實用 HTML5 知識,使您能夠構建自己的更高級的遊戲和應用程式。
- 概念以易於理解且吸引人的範例引入和激勵。
- 代碼在一般解釋後詳細說明。
- 引導讀者如何使範例「成為自己的」。
您將學到的內容:
- 使用 HTML5 和 JavaScript 創建互動式網站
- 使用新的 HTML5 特性進行 JavaScript 編程
- 在畫布上繪圖並放置文本
- 使用計時事件創建動畫場景
- 處理鼠標事件以與用戶/玩家互動
- 在任何編程語言/環境中有用的重要概念
- HTML 標籤、canvas、Math.random、setInterval、setTimeout、addEventListener、Date、localStorage 及其他特性
本書適合對象:
任何想要製作互動網站的人。本書適合:
- 完全的初學者
- 有一些 HTML 經驗但害怕編程的人
- 有一些 HTML、JavaScript 或 Flash ActionScript 經驗但對 HTML5 的新特性不熟悉的人
目錄:
1. 基礎知識
2. 擲骰子遊戲
3. 彈跳球
4. 大砲球和彈弓
5. 記憶(又名集中)遊戲
6. 測驗
7. 迷宮
8. 石頭、剪刀、布
9. 猜字遊戲
10. 二十一點