This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int timeZone = 0; | |
void setup() { | |
size(500,500); | |
frame.setResizable(true); | |
noFill(); | |
ellipseMode(CENTER); | |
textAlign(CENTER,CENTER); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
boolean directionX; // true = rechts; false = links | |
boolean pause; // true = pause; false = ingame | |
int speedX = 3; | |
int ballSize = 100; | |
int positionX = ballSize; | |
int colourR = round(random(255)); | |
int colourG = round(random(255)); | |
int colourB = round(random(255)); | |
void setup() { |