Paper 2d Combo System?
Is there any way to set up a combo system in paper 2d? As in if you press the attack button once you do a single attack, if you press it twice in succession you do a 2 hit combo, and 3 times in succession you do a 3 hit combo. I know there's a way to do this in 3d, but is there any way to achieve this in 2d?
asked Apr 10 '15 at 11:35 PM in Blueprint Scripting
I know this is a little old but thought if other people were having the same problem this could be helpful.
Essentially it works the same as the way you would be doing it in 3d but instead of changing skeletal mesh or animation you're aiming at changing your animation state machine.
In the example below from my 2d beat em up "STUFFING!" the character must attack 4 times before the animation is changed for a more powerful attack.
it checks to see that chain attack (Combo) is True. if not it adds 1 to the combo int by 1 until it reaches 3 then switches on the combo to true. attacks with the more powerful attack then reset chain (combo)
after the first attack, I've also added a timer that resets. this is so you can't make 3 attacks then run to another enemy for the combo. of course, this is optional and depends entirely on your game and design.
hope this helps
answered Aug 29 '17 at 08:29 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here