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

· No Starch Press
4.0
6 reviews
Ebook
224
Pages
Eligible
Ratings and reviews aren’t verified  Learn More

About this ebook

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.

Ratings and reviews

4.0
6 reviews
Syeda Sammer
November 23, 2020
Ateeb
Did you find this helpful?
mohd maaz
April 25, 2020
Mst
13 people found this review helpful
Did you find this helpful?

About the author

Karl Bunyan's first adventure game was published in 1990 on the ZX Spectrum, and he’s been developing games ever since. Bunyan created HTML5 prototypes for the Game Show Network’s Facebook gaming platform, and he is currently the owner of Wedu Games, an independent firm that builds web and mobile games.

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.