alice scenesScene Procedures in Alice3

Scene Procedures in Alice3

Learn Alice in FREE step-by-step lessons.

Unit II: Creating Code

Read the lesson on 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.

In this chapter, you will learn how to create and use scene procedures in Alice to organize a program using top-down design. You will learn how to begin with the overall task a program must accomplish and then break that task into smaller, more manageable procedures. By using scene procedures to organize related actions, you can create programs that are easier to understand, develop, test, debug, and modify.

Objectives:

Please study the material at each of the links below.

  1. Scene Procedure for Top-Down Design Scene Procedure for Top-Down Design: A Scene Procedure is code that is separate from myFirstMethod
  2. Procedures for top down design Procedures for top down design: Video shows how to use procedure for top down design.
  3. Both an Indoor and Outdoor Scene Both an Indoor and Outdoor Scene
  4. Move code to procedures Move code to procedures
  5. Scene Procedures Scene Procedures: Hello World using procedures.
  6. Scene Procedures2 Scene Procedures2: The Yeti family says hello and goodbye using procedures.
  7. Disabling Procedure Disabling Procedure: Disabling a procedure can help in debugging
  8. Scene Parameters Scene Parameters: Adding parameters makes the procedure more versatile.
  9. Playing Sounds Playing Sounds: Video shows how to import and play any mp3 file.
  10. Self-Study Questions Self-Study Questions: What have you learned?
  11. Complete Step 4: Scene Procedures for the final project.
  12. Discussion questions Discussion questions: What do you think?
GlossaryGlossary for Scene Procedures in Alice 3
Full Glossary