HTML5 -- the latest HTML version -- contains a lot of new and very cool features that make it an option for game development. These include
- new data types
- the canvas area
- custom data attributes
- editable contents
- autofocus and placeholder attributes
- required field and range validators
- and more ...
These are truly valuable features that move HTML well beyond what many of us use routinely.
You're going to learn about:
- the tools you will need
- simple animation
- creating your game logic
- updating the display
- CSS transitions
- rendering your game within the html canvas
- how to embed sound effects
- memory management -- how to speed up your game
- ways to continue improving your skills
In fact, in building your first HTML5 game, you will learn enough about how to do these things that you will then be ready to branch out and build games entirely of your own design.
Table of Contents
The Table of Contents illustrates the progression of steps that you will take.
Ready to do it?
You should expect to come away from this book knowing how to do all of these things and feeling ready to design and implement your own game ideas.
While I was originally taken by surprise by the very idea that HTML had progressed to the stage that it could provide a platform for game development, I found that there are quite a few sites the are already offering games based on this technology (e.g., html5games.com) and played a few of those games while reading through this book.
This article is published as part of the IDG Contributor Network. Want to Join?