The Essential Guide to HTML5: Using Games to learn HTML5 and JavaScript

0
(0)

The Essential Guide to HTML5: Using Games to learn HTML5 and JavaScript
 

  • Author:Jeanine Meyer
  • Length: 376 pages
  • Edition: 1
  • Publisher: friendsofED
  • Publication Date: 2010-11-02
  • ISBN-10: 1430233834
  • ISBN-13: 9781430233831
  • Sales Rank: #2525070 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    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 WebSockets API facilitates 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 for retrieval next time they play. 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

    Chapter 1. The Basics
    Chapter 2. Dice Game
    Chapter 3. Bouncing Ball
    Chapter 4. Cannonball and Slingshot
    Chapter 5. The Memory (aka Concentration) Game
    Chapter 6. Quiz
    Chapter 7. Mazes
    Chapter 8. Rock, Paper, Scissors
    Chapter 9. Hangman
    Chapter 10. Blackjack

    中文:

    书名:The Essential Guide to HTML5: Using Games to learn HTML5 and JavaScript

    HTML5为网络上的应用程序和游戏开发开辟了大量的新途径。游戏现在可以直接在HTML中创建和交互,不需要用户下载额外的插件,也不需要开发人员学习新的语言。重要的新功能,如画布标签,可以直接在网页上绘制。Audio标签允许在您的HTML代码中触发和播放声音,WebSockets API促进了实时通信,而本地存储API使数据(如高分或游戏偏好)能够保存在用户的计算机上,以供下次玩游戏时检索。所有这些功能以及更多功能都包含在 HTML5基本指南.

    这本书从入门级别开始,通过游戏开发教授HTML5和JavaScript的基本知识。每一章都以一种熟悉的游戏类型为核心示例,如绞刑者、岩石剪刀或骰子游戏,并使用这些简单的构造来构建关键HTML5概念和功能的坚实技能集。通过练习这些示例,您将获得关于HTML5的深入、实用的知识,这将使您能够构建自己的、更高级的游戏和应用程序。

    • 通过易于掌握的、有吸引力的例子来介绍和激发概念
    • 代码在一般说明之后进行了详细说明
    • 指导读者如何使这些例子成为自己的例子

    你会学到什么

    • 使用HTML5和JavaScript创建交互式网站
    • 使用带有新的HTML5功能的JavaScript编程
    • 在画布上绘制并在画布上放置文本
    • 使用计时事件创建动画场景
    • 处理鼠标事件以与用户/玩家交互
    • 在任何编程语言/环境中有用的重要概念
    • Html标签、画布、Math.Random、setInterval、setTimerout、addEventListener、Date、LocalStorage等功能

    这本书是为谁而写的

    任何想要制作互动网站的人。这本书适合于:

    • Total beginners
    • 做过一些超文本标记语言,但不敢做任何编程的人
    • 具有一定的HTML、JavaScript或Flash ActionScript经验,但不熟悉HTML5中的新功能

    Table of Contents

    第一章:基础知识
    第二章:掷骰子游戏
    Chapter 3. Bouncing Ball
    第四章炮弹和弹弓
    Chapter 5. The Memory (aka Concentration) Game
    Chapter 6. Quiz
    Chapter 7. Mazes
    第八章:石头、布、剪刀
    Chapter 9. Hangman
    第十章二十一点

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册