at button press run a different sketch
in
Programming Questions
•
2 years ago
i have two files i made one as a simple title screen and the other as my main program i just want at mouse click to close the current sketch and open another.
thanks
here is my script:
PImage b;
void setup() {
size(1000,600);
b = loadImage("flow.jpg");
noLoop();
size(1000,600);
b = loadImage("flow.jpg");
noLoop();
}
void draw() {
image(b, 0, 0);
}
3