Sprite Kit Swift 2 Tutorial for Beginners
// Ray Wenderlich
Note from Ray: This is a Swift 2 and iOS 9 update to a popular tutorial on our site, released as part of the iOS 9 Feast.
Like Batman and Robin or Superman and Lois Lane, Sprite Kit and Swift are an amazing combination:
- Sprite Kit is one of the best ways to make games on iOS. It’s easy to learn, powerful, and is fully-supported by Apple.
- Swift is an easy language to get started with, especially if you are a beginner to the iOS platform.
In this tutorial, you will learn how to create a simple 2D game using Apple’s 2D game framework, Sprite Kit – using Swift!
You can either follow along with this tutorial, or just jump straight to the sample project at the end. And yes. There will be ninjas.
Note: This tutorial has a special place in my heart, as the original version was one of the first tutorials ever released on our site. It was written in a completely different language (Objective-C) and a completely different game framework (Cocos2D). My, how times have changed! :]
This site has just started expanding with some Android tutorials as well. If you’re completely new to developing for Android, these tutorials are a great way to get started!
There are certain technologies and techniques you can use in your apps that can directly help you make ‘mo money! And although money can’t buy happiness, you gotta pay for your beer somehow amirite?
It turns out there are some great libraries available out there that you can use to easily add physics to your games – without having to be a math expert! These tutorials will show you how to get started with these libraries so you can use them to create amazing effects in your games!
Other than Cocos2D and OpenGL, there are a lot of other great game frameworks available on iOS. If you want to play around with some of them as well, check out these tutorials!