small medium large xlarge

Errata for Create Mobile Games with Corona


The latest version of the book is P2.0, released almost 2 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: P2.0 (03-Apr-14)
PDF page: 18
Corona updated the Storyboard API to Composer. In time they will phase out storyboard and/or possibly offer more features with Composer. Right now, it...more...
  • Reported in: P1.0 (06-Apr-14)
Paper page: 27
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 noted i...more...
  • Reported in: P2.0 (05-Feb-14)
PDF page: 34
Whilst the text does state that there needs to be a RemoveEventListener, otherwise tick will be called even when the scene has changed which could be ...more...
  • Reported in: P2.0 (28-Feb-14)
PDF page: 45

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

  • Reported in: P2.0 (04-Feb-14)
PDF page: 55
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.--Pau...more...
  • Reported in: P2.0 (04-Feb-14)
PDF page: 56
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 done in...more...
  • Reported in: P2.0 (05-Feb-14)
PDF page: 61
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 neither...more...
  • Reported in: P2.0 (05-Feb-14)
PDF page: 61
in tappedShip() needs to be set to true, otherwise the game cannot distinguish between those ships ended by touching and...more...
  • Reported in: P2.0 (05-Feb-14)
PDF page: 62

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

  • Reported in: P2.0 (05-Feb-14)
PDF page: 62

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

  • Reported in: P2.0 (05-Feb-14)
PDF page: 62
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 Robs...more...
  • Reported in: P2.0 (05-Feb-14)
PDF page: 64
"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 rather ...more...
  • Reported in: P2.0 (05-Feb-14)
PDF page: 65

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

  • Reported in: P2.0 (05-Feb-14)
PDF page: 68
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.--Pau...more...
  • Reported in: P2.0 (05-Feb-14)
PDF page: 69

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

  • Reported in: P2.0 (05-Feb-14)
PDF page: 72
Player sprites have changed - would be a good idea to have the same sprites files throughout. Life spacing is too small. Position is partly off the to...more...