#how to make a combo system

1 messages · Page 1 of 1 (latest)

dusty crag
#

help me

#

basically

#

when you kill and enmy

#

combo goes up or if there is no combo currently

#

it makes a mew combo

pallid zodiac
#

Create a new number global variable

#

add a new button in your Ui

#

after pressed script:
If Combo = 0 then
[...]
else If Combo = 1 then
[...]
else If Combo = 2 then
[...]
Set Combo = 0

swift heart
#

There are three of these now

#

Why were you awake at 2 am?

dusty crag
#

no its like pizza tower combos basically

#

it isnt a button

#

its just a combo meter

swift heart
#

Ah

dusty crag
#

is anyone gonna help

astral walrus
#

what is a combo system, you should explain how you want it to work

#

the above solution should do

dusty crag
#

so basically

#

a meter that has a sprite on it

#

that meter is a timer

#

when it reaches the end of the combo bar

#

it ends the combo

#

but

#

when your combo goes up