This topic is for bugs, typos, and other mistakes in 2D iOS & tvOS Games by Tutorials v3.0
Chapter 3, ePub
The animation frames are named zombie1.png, zombie2.png, zombie3.png and zombie4.png. This makes it easy to fashion a loop that creates a string for each image name and then makes a texture object from each name using the SKTexture(imageNamed:) initializer. The first for loop adds frames 1 to 4, which is most of the “forward walk”.
Delte “The first”. There is only one
for loop in the code snippet.