Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //CREATE:
  2. for (i=0; i<room_width/64; i+=1)
  3. {
  4.     for (j=0; j<room_height/64; j+=1)
  5.     {
  6.         //Completely random color
  7.         draw_set_color(col[i,j])
  8.         draw_rectangle(i*64,j*64,(i*64)+64,(j*64)+64,true)
  9.     }
  10. }
  11.  
  12. //DRAW:
  13. for (i=0; i<room_width/64; i+=1)
  14. {
  15.     for (j=0; j<room_height/64; j+=1)
  16.     {
  17.         draw_set_color(col[i,j])
  18.         draw_rectangle(i*64,j*64,(i*64)+64,(j*64)+64,true)
  19.     }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement