Advertisement

Clean Way to make A Combo and Button Combination System?

Started by August 04, 2021 01:32 PM
1 comment, last by Shaarigan 3 years, 4 months ago

hi.

i need to know what is the best way to make a combo and code combination system. is there any data driven code to handle it?

already I made a basic combo system for my character controller attack system. i have permitted interval button press. for example, if the second button is pressed in less than 50 milliseconds after the first one the second action will be pressed and the third and fourth attack action is the same but I think there should be a better or more standard way to make this

Use a state machine?

I know we already discussed that very expressively some time ago https://www.gamedev.net/forums/topic/703323-making-a-fighting-game-state-machine/

This topic is closed to new replies.

Advertisement