Description
This page is generated from the Processing project folder at /2016/QUIZZES/Q-06 Processing 1/Quiz_06_Mission_05/Quiz_06_Mission_05.pde.
Archive
No companion assets were found in this sketch folder.
int xpos = 0;
int ypos = 110;
int yspeed = 3;
void setup() {
size(400,300);
background(#ABDDE5);
}
void draw() {
background(#ABDDE5);
fill(#);
ellipse(200,150,100,100);
fill(#);
ellipse(xpos,150,20,20);
xpos += 1;
fill(#F23D3D);
rect(160,ypos,80,80);
ypos += yspeed;
if (ypos >= 220 || ypos <= 0) {
yspeed = yspeed*-1;
}
} This page is generated from the Processing project folder at /2016/QUIZZES/Q-06 Processing 1/Quiz_06_Mission_05/Quiz_06_Mission_05.pde.
No companion assets were found in this sketch folder.