Circle Coundown
quinn221
Member Posts: 280
So, I know how to make a timer countdown bar...but how would I make one in a circle. So every second the circle would loose a %... any thoughts on how to best do this?
Comments
Check this forum thread:
http://forums.gamesalad.com/discussion/87052/circular-power-meter-bar
Quick demo attached below:
@Socks this is great. One followup question, what will be the bet ways to add back time in... For example if hero collides with and object it will add time back, but not go over the set time.
You'd be best off controlling the overall value with a separate controller actor, demo attached below, click anywhere to add 10% back onto the countdown clock.
Thanks again!
@Socks One last question. I am using this timer as sort of a fuel gauge. Right now I have it set up to count down and when my hero picks up fuel it adds back time (fuel).
I have been trying to figure out how do I destroy my hero once the time reach 0
@socks ...I figured it out... thanks again for your help!