The Mugen Fighters Guild

Help => M.U.G.E.N Development Help => Topic started by: BC on April 04, 2008, 08:25:40 pm

Title: (hyper move) lightning to strike wherever opponent is?
Post by: BC on April 04, 2008, 08:25:40 pm
Im ok with coding the move and everything, just one small question.... i  most likely will use a helper for the lightning or mayb the lazy way by using explod with a blank animation and red colision box for the hit........but....... how would i make it so that wherever the opponent is it will strike?   the moves only meant to hit once, but ive gone with the whole lightning doesnt strike twice theory, thus the opponent on the move all the time.

hope this makes sense?
Title: Re: (hyper move) lightning to strike wherever opponent is?
Post by: FerchogtX on April 04, 2008, 09:07:42 pm
Well, the only thing I can say is that you may need to calculate the enemy pos by this:
Either:
enemynear, Pos X
or:
enemy, Pos X

this can help, remember that a helper cannot go out of the screen if you reach the edge of the stage (unless you define player as helper type... deprecated)

See ya!!! :D
Title: Re: (hyper move) lightning to strike wherever opponent is?
Post by: BC on April 04, 2008, 09:18:31 pm
ok cool thanks :)