Multiple Sketches In One Export

June 19
I think in terms of an application (launcher) that determines what application is to be run next then launches it. When that application has finished, the Launcher then determines the next application to launch or it may choose to terminate itself.

I coded up two test applications and a launcher using your examples. It ran.
However I have a few concerns:

  1. My launcher launched the last PApplet.main in the list of 2 (per your code).
  2. Terminating a launched application terminates everything because I used an exit().

I think the answer to #1 is to code each PApplet.main (xyz) when I want it to be launched. Am i correct? (if (soandso == true) PApplet.main(nextapp):wink:

The answer to #2 is bacically how do I terminate the PApplet without killing the launcher? How do I do that?