Adding a flash screen

edited January 2015 in How To...

Is there any way i can add a flash screen to this as i seem to have issues with having it to set back to the main screen afterwards. This flash screen doesnt seem to work which is currently in the code :(

void draw() { { if (millis() < 3000)//in milliseconds { image(img1, 0, 0);

} if(buttonnot == true){ image(not,0,0,1920,1080); } else if(button3 == true){ image(cath,0,0,1920,1080); } else if(button5 == true ){ image(comput,0,0,1920,1080); } else if(button4 == true ){ image(herbert,0,0,1920,1080); } else if (on == 1){

image(map,0,0,1920,1080); } else{ on = 1;}

}}

Tagged:

Answers

Sign In or Register to comment.