Hi all.
I'm trying to set a slider at midway and if set off, heads towards zero. A player action then adds to the slider to filling it up, combating the time limit.
What is best for this? I've had a quick go with both and managed to set it at a midway point but it keeps travelling from the beginning to the end rather than the point I've set.
I'm also struggling a little to fill it up upon action. I'm guessing I need to add to the float rather than messing with time as that would give the wrong effect.
Example:
Slider 0 - 100
Falls from 50 to 0 in 5 seconds.
Each time I press X I add another 10 to the bar
100 is the limit and nothing happens, reaching 0 sets off action.
Sorry if this hasn't been the clearest... I can try and mock something up otherwise.
Thanks