Random Blood Splatter Effect
AS2 random blood splatter script. Click anywhere to add random blood splatter. You can set the amount of particles you want to add with each click. You can also change the splatter range.
Preview
5 Comments to Random Blood Splatter Effect
Hi.
i used your bloodspatter but it gives a lot of lag do you know how to redurce the lag?
Regards
E
One way to optimize this is to convert all the movieclips to bitmapData. So instead of using attachMovie, you use attachBitmap.
-
See example here: http://www.freeactionscript.com/2009/01/using-bitmapdata-center-bitmap-inside-movieclip/
August 26, 2009
ok thanks.
and i have another question you used
+_root.getNextHighestDepth(),_root.getNextHighestDepth()
at the enemys script but i dont want this to be at the top of all how do i get it like in the middle of everything?
Greetings
Reaven
Instead of using getNextHighestDepth(), you could use a specific depth (such as 120 or -2234).
-
Another trick is to use different movieclip containers for different things;
groundContainer
effectContainer
enemyContainer
playerContaner
-
then you would attach all the blood to the effects container and use getNextHighestDepth there:
effectContainer.getNextHighestDepth()
August 27, 2009
ok il try that.
thanks for your help and time ^^
Greetings
Reaven
Leave a comment
You must be logged in to post a comment.
CategoriesLinks |

August 22, 2009