SKSpriteNode animation extension to 'shatter' a node into smaller pieces
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
SpriteShatter.xcodeproj
SpriteShatter
README.md
shatterExampleAnimation.gif

README.md

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 (C) Matthew Reagan 2016. The source code is released under the MIT License.