Created
February 9, 2015 16:39
-
-
Save veeneck/9840799baae15a23ef2b to your computer and use it in GitHub Desktop.
example transition with CI Filter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 5 - starburst out | |
let filter = CIFilter(name: "CIFlashTransition", withInputParameters: ["inputCenter":CIVector(x: 600, y: 900)]) | |
let transition = SKTransition(CIFilter: filter, duration: 2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Crashes in my case