We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello. This is probably just me being a noob, but i have an annoying problem. If i do something in setup, and have a delay in draw, the setup waits for the draw delay before doing stuff.. This applies for functions aswell.
This is my code:
void setup(){
textSize(32);
text("word", 10, 30);
fill(0, 102, 153);
text("word", 10, 60);
fill(0, 102, 153, 51);
text("word", 10, 90);
}
void draw(){
delay(5000);
}
What happens is that the box comes up, waits 5 seconds, and THEN the text is displayed. Why does it do that?
Answers
Oh! processing doesn't refresh the screen before it hits the end of draw!