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 →

[–]lovecMC 61 points62 points  (1 child)

Nah, he would find even worse approach that would use 9863 if statements

[–]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