Now that you have had some practice with txt and images in Processing, you can try to solve a problem that includes both.
Imagine we are creating an application in which the user has to choose an animal from the three available. The screen should look like this:
If the user presses the down arrow, the pointer should move to point to the camel.
If the user presses the down arrow again the pointer should move to point to the frog.
If the user presses the down arrow again the pointer should move back to point at the penguin.
Pressing the up arrow goes in the opposite direction.
If the pointer is pointing at the penguin and the user presses the up arrow the pointer moves to point at the frog.
If the user presses the ENTER key, a message is displayed to say which animal has been chosen and the arrow key no longer move the pointer:
You can download the additional images here:
Save them to the C:\temp folder with the penguin.