Advertisement

Building JavaScript Games

For Phones, Tablets, and Desktop

  • Authors
  • Arjan Egges
Book
  • 50k Downloads

Table of contents

  1. Front Matter
    Pages i-xxxii
  2. Getting Started

    1. Front Matter
      Pages 1-1
    2. Arjan Egges
      Pages 3-18
    3. Arjan Egges
      Pages 19-28
    4. Arjan Egges
      Pages 29-43
    5. Arjan Egges
      Pages 45-54
  3. Creating Colorful Games

    1. Front Matter
      Pages 55-56
    2. Arjan Egges
      Pages 57-66
    3. Arjan Egges
      Pages 67-82
    4. Arjan Egges
      Pages 83-101
    5. Arjan Egges
      Pages 103-119
    6. Arjan Egges
      Pages 121-129
    7. Arjan Egges
      Pages 131-142
    8. Arjan Egges
      Pages 143-158
    9. Arjan Egges
      Pages 159-168
  4. Jewel Jam

    1. Front Matter
      Pages 169-170
    2. Arjan Egges
      Pages 171-185
    3. Arjan Egges
      Pages 187-208
    4. Arjan Egges
      Pages 209-223
    5. Arjan Egges
      Pages 225-233
    6. Arjan Egges
      Pages 235-246
  5. Penguin Pairs

    1. Front Matter
      Pages 247-248
    2. Arjan Egges
      Pages 249-256
    3. Arjan Egges
      Pages 257-263
    4. Arjan Egges
      Pages 265-275
    5. Arjan Egges
      Pages 277-291
    6. Arjan Egges
      Pages 293-305
    7. Arjan Egges
      Pages 307-318
  6. Tick Tick

    1. Front Matter
      Pages 319-320
    2. Arjan Egges
      Pages 321-327
    3. Arjan Egges
      Pages 329-336
    4. Arjan Egges
      Pages 337-353
    5. Arjan Egges
      Pages 355-364
    6. Arjan Egges
      Pages 365-370
    7. Arjan Egges
      Pages 371-379
  7. Into the Great Wide Open

    1. Front Matter
      Pages 381-381
    2. Arjan Egges
      Pages 383-394
    3. Arjan Egges
      Pages 395-401
  8. Back Matter
    Pages 403-410

About this book

Introduction

Building JavaScript Games teaches game programming through a series of engaging, arcade-style games that quickly expand your JavaScript and HTML5 skills. JavaScript is in the top ten most-used programming languages world wide, and is the basis for applications that can run in any modern browser, on any device from smart phone to tablet to PC. Especial emphasis is given to touch-based interface, but all games also run using a regular mouse and keyboard setup.

The four games you’ll develop from reading this book are:

  • Painter
  • Jewel Jam
  • Penguin Pairs
  • Tick Tick

These four games are casual, arcade-style games representing the aim-and-shoot, puzzle, maze, and platform styles of game play.

The approach in Building JavaScript Games follows the basic structure of a game rather than the syntax of a language. From almost the very first chapter you are building games to run on your phone or other device and show to your friends. Successive projects teach about handling player input, manipulating game objects, designing game worlds, managing levels, and realism through physics. All told, you’ll develop four well-designed games, making Building JavaScript Games one of the most enjoyable ways there is to learn about programming browser-based games.

The final chapters in the book contain a very nice bonus of sorts. In them you will find excerpts from interviews with two prominent people from the game industry: Mark Overmars, who is CTO of Tingly Games and creator of GameMaker, and Peter Vesterbacka, the CMO of Rovio Entertainment - the creators of the Angry Birds franchise. Their insight and perspective round off what is already a fun and valuable book.

Bibliographic information

Industry Sectors
Electronics
Telecommunications
Aerospace