Professional Documents
Culture Documents
JF 2 1
JF 2 1
2-1
Getting Started with Alice 3
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 3
Getting Started with Alice 3
Initial Scene
The initial scene is the first scene of an animation where you select
the background template and position the objects.
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 4
Getting Started with Alice 3
Initial Scene Components
Bipeds are
acting objects.
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 5
Getting Started with Alice 3
Steps to Create a New Project
• Launch Alice 3.
• In the Welcome dialog box, select the Blank Slates tab.
• Select a template, and click OK.
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 6
Getting Started with Alice 3
Steps to Save a Project
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 7
Getting Started with Alice 3
Navigating Between Editors
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 8
Getting Started with Alice 3
Navigating Between Editors
• Switch between the two editors by using either the Edit Code
button or Setup Scene button.
• You are in the Code editor when you see programming
instructions in the left window pane.
• You are in the Scene editor when you see the gallery of
objects.
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 9
Getting Started with Alice 3
The Default Editor
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 10
Getting Started with Alice 3
Add an Object to a Scene
• In the Scene editor, add an object (instance of a class) to a
scene in one of two ways:
– Drag an object from the gallery into the scene with your mouse,
complete the dialog box. Alice 3 adds the object where you placed it in
the scene.
– Click the object, complete the dialog box, and let Alice 3 add the object
to the center of the scene.
In programming terms, a class is a blueprint used to build an object,
and an object is an instance of a class. After an object is added to a
scene, it is referred to as an instance of the object. You can add
many instances of the same object to a scene (multiple coral objects
in the water, for example). Each instance must have a unique name.
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 11
Getting Started with Alice 3
Add an Object to a Scene Display
• Click the object once, or drag the object from the gallery into
the scene with your mouse.
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 12
Getting Started with Alice 3
Naming the Object
• Review the name provided for the object. Modify the name,
or click OK to accept the name and add the instance to the
scene.
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 13
Getting Started with Alice 3
Scene Editor
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 14
Getting Started with Alice 3
Scene Editor Display
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 15
Getting Started with Alice 3
Gallery
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 16
Getting Started with Alice 3
Gallery Tabs
Tab Function
Browse Gallery by Class
Organizes objects by mobility.
Hierarchy
Organizes objects by region and folklore
Browse Gallery by Theme
context.
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 17
Getting Started with Alice 3
Select a Class
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 18
Getting Started with Alice 3
Class Example
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 19
Getting Started with Alice 3
Save New Project Version
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 20
Getting Started with Alice 3
Steps to Save a Project Version
• With file open, select Save As...
• Select the location to save the project (i.e., computer, file
server, memory stick).
• Enter the project name.
• Click Save.
• Save projects frequently in case of a power failure or a
computer crash.
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 21
Getting Started with Alice 3
Code Editor
• Click the Edit Code button to display the Code editor. The
Code editor is where you add the programming instructions
to program your animation.
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 22
Getting Started with Alice 3
Methods Panel
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 23
Getting Started with Alice 3
Instance Menu in Methods Panel
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 24
Getting Started with Alice 3
Create a Programming Instruction
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 25
Getting Started with Alice 3
Select Values for Method Arguments
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 26
Getting Started with Alice 3
Procedure Argument Types
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 27
Getting Started with Alice 3
Copy Programming Instructions
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 28
Getting Started with Alice 3
Steps to Use the CTRL + Drag Method
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 29
Getting Started with Alice 3
Steps to Use the Right-Click Copy Method
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 30
Getting Started with Alice 3
Steps to Use the Click + Drag To Clipboard
Method
• Click and drag the programming instruction to the clipboard
icon. The clipboard changes color when the mouse pointer
makes contact with the clipboard icon. Use this method when
moving programming instructions between tabs.
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 31
Getting Started with Alice 3
Undo an Action
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 32
Getting Started with Alice 3
Test and Debug Your Animation
Testing
• Once you create the programming instructions for your
animation, you need to test your program.
• To test your program, click the Run button.
• Run the animation to test that it functions properly and
executes as planned and without error.
• Test the animation frequently during development.
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 33
Getting Started with Alice 3
Test and Debug Your Animation
Testing the Limits of Your Program
• Testing the limits of your program is an important part of the
process. For example, change the value of an argument in a
procedure to intentionally "break" the code proves the code
works under extreme conditions.
• What happens if a number is very large? or negative?
• Test the limits of the animation frequently during
development.
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 34
Getting Started with Alice 3
Test and Debug Your Animation
Debugging
• Debugging your program refers to the cycle that involves:
testing your program, identifying errors or unintended
results, rewriting the code, and re-testing.
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 35
Getting Started with Alice 3
Testing and Debugging Techniques
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 36
Getting Started with Alice 3
Terminology
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 37
Getting Started with Alice 3
Terminology
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 38
Getting Started with Alice 3
Summary
JFS2L1 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 39
Getting Started with Alice 3