O'Reilly logo

HTML5 Games Most Wanted: Build the Best HTML5 Games by Shy Shalom, Jonas Wagner, Brian Danchilla, Rob Hawkes, David Strauß, Russell Goldenberg, Mathias Paumgarten, Egor Kuryanovich, Jonathan Bergknoff, Gaëtan Renaudeau, Seb Lee-Delisle

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

images

Chapter 4

Creating, Saving, and Loading Tracks

This chapter will explain a few of the basics on structuring games in JavaScript as well as game play in general. We will also cover a few JavaScript tips and tricks.

Who we are, what we will build, and why

We are two of the five creators of Marble Run (marblerun.at), a rather successful browser game. The team that created Marble Run consists of two designers (Matthias Hempt and Nicola Lister) and three developers (Eberhart Graether, David Strauss, and Mathias Paumgarten). David and Mathias are the authors of this chapter.

In this chapter, we will create a small application using both canvas and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required