nic się nie zapętla.
create:
GML
t[0] = 'sprite0.gif';
t[1] = 'sprite1.gif';
...
t[30] = 'sprite30.gif';
mx = 30;
curr = 0;
step
GML
global.sprite[curr] = sprite_add( t[ curr ] ,0,0,0,0,0,0,0);
curr +=1;
if curr > mx then instance_destroy();
draw:
GML
draw_rectangle(10,10,40,20,true);
draw_rectangle(10,10,10+curr,20,false);