Académique Documents
Professionnel Documents
Culture Documents
Introduction
- The Code Editor, in which you can manipulate your code, and create the animation
itself;
- The Environment Setup, where you’ll edit your characters and setup the scenes that
compose the animation.
2
Create a new project and import objects to the landscape
- Open Alice and double click on a landscape (on the “Blank Slates” tab);
- Select one of the classes (on the “Browse character by class hierarchy”);
- Give the object a name (if it’s a person, another properties will appear and you can
also);
- Click and drag the “Move” command to the editor and set its parameters to “UP”
and the duration to “0.5”;
Probably, you already have Alice opened and an object on the ground. On this
guide you will learn how to turn a camera or object.
- Add the option “do together” (which is at the bottom of the work area) and put all
the steps inside the code.
4
Moving parts of the cow and import audio to the project.
For this script we already had Alice 3 open and an object world.
Go to procedures.
5
How to add images to your virtual world.
Ground
- Run Alice 3 and choose any of the first options for your project;
Billboards
- In the front paint you can select your image and use it on the back paint too.
6
How to turn your virtual world interactive
using keyboard
- Finally choose “addObjectMoverFor” and pick the name of the object you want to be
controlled by the user (through the keyboard).
7
To make a person walk you need to:
1) Use the variables
Now, next to the “variable”, use “Do together” (That is in the same tab) and push it to the
project.
8
(It should look like this now) and now use the actions of the person.
You need to find the action of “Left Shoulder” first and then make it to turn to left in the
amount of 0.03. Then you need to go to “duration” and put a random number.
You need to get the Shoulders, Hips and Ankles, like this!
9
After that put the box of “do in order” in the “do together” box!
You also need to put the knees moving, so right now your project should be like this.
10
Now use the variables again. This time instead of using Decimal Numbers use Whole
Numbers.
11
Then push the “Variable Steps” to the box like this:
When you put the “steps” the variable you should put the code like this:
Now you have to copy 2 times “do together” and put it in the “while” box.
12
Be careful because there are some changes!
13
Now, check if the code is like this:
14
15