Created
June 8, 2019 05:53
-
-
Save identity2/fc3ba1880c067e85c12d01ef68fd3938 to your computer and use it in GitHub Desktop.
scale action
This file contains 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
let scaleAction = SKAction.scale(to: 2.0, duration: 3.0) | |
spriteNode.run(scaleAction, completion: { spriteNode.color = SKColor.red }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment