Meter that grows when button is pressed, but shrinks otherwise
I am working on putting a meter in my game that will grow at various rates depending on which buttons are pushed (and how quickly), but that shrinks otherwise. The point is to push the right order of buttons so that the meter stays high. I was thinking of using constrain attribute to link the height of the meter to a variable that grows at various intervals when buttons are pushed and to have the meter's height interpolate down when the variable is more than 0. When I implemented this, it only interpolated once and then stopped. Suggestions?