SpriteShatter

SKSpriteNode animation extension to 'shatter' a node into smaller pieces

28
1
Swift

Shatter Demo

Sprite Shatter

Sprite Shatter is a simple demonstration of an SKSpriteNode extension for creating a ‘shattering’ or explosion effect on a singular node by visually breaking it apart into smaller pieces.

The technique is basic but can be used for some fun effects. The extension is written in Swift, and an earlier version of the shatter() function was used in Rogue Assassin.

Related Article

For a demo video and more information see the related blog post here: http://sound-of-silence.com/?article=20180801

Author

Matt Reagan - Website: http://sound-of-silence.com/ - Twitter: @hmblebee

License

Source code and related resources are Copyright © Matthew Reagan 2016. The source code is released under the MIT License.