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.
Failed to load latest commit information.

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:


Matt Reagan - Website: - Twitter: @hmblebee


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