Back in 2009 I wrote the Detonator Explosion System and it’s been used in a lot of Unity projects. In fact if you look at the URL it was apparently the very first asset that Unity submitted to the Asset Store.
However that was a really long time ago, especially in Unity years! Well recently I have been able to dedicate some time to maintaining it and this thread will serve as my contact point with the community.
Please post any bug reports and feature requests in this thread. Thanks!
The update I just grabbed from the asset store did not complain about normal maps not being flagged correctly.
There is one issue I’m not sure how to address. When you click on the cube wall to trigger an explosion, there’s a brief pink flash coming from the click point.
This was happening in the previous version as well.
I’ve attached a screenshot.
I’m guessing there’s a material not setup correctly or maybe a missing texture.
Schmosef, are you in Unity free by any chance? That might be the heatwave which requires render to texture. I didn’t test on free… maybe I should. Anyway, try grabbing that Dropbox link at the top of the thread. I reassigned the materials in Unity 4.0 so it might work better now. Let me know.
So it works in your build but you still get pink in the editor? You should be able to tell what object it is by pausing the game and selecting it. Let me know which object it is if you can. Thanks!
I tried adding some explosions to the 2D game created in this tutorial. However, the explosions always appear behind the decoration. I tried playing around with the Z value and also tried setting the sortingLayerName in code but neither worked. Any ideas what could be causing this?
@Novack - Detonator still uses the legacy particle system.
@ThiefMaster - Detonator creates a lot of child objects that don’t inherit their layer from the parent Detonator object. This is lame and a good feature for next release. I’ve attached a patched Detonator.cs that will do this. Replace the current Detonator.cs and you should be able to set the layer of the parent object it will inherit. Let me know how it goes.