Errata

iOS Game Development Cookbook

Errata for iOS Game Development Cookbook

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page 51
Step 3

I can't find the described 'Exit icon underneath the screen'. Has this been removed in xCode 6 ?

Karl Penzhorn  Nov 12, 2014 
Printed Page 58
2.7 Solution

In this section you say "In these examples, we'll assume you've got a view called animatedView". How do you name a view ?

Karl Penzhorn  Nov 13, 2014 
112
Cross-Fading Between Tracks section

In the function " - (void) fadePlayer..." the following loop:

for (int step = 0; step < fadeSteps; step++)

should be:

for (int step = 0; step <= fadeSteps; step++)

Note the <=. When testing a fade out from 1.0 to 0.0, with a fade duration of 2 seconds, the last fade step won't execute and so the volume is left at the level of (1.0 - fraction) == 0.005, when it should be 0.0.

Also the comment:

// Update the volume every 1/100 of a second

in this function is misleading. The real behaviour is to update the volume every 1/100 of "time".

Regards,

Daire O'Neill

Daire O'Neill  Oct 05, 2015