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.
Never lose your place.
Sign up for the newsletter to get a free CartoonSmart account and track your progress in every course.