Efficient DELAY command needed
Posted: Fri Jul 06, 2007 6:15 am
If I have a row of cloned objects called Tile, and I display them in a row on screen, I wish to update their animation frames but it all happens too quickly. I want to see each tile update for a split second rather than whizz straight through them, like a WAIT command works in other languages e.g
int a;
for (a=7;a< 11;a+=1)
{ getclone2("Tile",a)->animpos +=1; WAIT 5; }
How can I add an efficient delay to a For/Next loop where the imaginary WAIT command is?
int a;
for (a=7;a< 11;a+=1)
{ getclone2("Tile",a)->animpos +=1; WAIT 5; }
How can I add an efficient delay to a For/Next loop where the imaginary WAIT command is?