Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //CREATE:
- for (i=0; i<room_width/64; i+=1)
- {
- for (j=0; j<room_height/64; j+=1)
- {
- //Completely random color
- draw_set_color(col[i,j])
- draw_rectangle(i*64,j*64,(i*64)+64,(j*64)+64,true)
- }
- }
- //DRAW:
- for (i=0; i<room_width/64; i+=1)
- {
- for (j=0; j<room_height/64; j+=1)
- {
- draw_set_color(col[i,j])
- draw_rectangle(i*64,j*64,(i*64)+64,(j*64)+64,true)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement