Alice Lab

profileFamilyGuy007
CSIS-110_AliceLab_1.pdf

CSIS 110

ALICE 3.X LAB 1 INSTRUCTIONS

Note: 3.x means the student must search for and use the latest minor version upgrade of the

major 3 version of the Alice Software Development Kit (SDK), that matches the student’s

computer Operating System (OS).

Using the Instruction steps outlined below, develop 2 animation scenes (both scenes must be

submitted in the same Alice file). Do not create 2 worlds. Submit the file via Blackboard.

To determine the requirements or specifications for each lab, look within the lab instructions

below for terms like “must”, “shall”, “required”, “do not”, etc. The learning outcome for this

lab includes improving the developer’s skill of reading narrative instructions to identify

requirements and specifications, as opposed to customer wants and desires, which can be

interpreted by the developer.

Scene 1 – Alice in Wonderland 1) File/New/Grass 2) Select Setup Scene 3) Add Classes/Bipeds/New White Rabbit 4) Drag the Rabbit to the right-side of the grassy area 5) Add Classes/Bipeds/New Alice (Select preferred version of Alice) 6) Drag Alice to the left-side of the grassy area 7) Done 8) Select the “Edit Code” option in the scene to see the object code in the right screen pane. 9) Click on Alice in the scene to see the Procedures and Functions for Alice and do the same for

the other objects (the White Rabbit).

10) Select the “myFirstMethod” tab in the right hand pane. 11) Click on and drag into the myFirstMethod area the “do in order” “count_”, “while_”, or other

selected procedure in the order sequence you need for the lab.

12) Use the Procedures and Functions lists in the left hand pane to select the action for each

object (Rabbit, Alice, etc.) by selecting “this.alice” or “this.whiterabbit”, using the Down

Arrow key or by clicking on the object in the scene.

CSIS 110

13) Click on and drag the selected Procedure(s) or Function(s) for each object to the appropriate

area (“do in order”, “count_”, or “while_” areas of the myFirstMethod area.

a) Example: drag Procedure “this.alice turnToFace” and change the “target” to this.whiterabbit by clicking on the arrow to the right of the yellow target variable item.

b) Drag Methods/Move/Forward/Expressions/distanceToRabbit

14) Set applicable values to as needed to meet the lab requirements.

CSIS 110

15) Save your work and Play the scene to test. 16) Select whiteRabbit

1) Drag Procedures Move “Up” and set the variables to .5 meters, ,Duration, etc. to meet the lab requirements (not necessarily what the example shows.)

2) Drag Procedures Move “Down” and set the variables to .5 meters, ,Duration, etc. to meet the lab requirements (not necessarily what the example shows.)

3) Drag the “count_ loop” Method from the bottom of the screen into the myFirstMethod area and select loop for five times.

4) Drag the correct procedures into the loop frame have the whiteRabbit turn and run off the

screen

5) Save and Run the method to test. 6) Complete as necessary.

Scene 2 – Your Choice

1. Now that you know what to do, build a second scene and animate it any way you wish (be mindful of appropriate content). This will be your opportunity to show your creative

talent. Use a variety of tools in Alice to make the scene interesting.

2. If the scenes are combined in the same project, the transition from Scene 1 to Scene 2 must be automatic (the viewer need do nothing to start the second scene).

3. Change the camera’s position and orientation to start the second scene. Hint: Use the Camera Object.

CSIS 110

4. The scene must finish with: o the phrase “THE END” and

o your name.

Both must:

o be displayed on top of the scene, not printed below it, and

o remain on the screen when the scene finishes.