Check out my
new book!
HTML5 Games book
New round of JS1K: Love
There's a new round of JS1K going on! This time the theme is "Love" and there are some pretty sweet prizes. My publisher has also agreed to sponsor 5 copies of my HTML5 Games book for the top five entries.

I hope I can find some time to work on something for the compo.
Book link correction It appears that the link mentioned in the book is incorrect. I've contacted my publisher to get this fixed but until then, you can download the project and sample files at:

If you have bought the book and like it, please consider leaving a (hopefully positive!) review on Amazon. Thanks!
My HTML5 Games book is now available Just a quick post to say that my book HTML5 Games: Creating Fun with HTML5, CSS3 and WebGL is now available on

So far, it's only in stock on the US site but you can of course still pre-order it through the other Amazons.

Happy holidays!

Amazon links
And if you buy it and like it, please consider leaving a review on Amazon!
Stop American Censorship
My book: HTML5 Games: Creating Fun with HTML5, CSS3 and WebGL
I just finished writing a book! How cool is that?

HTML5 Games: Creating Fun with HTML5, CSS3 and WebGL
ISBN: 978-1-1199-7508-3
Paperback, ~416 pages
Due out in January 2012

Writing a book is crazy. Like eating strawberries while stabbing yourself in the leg. Painful yet delicious. I have massive respect for people who can just put words on paper like it was nothing.

This has easily been one of the most difficult tasks I've put myself in front of, which I suppose is why I haven't been doing much around here lately. That should hopefully change now that I get some free time again. Anyway, for the past 6 months or so, I've been working on my first book, titled HTML5 Games - Creating Fun with HTML5, CSS3 and WebGL. It's all about HTML5 and related technologies and how they can be utilized in the context of game development on the Web and on mobile devices. It's not out yet but it should be in a few months (edit: it is now out!). Amazon links further down.

Here's a short blurp about it, made by Wiley (my publisher):
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>
If you'd like to buy it, consider using the Amazon affiliate links below, so I can earn a few extra coins.