Build an HTML5 Game: A Developer's Guide with CSS and JavaScript

Authors: Bunyan, Karl
Publisher: No Starch Press
BISAC/Subject: COM051270, COM012040, COM060160
ISBN: 9781593276782, Related ISBNs: 1593276788, 9781593276782
Classification: Non-Fiction
Number of pages: 224,
Audience: General/trade
Synopsis: 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.
Sign up for our literacy platform for reading at home

LightSail includes up to 6,000 high interest, Lexile aligned book titles with every student subscription. Other titles are available for individual purchase.

Watch the power of

Lightsail in action

×

SUPPORT GROWING READERS

Immediately Engage Students
Immediately Engage Students
Simple intuitive design has classrooms reading within minutes.
Exponentially Grow Reading Time
Exponentially Grow Reading Time
Students love the LightSail experience and naturally spend more time reading.
Accelerate Literacy Development
Accelerate Literacy Development
Students reading 25 minutes a day on LightSail are seeing 2+ years of Lexile growth in a single year.

LightSail Education is a comprehensive Lexile and standards-aligned, literacy platform and digital e-book library. Including multimodal learning functionality and featuring books from leading publishers, LightSail holistically assesses and nurtures each student on their reading and writing-to-learn journey, throughout elementary, middle, and high school.

*LightSail offers a 2,000 or a 6,000 title bundle with its student subscriptions. Other titles are available for individual purchase.