#How do I make a combo system?

1 messages · Page 1 of 1 (latest)

granite ermine
#

Im making a game mostly based on platforming and combat but I want to add a combo system similar to the video posted below, basically for anything that the player punches it goes to its combo meter like in the video shown.

#

This is not my game btw

flat orbit
#

I’m probably useless rn but is the game open source or remix on?

granite ermine
#

Nah its not done yet

#

I need like someone to show me a script on how it works

wild tartan
#

You could create two number variables for example i named them combo and timer

So when the enemy is killed(or damaged) the combo increases and the timer is set to the maximum in my case is 4 seconds also it does a broadcast to the map that makes the timer start and when it ends the combo is set to 0

granite ermine
#

Thank you