When you’re done with this chapter, you will

  • Know what that new keyword we keep using means
  • Be able to define your own objects
  • Have seen the worst thing that JavaScript does

Chapter 16Learning about JavaScript Objects

We’ve made some pretty incredible progress so far. We have an avatar that can walk around the screen and bump into obstacles. We built an animated model of the moon’s movements. We also tried out our new skills to create a couple of pretty cool games.

We’ve made so much progress, in fact, that we’ve reached the limit of what we can do with JavaScript—at least without introducing something new. To understand why we need to learn about this new concept, consider our avatar. We can make plenty of games where our avatar could play by ...

Get 3D Game Programming for Kids, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.