tyrantgit / ExplosionField

explosive dust effect for views
3.6k stars 578 forks source link

Not working within a Library #29

Open rk8339811 opened 6 years ago

rk8339811 commented 6 years ago

I am trying to use this with a library which I being developer by me. But the explosion is not working file. Only the Button is disappearing.

I have tried copying the Java classes directly but the idea was of no use.

Will this library work within another library? If not is there any way I can make it work? Also is there any other library or resource available which can help me achieve this beautiful explosion effect?

Any help will be really appreciated.

pcg92 commented 5 years ago

I was having the same problem , the solution is to change explosionField = new ExplosionField(this); to: explosionField = ExplosionField.attach2Window(this);

rk8339811 commented 5 years ago

@pcegarra Thank You very much for the suggestion. Will try it and let you know if it solves the issue for me or not.

ghost commented 5 years ago

hi @rk8339811 , I fork the Tyrantgit's repository and implements some funtions like restart state after click it, Animation duration, play sound animation effect and any more. Try to clone or download maybe is done for you. https://github.com/gtmora200/ZExplosionField

rk8339811 commented 5 years ago

HI @gtmora200 Thanks for that. Will surely love to try out that. Since I am little bit preoccupied for a few days will surely try that out within a few days and provide you feedback on it. Thanks!