Transcript
Summary
New Processing commands, structures and concepts in this chapter
system variables mouseX
and mouseY
system variables
pmouseX
and pmouseY
system
variables mousePressed
and keyPressed
PImage-objects
loadImage(filename)
pimage.resize(newwidth, newheight)
EXTRA:
system variables width
and height
End of Chapter Quiz
Test your knowledge of the chapter with this quiz
What is a system variable?
What does a command line(pmouseX, pmouseY, mouseX, mouseY) do if it's placed in the draw-method?
What kind of values can a keyPressed-variable contain?
How to add images to Processing-programs?
What is usually required in a computer game?