Book Review: “Build an HTML5 Game”
Want to start developing games? Raymond Camden reviews "Build an HTML5 Game" by Karl Bunyan. Check out Raymond's thoughts on this awesome intro into game dev.
Join the DZone community and get the full member experience.Join For Free
i’ve said on more than one occasion that it was gaming that initially got me into programming. initially just cheating at games (i hacked my bard’s tale save and i modified the source code in lemonade stand), but what i really wanted to do was create my own games. that dream pretty much went away when i left the computer science program in college and discovered the web, but i’ve toyed with the idea of building my own web-based games from time to time. a while back, i was lucky enough to get a copy of “build an html5 game” by karl bunyan.
as you can imagine, the book walks you through the process of building a game using web standards. the game, a simple bubble shooter you can play here , is built iteratively throughout the chapters. you start building each piece one at a time, gradually adding more features and logic to the game. it felt like a good pace to me and i only really struggled during some of the mathematical parts. (i’m a bit ashamed to say that, actually. i was pretty good at math growing up but since i haven’t really used complex math since my early college career it’s all wasted away.)
finally, the book wraps up by talking a bit about more advanced topics, like performance tuning, webgl and deployment issues. this is a good section, but pretty slim. i think in the next addition this could be expanded significantly. the book’s definitely packed with information now, but making this last portion even larger could make a great book even better.
if you have any interest at all in learning how to build games with web standards, then i definitely recommend checking it out. you can find out more about the book, including seeing the table of contents, at the book’s web site: http://buildanhtml5game.com/
p.s. as a slightly off topic aside, this was my first introduction to modernizr . while i had certainly heard of it before, i had never actually used it. the game you develop in the book makes heavy use of it and i’m happy i had a chance to actually use it. i didn’t know it had a loader feature with fallback support. that was pretty darn neat.
Published at DZone with permission of Raymond Camden, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.