hi, im trying to create a progress bar (much like a few others on the forum from a quick look) for a uni assignment...not sure how "legal" it is to put direct code on here but its in the last few days before the deadline.
Basically i have a backwards running progress bar (starts black then the opacity fades as (from what i can gather) the white lines are drawn to overwrite the opaque black bar (again i stress "think" :P)
just wondering about how to go about fixing this?
int LineDrawnHereXCoordinate = 0;
float startTime = 0;
int barLoadComplete = 245;
float amountDone = 0;
float opacity;
int count = 0;
float progress =random(2000,8000);
float percentageDone;
void drawProgressBar(float x, float y, float w, float h) {