Chapter 17Project: Learning about JavaScript Objects

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

  • Know how to copy 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 solar system and a simulation 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 ...

Get 3D Game Programming for Kids 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.