Unlock the full potential of your 2D games using Destructible 2D, this asset allows you to quickly convert all your boring solid sprites into fully destructible ones!
💡 Many Demo Scenes ― Destructible 2D includes a wide range of tutorial demo scenes, which take you step-by-step through each feature. These scenes contain detailed description text, which explain what is being shown, which components were used, and which settings were used.
💡 Easy To Use ― Destructible 2D was designed to be as flexible as possible, while still being easy to use. To achieve this, each component is fully modular, follows Unity’s inspector design style, has intuitively named settings, and includes detailed tooltip text. If you're a programmer then full C# source code is also included, allowing you to create and modify anything you like!
💡 Long Term Support ― Destructible 2D has received regular updates for over 5 years. Thank you to everyone who was downloaded, rated, reviewed, and provided feedback so far! This asset now supports Unity 2017, 2018, 2019, as well as the Scriptable Rendering Pipelines (SRP).
💡 Explosions ― This feature allows you to damage your sprites from raycasts, collisions, and much more. The explosion shape can be customized using any Texture2D you like, and I've even included many explosion prefabs to get you going!
💡 Splitting ― If you stamp or slice your destructible sprite into multiple pieces, then this feature makes them automatically split into multiple parts!
💡 Optimized ― If you need your game to run on mobiles then you can click one button to reduce the amount of pixels used. The destruction pixels are stored separately from the visual pixels, so your sprites will still look crisp! If you have large destructible objects then you need complex collider shapes, but these are slow to regenerate/update. To fix this, Destructible 2D optimizes the colliders into grid cells, so only modified colliders get updated!
💡 Slicing ― This destruction mode allows you to slice between two points on the screen, this can be done using the mouse or on mobile devices with fingers!
💡 Fracturing ― If you need your destructible sprite to randomly break into smaller pieces (e.g. cracking an egg), then this feature automatically works when you hit your object enough times!
💡 Healing ― If you want to undo or repair damage done to a destructible sprite then you can heal it using stamps, slices, explosions, or have the whole sprite automatically heal itself over time!
💡 Scorch Marks ― Cutting holes in sprites is nice, but to really show damage you need scorch marks around the damaged area, and this feature makes it really easy!
💡 Damage Counter ― If you need to check how much damage you've done to your destructible sprite then this feature is great. You can see how many pixels you have left, or what % of pixels remain!
💡 Sprite Swapping ― Cutting holes and adding scorch marks to sprites is great, but if you also want to swap the visual sprite underneath based on impact or pixel damage, then this feature allows you to easily do it!
💡 Detachable ― If you have a solid object with parts you want to be able to break/cut off (e.g. a tree with branches), then this feature allows you to easily handle that!
💡 Transparency ― If you have transparent breakable objects (e.g. glass windows), then Destructible 2D comes with a custom shader to handle them. There are even example scenes showing you how to set them up!
💡 Joint Breaking ― If you have a complex joint setup (e.g. ragdoll), then Destructible 2D can be used to break these connections if you cut through them!
💡 Melting ― If you want to simulate melting (e.g. a hot rock melting through ice), then there are components included for that, and example scenes!
💡 Fixtures ― If you need to connect separate parts of a destructible sprite together (e.g. a circuit where the light must connect to the power), then this feature makes it really easy!
Thank you for reading ❤️