Craig Grummitt – Before I forget

Discoveries in Swift and iOS development.

Sprite Kit Easing in Swift

·

It really is surprising that SpriteKit, Apple’s framework for building 2D games doesn’t have better easing algorithms available.

I’ve just updated my solution, SpriteKitEasingSwift, to Swift 3, and added Carthage support. Here it is at github and CocoaPods.

easing.gif

Kudos to buddingmonkey who built the Objective-C library this framework was originally based on.

 


Comments

5 responses to “Sprite Kit Easing in Swift”

  1. Zsolt Velykovits Avatar

    Hi Craig,

    I would like to use your Sprite Kit Easing library using cocoapods in a cross-plattform xcode8 project. At the moment your cocoapod includes iOS support only. Do you plan to release this library with TVOS, WatchOS, MacOS support as well?

    Thanks for your answer in advance!

    Zsolt

    1. craiggrummitt Avatar

      Hi Zsolt, I didn’t have plans to, but if you like, add an issue to the github repo, and I’ll try to get around to it soon.

      1. nativespeakerhu Avatar
        nativespeakerhu

        Thanks Craig!

  2. Zsolt Velykovits Avatar

    Hi Craig, is there a way to use this library without cocoapods for now? I tried to just include the three classes in a group in my project, but I couldn’t make it work. I assume the package name “SpriteKitEasingSwift” is defined somewhere else.

    1. craiggrummitt Avatar

      If you include the three classes in your project, you don’t need to import the “SpriteKitEasingSwift” module.

Leave a Reply

Your email address will not be published. Required fields are marked *