Progress bar
Dooki
Member Posts: 247
Hey all,
How do you make a progress bar based on time and at the end, when the bar is done, the actor gets a score. Example:
- actor walks up to a safe to pick it.
- for 10 seconds you see a progress bar filling up, showing that you picking the lock.
- when done you get a score, or for the example you get money.
I have seen examples of power bars but it is determined by how long you hold down your finger. This is a little different. Thanks in advance for your help,
How do you make a progress bar based on time and at the end, when the bar is done, the actor gets a score. Example:
- actor walks up to a safe to pick it.
- for 10 seconds you see a progress bar filling up, showing that you picking the lock.
- when done you get a score, or for the example you get money.
I have seen examples of power bars but it is determined by how long you hold down your finger. This is a little different. Thanks in advance for your help,
Comments
Ok, so with your solution I could have an animation with alpha set to "0" and then turn on when collide. I think you get what I'm trying to do so... As with other games with this action, when the robber walks away from the lock before it's picked the progress stops and goes back to zero.
- how can I set the animation trigger so that it turns off if you are not colliding with the lock actor? Know what I mean?
Thanks!
I can set the animation to be "1" when in contact (collision) and set to "0" when not, correct? I can then play the animation for what ever length and set up another trigger to show either s graphic or a an animation showing how much money or how many points. Does this sound correct?