Monster Mash Midterm

Screen Shot 2013-10-24 at 8.17.53 PM

Below is the code I used to make this,

Thanks!(:

 

PImage img1, img2, img3, img4;

void setup(){
size(990, 1250);

img1 = loadImage(“fstein_top.png”);
img2 = loadImage(“fstein_bottom.png”);
img3 = loadImage(“monster_top.png”);
img4 = loadImage(“monster_bottom.png”);
}

void draw() {

image (img1, 0 ,0);
image (img2, 0 ,height/2);

if(mousePressed && mouseY<height/2) {
image(img3, 0, 0);
}

if (mousePressed && mouseY>height/2) {
image(img4, 0, height/2);
}

}

This entry was posted in Uncategorized on by .

About taylorrusso

Haiii everyone, I’m Taylor! (obviously) I was born and raised in dirty jersey, although in Ringoes, where I lived, it’s anything but dirty. I grew up in a farm area with all the typical farm animals you could imagine. I’m 19, sophomore, and CD major. I’m really excited for this class because this is not what I was expecting at all. Like I said in class, I hope to become one of those nerds that they filmed in the Social Network, sitting in the computer, typing out ridiculous computer jawn.

Leave a Reply

Your email address will not be published.