Kodeco Forums

How To Make a Game Like Cut the Rope Using SpriteKit and Swift

Learn how to make a game like Cut the Rope for your iPhone using Sprite Kit and Swift, complete with animation, sound effects, and physics.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/735-how-to-make-a-game-like-cut-the-rope-using-spritekit-and-swift

I really liked this tutorial, it laid out the steps to go through very clearly.

I am not sure what this bit is referring to, regarding the data for the vines:

Length is specified in the plist measured in @1x, so you need to multiply by the actual screen scale. You do this because a β€œfixed” length would either be too loose (for lower resolutions) or too tight (for higher resolutions such as the 6 Plus).

The actual code for getting the length seems to just use it as is:

let length = Int(vineData[β€œlength”] as! NSNumber)

It seems to just be the count of the segments in the vine, so I’m not clear why you would need to scale it.

Thanks for a nice tutorial!

1 Like

You are absolutely right. That explanation is leftover from a previous version of the tutorial. Will fix!

Thank you!

This tutorial is more than six months old so questions are no longer supported at the moment for it. We will update it as soon as possible. Thank you! :]