I am unaware how to do this one.
What i am trying to do is make a "Round" system whereby there is a bar(96pixels long) and a timer(5000 milliseconds) and i have no idea how to know how much to fill it. So it looks like its filling per loop up until 5 sec passed when it should be full.
int Max size = 96; int RoundDelayAmount = 5000; int RoundAmountTime = 0; RoundAmountTime += Timer.restart().аsMiliseconds() /* restart() will return a time elsped from last restart() call */ /* This is called each loop */ int Xsize = ??? ; setSize( Xsize, 10.f) // Takes "int x, int y" arguments
Or if you don't like this, how would you do this?
Edited by BaneTrapper, 26 October 2012 - 08:25 AM.