We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I want to ask if anybody knows how to link a picture in processing, so when you click on the picture it starts another program. So you can have like 4 pictures and then you start the minigame there is linked to the picture.
example on code :) ?
First check if launch() works for you. If it does, easy peasy.
That didn't work, it's suppoessed to run another PDE file so you can have alot games and doesnt need them be saved in same file if , something getting buggy
Did you understand what launch does? You need a .exe file for using launch. And you can make an .exe file for the other Processing sketch by clicking the export application option. Then use launch, passing in the location of the other .exe file as argument, in your main sketch.
Reference for launch():
You may also want to search for previous discussions of combining multiple sketches, embedding sketches, sketch loaders, and launching sketches. For example:
(I wouldn't use multiple programs if I were you though - not the wisest idea. I'd use either multiple windows, or make them all show based on some sort of "state" variable)