X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=SugarCubes.pde;h=ef89237e2223531445568c8ca3507202e2de8bb6;hb=3661fceed6aa9b6023c31850b42b86fc807d5abb;hp=2156bad83a925de5a7dbdcba9c6123e7585970ad;hpb=cc8b3f8210cea5377cc7e28116626e7bc4defa7a;p=SugarCubes.git diff --git a/SugarCubes.pde b/SugarCubes.pde index 2156bad..ef89237 100644 --- a/SugarCubes.pde +++ b/SugarCubes.pde @@ -22,11 +22,11 @@ * If you're an artist, create a new tab in the Processing environment with * your name. Implement your classes there, and add them to the list below. */ - + LXPattern[] patterns(GLucose glucose) { return new LXPattern[] { - // Slee + // Slee new Flitters(glucose), new Swarm(glucose), new SpaceTime(glucose), @@ -41,7 +41,7 @@ LXPattern[] patterns(GLucose glucose) { new CubeEQ(glucose).setEligible(false), new PianoKeyPattern(glucose).setEligible(false), - // DanH + // DanH new Noise(glucose), new Play(glucose), new Pong(glucose), @@ -121,10 +121,14 @@ LXTransition[] transitions(GLucose glucose) { }; } +// Handles to globally triggerable effects +BoomEffect EFF_boom; +FlashEffect EFF_flash; + LXEffect[] effects(GLucose glucose) { return new LXEffect[] { - new FlashEffect(lx), - new BoomEffect(glucose), + EFF_flash = new FlashEffect(lx), + EFF_boom = new BoomEffect(glucose), new BlurEffect(glucose), new DesaturationEffect(lx), new ColorFuckerEffect(glucose),