alice helloYour First program: Hello World

Your First program: Hello World

Learn Alice in FREE step-by-step lessons.

Unit I: Introduction: Installation and Alice Navigation

Read the lesson on Your First program: Hello World

In this module, you will learn the basics of Alice so that you can set up a scene and explore the characters and other objects that will make up your virtual worlds. You will also create a program with a 3D character who says “Hello World”

In this chapter, you will write your first program in Alice 3 and begin creating your own 3D world. You will learn how to create a scene by selecting a template and adding characters and other objects to the scene. You will then create and edit code to control the actions of those objects. You will also learn how to add comments to your code and understand why comments are important for explaining and organizing a program. Finally, you will practice identifying and debugging simple errors so that your program works as intended.

Objectives:

Please study the material at each of the links below.

  1. Select a starting template: There are many templates: grass, sea floor, snow, room, mars, and more.
  2. Code Editor vs. Scene Editor: Add 3D models in setup scene, add code in code view.
  3. Naming conventions: Follow these conventions for the names you give objects, variables and methods.
  4. Change the code preference to Java Change the code preference to Java: Show your code in the same mode as the videos.
  5. About the first program: Important things to remember when you create the first program
  6. The first program: Hello World The first program: Hello World: This video demonstrates how to create your first program.
  7. Adding comments Adding comments: This video demonstrates how to add comments.
  8. Why Hello World? Why Hello World?: Why you should write the Hello World program
  9. Editing the say command Editing the say command: This video demonstrates how to create your first program.
  10. Sim People Sim People: Sim people let you customize the appearance of a person.
  11. Using doTogether Using doTogether: Animals all say hello at the same time.
  12. Complete Step 1: Proposal of the final project.
  13. Self-Study Questions Self-Study Questions: What have you learned?
  14. Active Learning: Hello World Active Learning: Hello World: Show what have you learned
  15. Discussion questions on your first program Discussion questions on your first program: What do you think?
GlossaryGlossary for Your First program: Hello World
Full Glossary