Explain the for statement again, I could make something good
Posted: Sun Dec 06, 2009 2:06 pm
Hey, I've figured out how to make the Perfect HP bar, and it reads pixel by pixel But I need to know how to use the for statement so that I can make the HP bar fill up instatnly instead of slowly filling up
I need this transformed into a for statement
I need this transformed into a for statement
- Code: Select all
if (i<hp)
{
setpen(0, 255, 255, 0, 3);
moveto(i, 0);
lineto(i, height-1);
i++;
}