Created
January 18, 2015 03:32
-
-
Save simplyluke/e56bd69109c84469af0e to your computer and use it in GitHub Desktop.
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
//for the nose | |
fill (#F1D5E5); | |
if ((keyPressed) && (key == CODED)){ | |
if (keyCode == UP) { // add a bracket here | |
fill (#F1D5E5); | |
ellipse (250,265, 9,8); //makes the nose bigger | |
} if (keyCode == LEFT){ //indent this, it's still inside of the if ((keyPressed bit | |
fill (#45173A); //makes the nose disappear | |
ellipse (250,265, 9,8); | |
} // add a bracket here, you need to close keyCode == LEFT | |
// then the bracket on the next line closes the if ((keyPressed bit | |
} else { | |
ellipse (250,265, 5,4); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment