Hello everyone. I’m trying to create a simple combo scoring system where it multiplies the current combo by 250 and then adds it to the level overall combo score. This is what I came up with so far
void Update(){
//GameManager.Points represent the combo counter. each
// enemy dead is +1 combo
currentcombo = GameManager.Points;
comboscore = 250*currentcombo;
}
public void UpdateComboScore()
{
LevelComboScore = currentscore + LevelComboScore ;
}
I'm not sure why but on the first x1 combo the LevelComboScore stays at 0 and after that, it doesn't add up correctly.