Skip to main content

Introducing new learning courses and educational videos from Apress. Start watching

  • Book
  • © 2011

Foundation HTML5 Canvas

For Games and Entertainment

Apress

Authors:

  • Foundation HTML5 Canvas gives you the tools you need to create fantastic games, animations, and interactive user interfaces natively within the browser using the canvas tag, functionality that previously was only possible using plug-ins such as Flash.

Buying options

eBook USD 44.99
Price excludes VAT (USA)
  • ISBN: 978-1-4302-3292-6
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
Softcover Book USD 59.99
Price excludes VAT (USA)

This is a preview of subscription content, access via your institution.

Table of contents (10 chapters)

  1. Front Matter

    Pages i-xviii
  2. Introducing HTML5

    • Rob Hawkes
    Pages 1-22
  3. Foundation JavaScript

    • Rob Hawkes
    Pages 23-55
  4. Learning the Basics of Canvas

    • Rob Hawkes
    Pages 57-86
  5. Pushing Canvas Further

    • Rob Hawkes
    Pages 87-124
  6. Manipulating Images and Video

    • Rob Hawkes
    Pages 125-159
  7. Making Things Move

    • Rob Hawkes
    Pages 161-184
  8. Implementing Advanced Animation

    • Rob Hawkes
    Pages 185-208
  9. Creating the Space Bowling Game

    • Rob Hawkes
    Pages 209-243
  10. Creating the Asteroid Avoidance Game

    • Rob Hawkes
    Pages 245-272
  11. Back Matter

    Pages 287-298

About this book

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 this book will provide you with all the information you need to enjoy the show.

For more information, source code, and the latest blog posts from author Rob Hawkes, visit http://rawkes.com/foundationcanvas.

About the author

A bio is not available for this author.

Bibliographic Information

Buying options

eBook USD 44.99
Price excludes VAT (USA)
  • ISBN: 978-1-4302-3292-6
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
Softcover Book USD 59.99
Price excludes VAT (USA)