I'm making an Idle game (a game you let run in the background while you do other things and it pretty much automatically proceeds without you, but that's beside the point) and here is an example of my progress bar:
<img src="http://i.imgur.com/WDNNa.png" border="0">
The green fills up the orange bar at 1 pixel per 30 ms, and when it reaches the other end of the bar, it gives EXP and coins, as seen here for example:
<img src="http://i.imgur.com/yQI6P.png" border="0">
When the game is "completed", the progress speed will be far, far lower, it's only fast as is so that I can level up quickly to test things, which comes to the problem I am having. Here is what I would like to do with it:
There is a button you can press to spend some coins and temporarily increase the speed of the progress bar, and it can be repeatedly clicked to speed the boost up even more, at least until you are out of coins. I know how to make the button and I know what to do with it, but the problem is that I have no clue how to make temporary boosts.
If you want to mess with the .cap, download it here. You will likely need the Sprite Button Plugin to open it, however.
I would really appreciate a tutorial of some sort instead of "just do X and Y will happen", it'd be much more helpful.