gadaStop_gadastop/set.pde
//Global variable should be start with Upper case and Local variable should be start with Lower case
//function which use Global variable should be start with Upper case, else should be start with Lower case
//All the text which shows inside the program must be read from file(without titles).
import processing.net.*;

int GMod, InputMod, Click;

color[] Clr = new color[20];
PShape[] GSD = new PShape[52];

void settings() {

  fullScreen(P2D);
  /*
  size(1136, 640, P2D); -> for OS X
   size(1136, 640); -> for windows
   unknown error why p2d is not run on windows
   */
  pixelDensity(displayDensity());
  
}

void setup() {
  for(int i=1; i<48; i++) GSD[i] = loadShape("GSD"+i+".svg"); //load images
  reset();
}

void reset() {
  GMod = -100; // loading screne
  Click = 0;
  InputMod = 0;
  Clr[0] = color(236, 215, 234); //background
  
}