You know what’s even better than playing games? Creating your own. Even if you’re an absolute beginner, this book will teach you how to make your own online games with interactive examples. You’ll learn programming using nothing more than a browser, and see cool, 3D results as you type. You’ll learn real-world programming skills in a real programming language: JavaScript, the language of the web. You’ll be amazed at what you can do as you build interactive worlds and fun games.

Buy Now

Select a DRM-free Format:

In Stock
In Stock
Buy the eBook and get these DRM-free formats delivered immediately:
  • epub (for iPhone/iPad, Android, eReaders)
  • mobi (for Kindle)
  • PDF
We can automatically send them to your Kindle or Dropbox, and for a social reading experience we can link the book to your Readmill account. (You'll need to log in to enable these options.)

This title is currently available in Beta. Buy the eBook now, and you'll be able to download successive releases of the eBook as the authors add material and correct mistakes. You'll get the final eBook when the book is finished.

If you buy the combo pack (Beta eBook + finished Paper Book) now, you'll get the Beta eBook immediately. You'll get the finished paper book when it's released (we're currently estimating 2013-07-15, but these dates can change).

 

About this Book

  • 250 pages (est)
  • Published:
  • Release: B4.0 (2013-05-07)
  • ISBN: 978-1-93778-544-4

You’ll jump right in and write games and simulations while learning programming fundamentals. You’ll use the ICE Code Editor, which was created especially for this book to make it easy for you to get started with JavaScript programming. With the ICE Editor, you’ll see the results of your work right away. Want a red donut? You can make hundreds of them, spinning around like crazy right next to the code you just typed.

You’ll do hands-on coding in every chapter. You’ll start by building simple animated shapes, then make your own player—who can do cartwheels! You’ll learn how to build your own games from start to finish, including a monster eating fruit, a cave puzzle, and rafting on a river. You’ll animate simple shapes to create a model of the solar system, and make your own website so that you can show off your games with your friends. If you just want to make games, jump to the lessons focusing on projects. To understand some of the theory better or if you need some help with functions, turn to the chapters that explain the programming concepts. We’ll walk you carefully through all the math needed to bring games to life.

Best of all, you get to create awesome games and say, “I made this!”

What You Need

You need the latest version of the Google Chrome Web browser, available for free from Google. You also need an Internet connection to access the ICE Code Editor the first time. ICE Code Editor will be loaded onto your computer, so you won’t need Internet access for later projects.

Contents and Extracts

This book is currently in beta, so the contents and extracts will change as the book is developed.

Full Table of Contents

Introduction

Project: Creating Simple Shapes excerpt

Playing with the Console and Finding What’s Broken

Project: Making a Player

Project: Moving Players

Functions: Use and Use Again

Project: Moving Hands and Feet

A Closer Look at JavaScript Fundamentals

Project: Turning Our Player

What’s All That Other Code?

Project: Collisions

Project: Scavenger Hunt

Lights and Materials

Project: Build Your Own Solar System

Project: Phases of the Moon

Project: The Purple Fruit Monster Game

Project: Tilt-A-Board

JavaScript Objects

Project: Cave Puzzle

Project: River Rafting

How the Web Works

Making Your Own Web Sites

When ICE is Broke

About the Author

Chris Strom is a relentless public learner, with more than 1,000 blog posts serving as research notes for his writing. His books include Dart for Hipsters, The SPDY Book, and Recipes with Backbone. He has more than ten years of experience programming in Perl, Ruby, JavaScript, and whatever his current obsession happens to be. Chris lives in Baltimore, Maryland with his wife, three children, and a goldfish named Martin Tanner.

Upcoming Author Events

  • 2012-12-07: Chris Strom
    Your Brain & Dart (DevIgnition)
  • 2013-07-24: Chris Strom
    10 Reasons You'll Love Dart (OSCON, Portland)
  • 2013-07-25: Chris Strom
    Getting Started with 3D Programming in Three.js (tutorial) (OSCON, Portland)