Quote:
Originally posted by Xaviar
But don't use it like that, the best time to use it (In my opinion) is with arrays:
[/code]
|
Actually i think its better using that for then doing
playerx+=.5;
sleep .05;
playerx+=.5;
sleep .05;
playerx+=.5;
sleep .05;
playerx+=.5;
sleep .05;
playerx+=.5;
sleep .05;
playerx+=.5;
sleep .05;
playerx+=.5;
sleep .05;
playerx+=.5;
sleep .05;
playerx+=.5;
sleep .05;
playerx+=.5;
sleep .05;
=)
and better then doing
while (this.i<10) {
this.i++;
playerx+=.5;
sleep .05;
}