We try to keep our books accurate, but sometimes mistakes creep in. This page lists the errors submitted by our astute readers. If you've found a new error, please submit it.

The latest version of the book is P2.0, released 3 months 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.

Key: Typo Tech. Error Suggestion Not a problem Next edition

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

(To find out what version you have, look at the copyright page, a few pages in from the front of the book. If it says (say) 'Second Printing', then here it'll be P2.0. If there are interim PDF releases in that printing, they'll be 2.1, 2.2, and so on.)

PDF Paper Description Found in Fixed in
18
#76603: Corona updated the Storyboard API to Composer. In time they will phase out storyboard and/or possibly offer more features with Composer. Right...more...
P2.0
03-Apr-14
27
#76620: When setting up classes, you explain the need for the 'class.lua' file but you don't include it in the source as a require statement. It is...more...
P1.0
06-Apr-14
34
#76375: Whilst the text does state that there needs to be a RemoveEventListener, otherwise tick will be called even when the scene has changed which c...more...
P2.0
05-Feb-14
45

#76455: Should EnterFrame be changed to EnterScene? I guess the function name and the text name should be the same?--Robert Curlette

P2.0
28-Feb-14
55

#76359: The hip > PLANET_RADIUS_SQ has been added in the spaceship update method before it is explained. The if test should not be in the middle version.--Paul Robson

P2.0
04-Feb-14
56
#76360: Where the local ships {} is added it may not be clear to a beginner that this should be with the rest of the locals. Conceptually it should be...more...
P2.0
04-Feb-14
61
#76365: The two planet radius tests are > and <. There is a small probability that the hip value might be equal to PLANET_RADIUS in which case it will...more...
P2.0
05-Feb-14
61
#76371: in tappedShip() event.target.object.wasKilled needs to be set to true, otherwise the game cannot distinguish between those ships ended by touc...more...
P2.0
05-Feb-14
62

#76364: call removeMe() half way down ; it wasn't written in the previous chapter, it was written immediately above the text.--Paul Robson

P2.0
05-Feb-14
62

#76366: When the ship is removed the event listener still exists, so the object will not be garbage collected. --Paul Robson

P2.0
05-Feb-14
62

#76372: toggleDelete is a bad choice of method name because it doesn't do what it says it does. It would be better called 'isShipDead' for example.--Paul Robson

P2.0
05-Feb-14
64
#76367: "Corona's template creation feature" - I can't find it ? I copied one from the SDK. It might be better to copy the template to create game.lua...more...
P2.0
05-Feb-14
65

#76368: A novice may think the eventListener should be added after the group=self.view line ?--Paul Robson

P2.0
05-Feb-14
68

#76369: When the lives variable is created it is done so as a global. It would be best and consistent for local lives to be declared at the module level.--Paul Robson

P2.0
05-Feb-14
69

#76370: wasKilled is compared against false, but earlier it was set to nil. In lua false ~= nil. --Paul Robson

P2.0
05-Feb-14
72
#76374: Player sprites have changed - would be a good idea to have the same sprites files throughout. Life spacing is too small. Position is partly of...more...
P2.0
05-Feb-14