Posted by Trololo
in I tried, but your engine doesn't like letting Alpha Blade moves work consistentl (Started by JasonThePhoenix November 21, 2023, 02:56:18 am
Board: M.U.G.E.N Development Help
Board: M.U.G.E.N Development Help
Because it's better done with multiple states.
Make a separate state for your character pushing through the enemy and trigger it on movehit and the B button being held, while keep this state only for non-push through option.
But how can I make that second state cleanly look like the character continuing the horizontal movement and stopping behind the foe?
That's called "PlayerPush". With value = 1, your character is able to walk through the enemy while retraining his hitboxes and, in turn, vulnerability.
Just trigger it with something like "animelemtime(1)>=0 && animelemtime(2)<0" or something. This code works for a single tick of time, so you gotta make sure it gets triggered for every tick of time you need for effect to be continious. "Ignorehitpause = 1" is appreciated too, just for safety.