Skip to main content
  • Book
  • © 2014

Building JavaScript Games

for Phones, Tablets, and Desktop

Apress

Authors:

  • Script Games teaches game programming through a series of arcade-style games that help expand your HTML and Java.

  • Script skills into the realm of game design and development for phones, tablets, and even desktop platforms.

Buy it now

Buying options

eBook USD 69.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 89.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (31 chapters)

  1. Jewel Jam

    1. Finishing the Jewel Jam Game

      • Arjan Egges
      Pages 235-246
  2. Penguin Pairs

    1. Front Matter

      Pages 247-248
    2. Sprite Sheets

      • Arjan Egges
      Pages 249-256
    3. Menus and Settings

      • Arjan Egges
      Pages 257-263
    4. Game State Management

      • Arjan Egges
      Pages 265-275
    5. Storing and Recalling Game Data

      • Arjan Egges
      Pages 277-291
    6. Pairing the Penguins

      • Arjan Egges
      Pages 293-305
    7. Finishing the Penguin Pairs Game

      • Arjan Egges
      Pages 307-318
  3. Tick Tick

    1. Front Matter

      Pages 319-320
    2. The Main Game Structure

      • Arjan Egges
      Pages 321-327
    3. Animation

      • Arjan Egges
      Pages 329-336
    4. Game Physics

      • Arjan Egges
      Pages 337-353
    5. Intelligent Enemies

      • Arjan Egges
      Pages 355-364
    6. Adding Player Interaction

      • Arjan Egges
      Pages 365-370
    7. Finishing the Tick Tick Game

      • Arjan Egges
      Pages 371-379
  4. Into the Great Wide Open

    1. Front Matter

      Pages 381-381
    2. Producing Games

      • Arjan Egges
      Pages 383-394
    3. Publishing Games

      • Arjan Egges
      Pages 395-401
  5. Back Matter

    Pages 403-410

About this book

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.

About the author

Arjan Egges is an associate professor in Computer Science at Utrecht University in the Netherlands. He is responsible there for research in the area of computer animation, and he heads the university s motion capture lab in the animation department. Arjan has written over 30 research papers on animation. He is the founder of the highly successful, annual ACM SIGGRAPH conference on Motion in Games, of which the proceedings have been published by Springer-Verlag. Arjan is responsible for having designed Utrecht University s computer animation course offerings in the Game and Media Technology master s program, and he is currently the leader of that master s program. In 2011 he designed the introductory programming course for the university s bachelor s degree offering in Game Technology. He is coauthor of the book Learn C# by Programming Games, published in 2013 by Springer.

Bibliographic Information

Buy it now

Buying options

eBook USD 69.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 89.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access