Getting StartedĬookie Crunch will use an architecture that is very much like the model-view-controller, or MVC, pattern that you may know from non-game apps: For an introduction to Swift, see our Swift tutorials. If you’re new to SpriteKit, check out the SpriteKit for beginners tutorial or our book, 2D iOS & tvOS Games by Tutorials.
Note: This Swift tutorial assumes you have working knowledge of SpriteKit and Swift. There’s a lot to cover, so dive right in! You’ll also learn a lot about game architecture and best practices. In the process of going through this tutorial, you’ll get some excellent practice with Swift techniques such as enums, generics, subscripting, closures, and extensions. You’ll complete the gameplay by adding support for scoring points, winning and losing, shuffling the cookies, and more.
DLOW SHUFFLE PART 1 ORIGINAL HOW TO
In this three-part “How to” tutorial with SpriteKit and Swift series, you’ll learn how to make a game like Candy Crush Saga named Cookie Crunch Adventure. The original tutorial was written by Matthijs Hollemans and subsequently updated by Morten Faarkrog.
DLOW SHUFFLE PART 1 ORIGINAL UPDATE
Update note: This SpriteKit tutorial has been updated for Xcode 9.3 and Swift 4.1 by Kevin Colligan.