Monday, 9 May 2011

examples of if/else

http://www.openprocessing.org/visuals/?visualID=15768


this is saying that the key you press the  direction that you move


This program states that if the mouse is in the dimensions of the colors in the top right hand side then that is the color of the line. Else if is not then it is another color


http://www.openprocessing.org/visuals/?visualID=19216


This program says that if you were to click and move the mouse then it will move the image on the screen



No comments:

Post a Comment