HTML5 Games: Creating Fun with HTML5, CSS3, and WebGL and over one million other books are available for Amazon Kindle. Learn more

Vous voulez voir cette page en français ? Cliquez ici.


or
Sign in to turn on 1-Click ordering.
More Buying Choices
Have one to sell? Sell yours here
Start reading HTML5 Games: Creating Fun with HTML5, CSS3, and WebGL on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

HTML5 Games: Creating Fun with HTML5, CSS3, and WebGL [Paperback]

Jacob Seidelin

List Price: CDN$ 47.99
Price: CDN$ 38.39 & FREE Shipping. Details
You Save: CDN$ 9.60 (20%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Usually ships within 2 to 5 weeks.
Ships from and sold by Amazon.ca. Gift-wrap available.

Formats

Amazon Price New from Used from
Kindle Edition CDN $25.02  
Paperback CDN $38.39  
Save Up to 50% on "For Dummies" Books
Lighthearted but not lightweight, For Dummies books are great references not only for tackling new subjects but also for brushing up on subjects with which you're already familiar. Get results while saving up to 50%. See more.
There is a newer edition of this item:
HTML5 Games: Creating Fun with HTML5, CSS3 and WebGL HTML5 Games: Creating Fun with HTML5, CSS3 and WebGL
CDN$ 30.09
In Stock.
Join Amazon Student in Canada


Book Description

Dec 27 2011
Discover new opportunities for building 2D and 3D games with HTML5

The newest iteration of HTML, HTML5 can be used with JavaScript, CSS3, and WebGL to create beautiful, unique, engaging games that can be played on the web or mobile devices like the iPad or Android phones. Gone are the days where games were only possible with plugin technologies such as Flash and this cutting-edge book shows you how to utilize the latest open web technologies to create a game from scratch using Canvas, HTML5 Audio, WebGL, and WebSockets. You'll discover how to build a framework on which you will create your HTML5 game. Then each successive chapter covers a new aspect of the game, including user input, sound, multiplayer functionality, 2D and 3D graphics, and more.

  • Aims directly at a new way to develop games for the web through the use of HTML5
  • Demonstrates how to make iOS and Android web apps
  • Explains how to capture player input; create 3D graphics; and incorporate textures, lighting, and sound
  • Guides you through the process of creating a game from scratch using Canvas, HTML5 Audio, WebGL, and WebSockets

By the end of this invaluable book, you will have created a fully functional game that can be played in any compatible browser or on any mobile device that supports HTML5.


Frequently Bought Together

HTML5 Games: Creating Fun with HTML5, CSS3, and WebGL + The Web Game Developer's Cookbook: Using JavaScript and HTML5 to Develop Games + Core HTML5 Canvas: Graphics, Animation, and Game Development
Price For All Three: CDN$ 103.90

Some of these items ship sooner than the others.


Customers Who Bought This Item Also Bought


Product Details


Product Description

About the Author

JACOB SEIDELIN (COPENHAGEN) is a freelance web developer with 10 years of experience working withbackend programming, graphics design, and front-end technology. When not working with clients he enjoys JavaScript and HTML5, web game development, and generally pushing the limit of what is possible in the browser. The results of his adventures in web development can be witnessed at his website at http://www.nihilogic.dk/.

Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index
Search inside this book:

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

There are no customer reviews yet on Amazon.ca
5 star
4 star
3 star
2 star
1 star
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 4.1 out of 5 stars  24 reviews
16 of 16 people found the following review helpful
5.0 out of 5 stars pre-order buyer Jan. 9 2012
By T L Butler - Published on Amazon.com
Format:Paperback|Verified Purchase
I pre-ordered this book and had high hopes for it. My hopes were realized. My major desire was to find a good book that I can use in a course
where we will build a game engine using webgl technologies. I would have liked perhaps an additional chapter about webgl, but am quite pleased
with the chapter that is present. Also, the other chapters are informative and helpful, e.g. those describing web sockets, local storage, etc. I
downloaded the software from the publisher website and ran many of the samples. In one case, I had to make a change to the code to accept 0 (zero)
from an xmlhttprequest where the code was only accepting a 200 as a valid return code. Otherwise, things that I tried ran unchanged. At one point I
was confused by a reference to "BC" in the Index. A quick email to the author got an almost immediate reply in which he told me that the acronym
referred to Bonus Content, and that the content would be added to the downloads at the website. He emailed me later when the content was available.
While I will probably provide some websites as supplements to be visited by my students, I am completely satisfied with the book and am currently
planning to use it in my course this summer.
Thanks.
13 of 15 people found the following review helpful
5.0 out of 5 stars Must-read discussion for experienced web/game devs Jan. 31 2012
By Amazon Customer - Published on Amazon.com
Format:Paperback|Verified Purchase
I've now read five titles on HTML5 game development, and while each has their redeeming qualities and high points, Jacob Seidelin's fine work is an absolute must-have. This isn't for the novice or beginning dev looking to add a new arrow to their web programming quill - this is a healthy discussion that tackles specific challenges in creating rich, engaging games for the browser environment. Seidelin greatly emphasizes the web's key advantage of being accessible via browsers on the desktop, smartphones, tablets, and hopefully soon, interactive TVs.

The book doesn't spend time discussing game theory and doesn't go into exhaustive detail with APIs for canvas and multimedia, it states the objective in building a puzzle game and then attacks the problem by building-out each of the components and subsystems. Each chapter is very logically-organized and well-written, neither too short nor not overly verbose. It leverages techniques for multiplayer games like Web Sockets and Web Workers and uses slick techniques to take advantage of local storage for a real console feel. The animation and WebGL chapters are very much appreciated, too.

But the book's finest hour is its hearty chapter dealing with the nuances of mobile games for iOS and Android. This chapter is essential reading, featuring material not found in wide distribution with most titles out there at the moment.

While I'm not a big fan of books using third-party libraries in their examples ([...]), Seidelin does leverage Modernizr and Sizzle, the DOM access library that's not as top-heavy as jQuery. In so doing is uses clever JavaScript programming idioms and patterns that are very worth considering for your next project.

This book is so good, I'd recommend owning it AS A BOOK. With maybe an electronic copy as a backup. :)
6 of 6 people found the following review helpful
4.0 out of 5 stars realistic game development, not for beginners Aug. 3 2012
By Michael J. Greenhut - Published on Amazon.com
Format:Paperback
This book covers everything you'd need to develop an HTML5 game and release it into the real world on multiple platforms. However, this shouldn't be your first book on HTML5, it should be your second or third. If you're like me -- an ActionScript 3 programmer looking to transition to canvas and JavaScript -- I'd strongly recommend reading Rob Hawkes's book first, then following up with this.

I recommend typing in all the code yourself, chapter by chapter, with the possible exception of Chapter 11's WebGL - I skipped most of that for the time being; if you're a professional game programmer, you most likely won't be creating your own 3D art. If you're really interested in WebGL (which is still in its infancy and not widely supported), I'd go through the rest of the book first, then tackle that chapter later on.

Don't expect to memorize it all in one go. Use the code as a reference for when you design and develop your own games and make extensive use of JS, CSS and canvas.

There are 3 errors in the code (at least in the print edition) that I've caught and posted about elsewhere, but these errors are fixed in Jacob's code samples. If you're banging your head against the wall and can't figure out what's wrong, compare your version to his.

Overall, you'll definitely want this if you're going to make and publish serious HTML5 games.
6 of 7 people found the following review helpful
5.0 out of 5 stars The one we've all been waiting for! Jan. 29 2012
By Clint V Franklin, aka theraje - Published on Amazon.com
Format:Paperback|Verified Purchase
(January 29, 2012 -- Beyond this point is my original review of "HTML5 Games: Creating Fun with HTML5, CSS3, and WebGL." Please note that the content below was written prior to completing "Chapter 10: Creating Audio for Games." I will complete this review once I have gone through the rest of the book.)

When I first heard Jacob Seidelin (the mastermind behind the NihiLogic Web site and the famous "HTML5 Canvas Cheat Sheet") was working on a book that was to cover game development using HTML5, I got excited. The current crop of HTML5 game programming books is, to put it bluntly, quite underwhelming. However, I knew if the book Mr. Seidelin was working on is near the caliber of the content on his Web site -- I'd be in for a real treat.

The book, "HTML5 Games: Creating Fun with HTML5, CSS3, and WebGL," meets my expectations.

In Part 1 of the book, you start out by learning a bit about the history of HTML5, and gaining some ideas about how HTML5 can be used for gaming. In Chapter 2, after a primer on the game you will be building (a puzzle game along the lines of "Jewel Quest"), you get to the nitty-gritty and start the HTML/CSS files (along with a few scripts) necessary for the game -- including coverage of Web Fonts.

Part 1 concludes with a chapter on techniques to help your project translate well on mobile devices. This chapter is a gold-mine of tips and tricks that will get you going if you want your games to work well on Apple mobile devices and Android systems.

Then, in "Part 2", you get into the thick of it. Chapter 4 has you build the game-board module, including move-validation (so that one cannot make illegal moves), finding sets-of-three, and clearing/refilling the game board. Chapter 5 covers Web Workers, and does so well -- Mr. Seidelin does a good job of explaining why workers can be helpful, and in what situations they perform (or don't perform) well.

In Chapter 6, you will be introduced to Canvas -- the scriptable graphics element introduced in HTML5. Everything is covered -- shapes/paths, transformation/scaling/rotation, rendering text and images, and real-time rendering (such as shadows, and my personal favorite -- compositing). Chapter 7 extends the game by showing you how to pre-load game assets (and display a progress bar in the meantime), and adding a "fallback" rendering method using CSS sprites and the DOM to control the game view.

Chapter 8 covers input. In addition to mouse and keyboard input, Jacob will explain to you how touch events work on devices with touch screens, and how to interpret them in the game. Chapter 9 covers animating the game, and includes a handy "fallback" script that imitates the functionality of requestAnimationFrame() for browsers without support for the function built-in.

Part 3 (which I have not delved into -- yet) covers the Audio element in Chapter 10, whereas Chapter 11 will guide you through adding WebGL rendering to the game project.

Part 4 covers more of the advanced functions introduced in HTML5, such as Local Storage and WebSockets. The book winds down in Chapter 14 with a list of resources -- everything from external libraries (Box2D, Impact, and Three are covered), to app deployment/sales (for both desktop and mobile devices), and so on.

In summary, this book is pretty much going to take you from 0 to 60 in about 430 pages. Jacob has a really great writing style, in that he explains things very well without being overly verbose -- he says a lot by saying a little. This makes it much easier to grasp even difficult concepts. His use of modules such as Modernizr and Sizzle is, in my opinion, a good thing (jQuery is more popular, but would add a bit of unnecessary bloat, unfortunately). I'm really impressed with the editing -- I have only come across one instance of mangled code, and it is minor. (I had the error marked and planned to point it out; unfortunately, the marker I used fell out of the book...)

One caveat -- there is some serious JavaScript-Fu going on in this book. If you are not at least somewhat comfortable with JavaScript and how it works under the hood, prepare to be schooled.

"HTML5 Games: Creating Fun with HTML5, CSS3, and WebGL" by Jacob Seidelin gets five well-deserved stars from me.
3 of 3 people found the following review helpful
5.0 out of 5 stars a clear introduction to the use of html5, javascript and CSS for the creation of games on the web April 25 2012
By Patrick Regan - Published on Amazon.com
Format:Paperback|Vine Customer Review of Free Product
This book is a well written guide to the nuts and bolts of building a game for desktop and mobile browsers with html5, javascript, and CSS. The author makes clear from the start that this is not a book on game design. Rather tis book is for the game designer who would like to create a game for the web with the latest technologies. Basically, this book covers everything you need to know to create a 2D game with these technologies, there is some material on WebGL (the 3d component of these technologies) but the coverage is not really sufficient to create a full 3d game, the author uses webGL to make the game "pieces" that move along a 2d plane have a 3d feel to them. This book covers audio, and also web sprockets and Node.js, mouse and touch event interaction and events, essentially everything you would need to create a 2d game in html5, javascript and CSS. I really liked this book; I feel the author presents his material clearly and I feel that someone with a basic knowledge of html5, javascript and CSS who is interested in making games would benefit from reading this book.

Look for similar items by category


Feedback