The Mugen Fighters Guild

Help => M.U.G.E.N Development Help => Topic started by: Sean Altly on January 11, 2021, 01:53:39 am

Title: How to make a super with attacking clones/shadows
Post by: Sean Altly on January 11, 2021, 01:53:39 am
So I know I've been here for a long time and should know this, but what is the best and/or easiest method of creating a super move where your character has clones that copy your attacks, but with a slight delay, like Yun and Yang's supers in SF3 or Zero's Sougenmu super in UMVC3? I'm working on a character and I want to give him a super where he has three clones/shadows that mimic your attacks but with a slight delay in each one, so like if you hit a HP, then each clone subsequently does the same HP so it hits 4 times, etc.

If a tutorial exists for this sort of thing, I'd love to be pointed toward it. I tried googling and searching for help first, but couldn't figure out how to word it to get the right search results.
Title: Re: How to make a super with attacking clones/shadows
Post by: Umezono on January 11, 2021, 02:35:49 am
maybe check out the coding for yun and yang by karmachameleon
Title: Re: How to make a super with attacking clones/shadows
Post by: MDCGD on January 11, 2021, 03:43:19 am
This is fairly easy even if you're a beginner coder. My current WIP (The Flash) actually has this very thing you want to achieve as a special. You just summon a helper(clone) in your super and time his attack a few frames after your players attack starts.
Title: Re: How to make a super with attacking clones/shadows
Post by: Sean Altly on January 11, 2021, 07:44:08 am
What code are you using to delay the attack though? I can obviously code a helper that matches your attacks, but what are you using to delay it?
Title: Re: How to make a super with attacking clones/shadows
Post by: MDCGD on January 11, 2021, 09:03:02 am
What code are you using to delay the attack though? I can obviously code a helper that matches your attacks, but what are you using to delay it?

Well the way my special works is a 2hit combo, first me, then my afterimage(clone) a few frames after. I just trigger my helper to appear a few frames into the attack. i.e:

lets say your Super move has 15 frames with a time of 1each. The super hits on animelem 4,7,10,13
Trigger(as an example) your helper to appear on animelem/time =3  It will look like this:

 :balloon3: = None Hit
 :balloon: = Hit

Player  :balloon3: :balloon3: :balloon3: :balloon: :balloon3: :balloon3: :balloon: :balloon3: :balloon3: :balloon: :balloon3: :balloon3: :balloon: :balloon3: :balloon3:
Clone           :balloon3: :balloon3: :balloon3: :balloon: :balloon3: :balloon3: :balloon: :balloon3: :balloon3: :balloon: :balloon3: :balloon3: :balloon: :balloon3: :balloon3:

Triggering the Helper to appear a few frames into the attack delays it achieving the results you want.

If you want to manipulate the time even further the easiest way is to create a new animation designated to your clone, using the same attack you want to mimic. In the (clone)animation you can mess around with the time for each frame until you get the desired results.

Title: Re: How to make a super with attacking clones/shadows
Post by: Sean Altly on January 11, 2021, 05:27:40 pm
Ohhh I gotcha, for some reason I thought it would be more complicated then that but you're right, that is pretty simple. Thanks!