🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Clean Way to make A Combo and Button Combination System?

Started by
1 comment, last by Shaarigan 2 years, 10 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

Advertisement

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