Introduction to Arrays - creating a collision detection listener that uses an array to detect collisions with multiple objects.
Adding User Controls -
Introduction to Events and Event Handlers
addObjectMoverFor
addDefaultModelManipulation - from this - shift, ctrl
keyboardListeners - space bar
Adding Audio to your Animation
Adjusting the length of a sound file
Where to get free Sound Files
To change the image of your ground select this.ground and then in the procedures select the setPaint procedure and drag this into your myFirstMethod. From the pull down menu choose import image and select the image you want to use from the Alice gallery ( C: > Alice3 > application > gallery). Any images you want to use should be placed in this folder.
Adding Image Files - import an image, save it in the gallery, and then create a billboard and apply the image to the billboard.
Add the following Section 2-11 Vocabulary to your Java Definitions document:
- Allow the user to control one or more objects with the keyboard keys while the animation is running.
-
Any action initiated by the user that is designed to influence the program’s execution during play.
-
Listen for, and react to, a keyboard keystroke that you specify.
-
The act of coding events to handle each procedure.
-
Procedures in the Scene class that listen for keyboard input while the animation is running.
Begin Section 2: Lesson 11 - Variables slides.
Begin Section 2-11 Variables practice. Save the White Rabbit Project as 2-11 Rabbit Keyboard. Save optional 1 activity as 2-11 Submarine. Save optional 2 activity as 2-11 Snow Yak.
Begin Section 2-11 Variables project. Save the fish as Fish_11.