Learn Alice in FREE step-by-step lessons.
Module 08: Scene Procedures in Alice 3
A movie may have many scenes such as introduction, ending, and everything in between.
In the scene editor, you may create different scenes by arranging one scene on the left and one on the right, perhaps another in the middle.
In your code you will create a scene procedure with all the comments and code that belongs in the scene.
In myFirstMethod, you will call each of the scenes.
Goals:
- Learn how to create Scene Procedures and use them for top down design
Objectives:
- Be able to create a Scene Procedure
- Be able to call a Scene Procedure.
- Use Scene Procedures for Top Down Design.
- Disable a call to a Scene Procedure to facilitate testing and debugging
Please study the material at each of the links below.
Scene Procedure for Top-Down Design: A Scene Procedure is code that is separate from myFirstMethod
Procedures for top down design: Video shows how to use procedure for top down design.
Both an Indoor and Outdoor Scene
Move code to procedures
Scene Procedures: Hello World using procedures.
Scene Procedures2: The Yeti family says hello and goodbye using procedures.
Disabling Procedure: Disabling a procedure can help in debugging
Scene Parameters: Adding parameters makes the procedure more versatile.
Playing Sounds: Video shows how to import and play any mp3 file.
Self Study Questions: What have you learned?- Complete Step 4: Scene Procedures for the final project.
Discussion questions: What do you think?
Glossary for scenes lesson
Full Glossary