small medium large xlarge

Errata for 3D Game Programming for Kids

 

The latest version of the book is P1.0, released almost 3 years ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:

If you've found a new error, please submit it.

  • Typo
  • Tech. error
  • Suggestion
  • Maybe next edition
  • Not a problem
  • Reported in: P1.0 (12-Jul-14)
#76992
Paper page: 32
"Just like we did at the end of Chapter 1 . . . we start by changing the very last line of the code" but in chapter 1 the code was just placed before ...more...
  • Reported in: P1.0 (14-Jul-14)
#77003
Paper page: 50

"Back in Chapter 3 . . ., on page 25, we used a function to avoid having to repeat the same process for creating a tree". Should be Chapter 4.

  • Reported in: P1.0 (19-Jun-14)
#76876
Paper page: 64
There is no indication in the text that curly braces need to be added around the conditional blocks when adding the is_moving_* booleans. --Chris Stro...more...
  • Reported in: P1.0 (16-Apr-14)
#76677
Paper page: 71
Surely the correction of the footnote as published, is in fact incorrect? From my recollection of basic mathematics the order of operations is "Brack...more...
  • Reported in: P1.0 (21-Nov-14)
#77825
PDF page: 72
"Really, Really Close to Zero ... -2.45e-16 is the same thing as writing 0.000000000000000245. That is a really, really small number—you would have t...more...
  • Reported in: P1.0 (17-Feb-14)
#76434
PDF page: 84
Paper page: 71
Footnote 1 reads: "Without parentheses, multiplication is done first, then division. Remember the “order of operations” from your math class!" It ...more...
  • Reported in: P1.0 (20-Jul-14)
#77032
Paper page: 91
Reported from the forums (forums.pragprog.com/forums/284/topics/12871): Just replacing the 2 lines of the code for the OrthographicCamera is not suffi...more...
Chris Strom says: The previous section in the chapter does tell the reader to enable the WebGL renderer so, if the reader is following along closely, this should just work. Still, this seems reasonable -- especially if readers are just skipping around and trying new things...
  • Reported in: P1.0 (03-Aug-14)
#77123
Paper page: 100

"So let's add a second <script> tag" should probably be "So let's ad two new <script> tags" since there are already three script tags in the code

  • Reported in: P1.0 (22-Nov-14)
#77829
PDF page: 103

In section 11.4 Jumping for Points, after about two-thirds of the page: "... (just above the last <script/> tag):"

</script>

  • Reported in: P1.0 (03-Aug-14)
#77124
Paper page: 103

"tree_with_treasure == undefined" but the editor is reporting that === should be used to compare to undefined

  • Reported in: P1.0 (28-Apr-14)
  • Fixed: 18-Jun-14, awaiting book release
#76736
PDF page: 120
WebGL may not work properly with Chrome 36. Seeing errors like: Error creating WebGL context. Uncaught TypeError: Cannot read property 'getExtensi...more...
Chris Strom says: This appears to be a temporary Chrome-on-Linux thing: http://japhr.blogspot.com/2014/05/webgl-in-chrome-36-linux-is-not-working.html No need to address at this time.
  • Reported in: P1.0 (28-Nov-14)
#77861
PDF page: 156
Bottom third of the page: "So gameStep() is processed every 16.67 milliseconds, which may seem very frequent. In computers, though, that is not very...more...
  • Reported in: P1.0 (22-Jul-14)
#77034
PDF page: 1805
The "PDF" page number above is actually a kindle sentence number. The section is "Listing Things" in chapter 7. You may wish to mention the push m...more...
  • Reported in: P1.0 (22-Jul-14)
#77039
PDF page: 2325
PDF Page is kindle reference. In Chapter 11, Fruit Hunt, Jumping for Points section, there is a sentence which reads, "Now we add the jump function th...more...