Using the Empty iOS and tvOS Starter Kit
Part 3Â –Â Timing the Rolling Barrels
In this third video, we’ll continue making a Donkey Kong style with Swift and Sprite Kit using the Empty iOS and tvOS Starter Kit (which is now, not-so-empty).  Similar to what we did with our Platform class, we’ll make a Barrel class and use SKActions to time when the barrels have a physics body and can begin rolling. If the barrel falls below the bottom portion of the screen, we’ll reset it’s position back to the top.
Categories:Free Swift Video Tutorial
0 Likes