DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
11 Monitoring and Observability Tools for 2023
Learn more
  1. DZone
  2. Coding
  3. Languages
  4. Book Review: “Build an HTML5 Game”

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.

Raymond Camden user avatar by
Raymond Camden
·
Jul. 20, 15 · Review
Like (0)
Save
Tweet
Share
1.22K Views

Join the DZone community and get the full member experience.

Join For Free

book 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.)

even cooler, the author actually has you create the game with multiple different approaches. you get to experience using javascript to animate the dom and then compare this to working with canvas. i liked how the author compared and contrasted these approaches in a very practical manner.

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.

Book HTML

Published at DZone with permission of Raymond Camden, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Key Elements of Site Reliability Engineering (SRE)
  • Running Databases on Kubernetes
  • Top 10 Best Practices for Web Application Testing
  • How To Use Linux Containers

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: