Sprite Kit Tutorial: How To Drag and Drop Sprites

Learn how to drag and drop sprites (with or without gesture recognizers) in this Sprite Kit tutorial for beginners! By Jean-Pierre Distler.

Leave a rating/review
Save for later
Share
You are currently viewing page 3 of 3 of this article. Click here to view the first page.

Where To Go From Here?

Here is the final project with all of the code from this tutorial.

At this point you should know how to move nodes using touches in your Sprite Kit apps and games, and should know the basics of using gesture recognizers with Sprite Kit.

From here, you could try extending this project with other gesture recognizers, such as perhaps pinch or rotate gesture recognizers. Maybe you can make the cat grow!

If you want to learn more about Sprite Kit, you should check out our book iOS Games by Tutorials. We'll teach you everything you need to know - from physics, to tile maps, to particle systems, and even making your own level editor.

If you have any questions or comments about this tutorial, please join the discussion below!