Build an HTML5 Game

A Developer's Guide with CSS and JavaScript
Product Number: EB00709991
Released: Aug 10, 2017
Business Term: Purchase
ISBN: #9781593276782
Publisher: No Starch Press
Please log in to view pricing


If you already have even basic familiarity with HTML, CSS, and JavaScript, you're ready to learn how to build a browser-based game. In Build an HTML5 Game, you'll use your skills to create a truly cross-platform bubble-shooter game-playable in both desktop and mobile browsers. As you follow along with this in-depth, hands-on tutorial, you'll learn how to: -Send sprites zooming around the screen with JavaScript animations -Make things explode with a jQuery plug-in -Use hitboxes and geometry to detect collisions -Implement game logic to display levels and respond to player input -Convey changes in game state with animation and sound -Add flair to a game interface with CSS transitions and transformations -Gain pixel-level control over your game display with the HTML canvas The programming starts right away in Chapter 1-no hemming and hawing, history, or throat clearing. Exercises at the end of each chapter challenge you to dig in to the bubble shooter's code and modify the game. Go ahead. Take the plunge. Learn to create a complete HTML5 game right now and then use your newfound skills to build your own mega-popular, addictive game.

Author(s): Karl Bunyan
Original Publish Date: Mar 01, 2015

Sign up for our email newsletter