Configuring explode?

Started by GoldingCircle, March 04, 2012, 02:26:38 PM

Previous topic - Next topic

GoldingCircle

How can I draw an explode effect over a enemy's head depending on its height?
"GrayCircle will surpass ever hero one day!"

My Local Name: Fighting Toys Freak.

Cyanide

You need to figure out the opponents head position by redirection.

enemynear(0), const(size.head.pos.Y) will get you their headpos. If you use postype = p2 and pos = 0,0-equation before you should get the value you need.

Or it could be 0+equation.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

Odb718

It should be pos = 0, (enemynear(0), const(size.head.pos.Y))
the head height is going to return a negative. So if you minus the negative it'll be below the feet.
You might have to make a variable to be a place holder so the explod doesnt have to have the two commas. It might mess it up idk.
vVv Gouken718 vVv SabreTooth718 vVv