Skip to Content
The Web Game Developer’s Cookbook: Using JavaScript and HTML5 to Develop Games
book

The Web Game Developer’s Cookbook: Using JavaScript and HTML5 to Develop Games

by Evan Burchard
March 2013
Beginner to intermediate
368 pages
10h 15m
English
Addison-Wesley Professional

Overview

Want to start building great web games with HTML5 and JavaScript? Moving from Flash or other game platforms? Already building HTML5 games and want to get better and faster at it? This guide brings together everything you need: expert guidance, sample projects, and working code!

Evan Burchard walks you step-by-step through quickly building 10 popular types of games. Each chapter implements a game within a well-understood genre; introduces a different free, open source, and easy-to-use HTML5 game engine; and is accompanied with full JavaScript source code listings.

Each game recipe uses tested and well-proven patterns that address the development challenges unique to that genre, and shows how to use existing tools and engines to build complete substantial game projects in just hours. Need a quick JavaScript primer? Evan Burchard provides that, too!

Coverage includes

  • Mastering an essential HTML5/JavaScript game development toolset: browser, text editor, terminal,¿JavaScript console, game engine, and more

  • Accelerating development with external libraries and proven patterns

  • Managing browser differences between IE, Firefox, and Chrome

  • Getting up to speed on web development with a QUIZ game built with JavaScript, HTML, CSS, and JQuery

  • Creating INTERACTIVE FICTION “gamebooks” that leverage new CSS3 features and impress.js

  • Building PARTY games around the lightweight atom.js engine

  • Developing PUZZLE games with the easel.js graphics rendering engine

  • Writing PLATFORMERS with melon.js and its integrated tilemap editor

  • Coding intense 2-player FIGHTING games for web browsers with game.js

  • Building a SPACE SHOOTER with the jQuery-based gameQuery game engine

  • Implementing pseudo-3D techniques like ray casting for an FPS (First Person Shooter) style game

  • Producing a 16 bit RPG (Role Playing Game) complete with interfaces for dialog, inventories, and turn-based battles with enchant.js

  • Building an isometric RTS (Real Time Strategy) game that incorporates server components along with¿ node.js, socket.io, and crafty.js

  • Engaging players with content that encourages exploration

  • Turn to The Web Game Developer’s Cookbook for proven, expert answers–and the code you need to implement them. It’s all you need to jumpstart any web game project!

    Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
    and much more.

    Read now

    Unlock full access

    More than 5,000 organizations count on O’Reilly

    AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

    QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
    Julian F.
    Head of Cybersecurity
    QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
    Addison B.
    Field Engineer
    QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
    Amir M.
    Data Platform Tech Lead
    QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
    Mark W.
    Embedded Software Engineer

    You might also like

    Build an HTML5 Game

    Build an HTML5 Game

    Karl Bunyan
    HTML5 Game Development Insights

    HTML5 Game Development Insights

    Colt McAnlis, Petter Lubbers, Brandon Jones, Duncan Tebbs, Andrzej Manzur, Sean Bennett, Florian d'Erfurth, Bruno Garcia, Shun Lin, Ivan Popelyshev, Jason Gauci, Jon Howard, Ian Ballantyne, Jesse Freeman, Takuo Kihira, Tyler Smith, Don Olmstead, John McCutchan, Chad Austin, Andres Pagella

    Publisher Resources

    ISBN: 9780133358711Purchase bookOther