Publisher | Battenberg Software |
---|---|
File size | 423.09kB |
Number of files | 9 |
Latest version | 2.0.3 |
Latest release date | 2022-11-21 02:26:12 |
First release date | 2014-11-19 10:23:27 |
Supported Unity versions | 2018.4.2 or higher |
Full instructions can be found here!
Sprite Shatter provides a quick and easy way to make your 2D sprites "shatter" into numerous configurable pieces. Using the simple user interface in the Unity editor, any game object with an associated sprite renderer can be shattered into any number of pieces using varying patterns, with the pieces created as separate game objects at run-time. A single method call then shatters the sprite.
Sprite Shatter uses the source sprite’s original texture – it does not create a copy so the memory overhead is low. It has support for circle, box and polygon colliders for the shattered pieces, the accuracy of which can be configured. Sprite Shatter comes will full source code and full prefab support. An example scene has been provided which is ready to go – simply load this scene in Unity, click play and from there you can left-click to view Sprite Shatter in action and right-click to reset.
Features
- Sprites can be shattered using a grid, hexagons or radial layout into regular or randomly irregular shapes of any size.
- A zigzag feature can be applied to grid-style shatter pieces to give them jagged edges.
- Sprites can be shattered and reset repeatedly at run-time with a single method call.
- Transparent areas of the image are ignored so no unnecessary game objects are created.
- Optional colliders can be added and automatically sized, and can be box, circle or polygon with their accuracy configurable.
- Full source code and instructions (instructions.pdf is included with the asset or you can view the instructions here) are provided.
- Full support for prefabs.
Sprite Shatter provides a quick and easy way to make your 2D sprites "shatter" into numerous configurable pieces. Using the simple user interface in the Unity editor, any game object with an associated sprite renderer can be shattered into any number of pieces using varying patterns, with the pieces created as separate game objects at run-time. A single method call then shatters the sprite.
Sprite Shatter uses the source sprite’s original texture – it does not create a copy so the memory overhead is low. It has support for circle, box and polygon colliders for the shattered pieces, the accuracy of which can be configured. Sprite Shatter comes will full source code and full prefab support. An example scene has been provided which is ready to go – simply load this scene in Unity, click play and from there you can left-click to view Sprite Shatter in action and right-click to reset.
Features
- Sprites can be shattered using a grid, hexagons or radial layout into regular or randomly irregular shapes of any size.
- A zigzag feature can be applied to grid-style shatter pieces to give them jagged edges.
- Sprites can be shattered and reset repeatedly at run-time with a single method call.
- Transparent areas of the image are ignored so no unnecessary game objects are created.
- Optional colliders can be added and automatically sized, and can be box, circle or polygon with their accuracy configurable.
- Full source code and instructions (instructions.pdf is included with the asset or you can view the instructions here) are provided.
- Full support for prefabs.