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: http://wiley.com/go/html5games.
If you have bought the book and like it, please consider leaving a (hopefully positive!) review on Amazon. Thanks!
If you have bought the book and like it, please consider leaving a (hopefully positive!) review on Amazon. Thanks!
I'm buying it tonight! I hope it's good for semi-beginners. I've got a grasp on Javascript, HTML, and CSS, but that's about it. It looks awesome!
January 8, 2012 12:20 PM Jacob SeidelinGreat! I hope you will like it. I'm sure you'll be fine. Leave an Amazon review if you enjoy the book!
January 8, 2012 12:28 PM wvmackI have uploaded your example to my android phone and it does not work. Bought your book on amazon but having a hard time reading it when I can't get your example code to work. Also does not work on android emulator. Would be interested in any ideas.
January 25, 2012 10:16 AM wvmackSeems I may have to get phone gap implemented. Sorry. Great book. I'll figure it out. I'm a newbie.
January 25, 2012 10:43 AM ChadI just bought the book on Amazon. I've been developing websites using JS and HTML5 and would like to see what else these browsers can do! :-)
January 27, 2012 2:53 PM Jacob Seidelin@Chad: Sweet, hope you will enjoy it.
January 27, 2012 3:19 PM robw963@wvmack: Either put the files on a web server and access them with the mobile browser or experiment with something like Phonegap.
Please be aware that Amazon (US) has the ENTIRE book available for preview on their buy page...you might want to let them know.
February 6, 2012 11:10 AM Jacob Seidelin@robw963: thanks for the heads up!
February 6, 2012 12:05 PM MobeenHi Jacob,
February 6, 2012 11:06 PM MobeenInteresting book. Is there an errata page for this book? I notice a couple of things wrong in the book so i wanted to know if they have been reported?
To give u one, on page 213 of the digital edition, you say that the dot product and the multiplication are same. This is wrong. The multiplication operator multiplies each element with the corresponding element of the other vector. The dot product function however multiplies and then sums all of the products to return a scalar. So the given example should be
February 6, 2012 11:11 PM Jacob Seidelinvec2 v0 = vec2(3.5, 4.0);
vec2 v1 = vec2(2.0, 0.5);
float v0Dotv1 = dot(v0,v1); //returns 9
and if you assign this to a vec2 the result would be
vec2 v2 = dot(v0, v1); //returns vec2(9,9)
Just updating you on this error.
Hmm, I can't find an errata page, actually. I'll have to look into that. Thanks for the heads up!
February 10, 2012 1:33 AM