We are about to switch to a new forum software. Until then we have removed the registration on this forum.
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;}
}}
Answers
Please format your code so it is readable, see: http://forum.processing.org/two/discussion/8045/how-to-format-code-and-text#Item_1
I believe you're talking about a "splash screen"?
What exactly do you mean by "doesn't work"? What does this code do?