I have searched and tried, but I can't get my first test game working. You just click circles to gain points and theyre bouncing around the screen, but it won't recognise that you've clicked one. I have it recording score, but it can't record anything because of this problom I have. Is there any simple way to do it?
I am very new to this 'Processing' tool, only at it a week.
I've seen most people asking questions post their whole code, so I might as well put it up. It could probobly speed this up anyway;
PFont f;
int xdirection = 1; // Left or Rightint ydirection = 1; // Top to Bottom
int value = 0;
Clickball ball1;
Clickball ball2; // Two objects!
Clickball ball3;
Clickball ball4;
void setup() {
size(200,200);
noStroke();
f = loadFont("AgencyFB-Reg-48.vlw");
ball1 = new Clickball(color(255,0,0),10,100,2,8);
ball2 = new Clickball(color(0,0,255),10,130,1,7);
ball3 = new Clickball(color(0,255,0),10,100,3,8);
ball4 = new Clickball(color(0,255,255),10,130,4,9);