Erick Asadobay H.W 4.2

part 1

<iframe width=”828″ height=”680″ scrolling=”no” frameborder=”0″ src=”http://www.openprocessing.org/sketch/91175/embed/?width=800&height=600&border=true”></iframe>

part 2

MidTerm Project

Im planning on doing a maze where the player will have to click the mouse to draw a line through the maze to get to the end. To do this a will use some of the codes that we have learned in class, for example I will include mousePress for an interaction with the player, keyPress to clear the window if the player does something wrong, also during different stages the color or pictures of the background will change as the player get closer to the end of the game.

Posted in Uncategorized | Leave a comment

Homework 4.2

//Terrance Shields — Prof. Calli Higgens — 1101 — HW 4.2 2/26

Code has been updated, image changes with the state of night and day.

Posted in Uncategorized | 1 Comment

Homework 4.2 Part 2

For the midterm, I was thinking of doing a classic and simple pong game that allows for a 2-player interface. The background might have various images in tribute to other old 8-bit games. I am hoping to use switches to turn the game on and off.

Posted in Uncategorized | Leave a comment

Homework 4.2 Part 1

Exact link below:

Posted in Uncategorized | Leave a comment

Matthew Soto midterm proposal

When ask to come up with an idea for my midterm I wasn’t sure what to create. So I decided to make landscape of a city. The reason I chose to do a city landscape is because in the city there is so much I can do. For example have cars moving and stop at the stop light, people moving, and then make look bright like new york city. My goal for this project is to give people a sense of how living in the city looks like and how it looks in the day time and at night. In order to accomplish this I must put in the code to have people moving and some going up and the others going down. I also need a code to freeze the car as well as have the street light change from red to green. In terms of external images being used I can use it for billboards and signs of some of the businesses and even the back drop for night and day.

Posted in Uncategorized | Leave a comment

Hw 4.2

This is my updated DRcar

“http://www.openprocessing.org/sketch/91059/embed/?width=600&height=400&border=true”></iframe>

For my midtermproject I was thinking either about recreating the snake game or a simple game where the person catches a jumping man.

for snake: void setup will only have the size. In void draw I am going to need some variables for square locations and an afterimage effect I am also going to need to use if statements for the “snake to grow longer and to let the player know if he/she lost and i need to use the random function to make the “food” come out randomly for the “snake” to eat. I also need to use key pressed to be able to move the “snake”.

for the walking man: I am not really sure how to approach this one. My idea was to have him walk horizontally across the screen and jump up in when he reached the middle of the screen. Then the person playing would catch him.

 

Posted in Uncategorized | Leave a comment

Matthew Soto 2/26/13 HW the embedded version doesn’t seem to work

PImage myImage;
PImage myImage2;
void setup(){
size(800,800);
myImage=loadImage(“beautiful_blue_sky_hd_picture_166005.jpg”);
myImage2=loadImage(“st.-augustine.jpg”);
}

void draw(){
background(0);
image(myImage, 0, 0, 800, 800);
image(myImage2, 0, 700, 800,100);
fill(170, 0, 0);//House, fill in color
rect(350, 500, 302, 200);//Shape and positon of the house
stroke(0);//stroke of the roof
fill(129, 29, 29);//Color of the chimney
rect(400, 380, 30, 80);//shape and postion of the chimney,
fill(75, 75, 75);//color of the top part of chimney
triangle(500, 350, 650, 500, 350, 500);//shape and position of the roof
fill(222, 222, 222);//color of the left window
rect(380, 510, 50, 50);//Shape and position of the left window
fill(222, 222, 222);//color of the right window
rect(580, 510, 50, 50);//shape and postion of the right window
fill(106, 70, 41);//color of the door
rect(475, 630, 50, 70);//shape and position of the door
fill(49, 49, 49);//color of the upper part of the chimney
rect(385, 360, 60, 30);//shape and position of the upper part of the chimney
}

void keyPressed(){
if(keyPressed){
tint(100, 100, 100);
}
}

void mousePressed(){
if(mousePressed){
myImage=loadImage(“tumblr_m5kgjqEZx21qep7kvo1_1280.jpg”);
}
}

 

Posted in Uncategorized | Leave a comment

Matthew_Soto_2/26/13_HW

Posted in Uncategorized | Leave a comment

Noah Ruede – HW 4.2

For some reason, the picture doesn’t show when I embed the program, but you can see the full thing here.

Posted in Uncategorized | Leave a comment

homework 4.2~~jeremy~~

PImage ice;
int EW=100;
int EH=100;

float EY,EX,r,g,b,x,y,w,h;

boolean white=false;

void setup () {
size(600, 600);
ice=loadImage(“ice.jpg”);
size (1030,800);
image(ice,mouseX,mouseY,1024,768);

}

void draw() {
//image(spiral,mouseX,mouseY,1024,768);

r=random(255);{
g=random(255);
b=random(255);
x=random(1024);
y=random(768);
}
fill(r, g, b);
rect(x, y, EW, EH);

EW=EW+1;
EH=EH+1;
EW=(50);
EH=(80);
EW=constrain(10, 10, 10);
EH=constrain(10,10,10);
}
void mousePressed() {
if (white) {
background(255);
}
else {
background(0);
}
white=!white;
}

// left click = whiter
//right click=black
//tried 2 reset 2 icecream….didnt go as plann 🙁

Posted in Uncategorized | Leave a comment