Tag Archives: Cocos2D

Sprite Kit Swift 2 Tutorial for Beginners

Sprite Kit Swift 2 Tutorial for Beginners
// Ray Wenderlich

Learn how to create a simple 2D iOS game in this Sprite Kit Swift 2 Tutorial!

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! :]

iOS Videos

Each month we have an official Google hangout. Enjoy!

Android Tutorials

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!

Making Money with iOS

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?

Game Physics

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 Game Engines

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!

Cocos2D Tools

There are some great tools available that make your job as a Cocos2D developer much easier. Check out these tutorials to learn about the tools and how to use them effectively!