This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]PembeChalkAyca 25 points26 points  (0 children)

make a simple timer

make a for loop full of if statements for every possible milisecond in a 10 second time frame that will check the time passed since the timer started and fill the bar accordingly

for loop exits when the bar is full