Advertisement
CaptainLepidus

Loop tiles

Jul 26th, 2012
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //This goes in the create event
  2. {
  3.     xx = 0;
  4. }
  5. //This goes in the draw event
  6. {
  7.     xx = xx + 32;
  8.     for(i=0;i<xx;i=i+32)
  9.     {
  10.         draw_sprite( spr_tile , 0 , i, 0 );
  11.     }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement