The Essentials of Alice By Jenna Hayes under the direction of Professor Susan Rodger Duke University May 2009.

Slides:



Advertisements
Similar presentations
Getting Started With Alice: The Basics By Jenna Hayes under the direction of Professor Susan Rodger Duke University July
Advertisements

Space Man Sam: Grammar Mistakes By Aleis Murphy Duke University, Under the direction of Professor Susan Rodger July 2010.
Objects in Alice: Positioning and Moving Them By Jenna Hayes under the direction of Professor Susan Rodger Duke University July
Events in Alice By Henry Qin, edited by Jenna Hayes under the direction of Professor Susan Rodger Duke University, August 2008.
Repetition everywhere – comparing while in a method and as an event Susan Rodger Duke University July 2010 modified July 2011.
Alice Learning to program: Part Four Creating Sounds, Making Billboards, Fun with 3-D Text, New Events, and Rotating Objects by Ruthie Tucker and Jenna.
Alice Learning to program: Part 1 by Ruthie Tucker and Jenna Hayes Under the direction of Professor Susan Rodger Duke University, July 2008.
Princess & Dragon – Version 2 By Michael Hoyle under the direction of Professor Susan Rodger Duke University July 2012 Part 2: Using Methods.
Getting Started With Alice By Ruthie Tucker under the direction of Prof. Susan Rodger Duke University, July
Coloring Randomly: Random Selection in Alice By Jenna Hayes under the direction of Professor Susan Rodger Duke University July 2008.
How Tall Are You? Introducing Functions By Jenna Hayes under the direction of Professor Susan Rodger Duke University July 2008 Updates made June 2014 by.
Using Functions in Alice By Jenna Hayes Under the direction of Professor Susan Rodger Duke University July 2008.
Lets Play Catch! Keeping Score in Alice By Francine Wolfe Duke University Professor Susan Rodger May 2010.
Using Functions in Alice By Jenna Hayes Under the direction of Professor Susan Rodger Duke University July 2008.
Lights Camera Action! Part 3: BDE Events By Deborah Nelson under the direction of Professor Susan Rodger Duke University July 2008.
Creating a 3D Interactive Story Prof. Susan Rodger Duke University Feb. 24, 2007.
Alice Learning to program: Part 1 Scene Setup and Starting Animation by Ruthie Tucker and Jenna Hayes Under the direction of Professor Susan Rodger Duke.
Methods Tutorial: Part One By Deborah Nelson Duke University Under the direction of Professor Susan Rodger June 9, 2008.
METHODS!.  A method is a sequence of instructions or behaviors that will be carried out when requested.  You can use them to create new methods so that.
Alice Learning to program: Part Two by Ruthie Tucker and Jenna Hayes Under the direction of Professor Susan Rodger Duke University, July 2008.
Getting Started With Alice By Ruthie Tucker under the direction of Prof. Susan Rodger Duke University, July
Making a Boat Racing Game in Alice By Jenna Hayes Under the direction of Professor Susan Rodger Duke University, July 2010.
3–D Helium Molecule Tutorial Alice Project Duke University Professor Susan H. Rodger Gaetjens Lezin June 2008.
Camera Control: Learning to Use the Camera in Alice By Henry Qin, edited by Jenna Hayes under the direction of Professor Susan Rodger Duke University,
Camera Control: Learning to Use the Camera in Alice By Henry Qin, edited by Jenna Hayes under the direction of Professor Susan Rodger Duke University,
Getting started with Alice Adapted from presentations by Jenna Hayes, Duke University Donna Gavin, UWP Computer Science and Software Engineering.
Alice 2.0 Introductory Concepts and Techniques Project 1 Exploring Alice and Object-Oriented Programming.
Changing Color, Using Text Objects, and Random Selection in Alice By Jenna Hayes Under the direction of Professor Susan Rodger Duke University, July 2008.
Teaching a character to walk in more than one world: Parameters and Inheritance. By Lana Dyck under the direction of Professor Susan Rodger Duke University.
Animating Objects in Groups: Using Arrays and Lists By Ruthie Tucker under the direction of Professor Susan Rodger Summer 2008.
An Introduction to Alice (Short Version) – Extras! Yossra Hamid Under the Supervision of Professor Susan Rodger Duke University, June 2014 This is a continuation.
Buttons and Birds: Introduction to Interactive Events in Alice By Henry Qin, edited by Jenna Hayes under the direction of Professor Susan Rodger Duke University,
Alice Learning to program: Part Two Writing Your Own Methods by Ruthie Tucker and Jenna Hayes Under the direction of Professor Susan Rodger Duke University,
Bunny Eat Broccoli Repetition – Simple loops and Conditional loops Susan Rodger Duke University July 2011.
The Essentials of Alice (Bunny) By Jenna Hayes under the direction of Professor Susan Rodger Duke University July 2008.
Illuminating Computer Science CCIT 4-6Sep
The Essentials of Alice Mrs. Jayne Slease SBMS CTE Computer Science and Animation Credit to Duke Students under the direction of Professor Susan Rodger.
Creating a 3D Interactive Story Prof. Susan Rodger Duke University July 19, 2007.
Changing Camera Views! Part 1: Set Point of View to By Bella Onwumbiko under the direction of Professor Susan Rodger Duke University July 2013 Updates.
Learning to Program: Part 1 Scene Setup and Starting Animation by Ruthie Tucker and Jenna Hayes Under the direction of Professor Susan Rodger Duke University,
An Introduction to Alice By Jenna Hayes under the direction of Professor Susan Rodger Duke University, June 2009 Updated June 2014 by Ellen Yuan.
Repetition everywhere – comparing while in a method and as an event Susan Rodger Duke University July 2010.
Illuminating Computer Science CCIT 4-6Sep
Headshots in Alice Duke University Professor Susan H. Rodger Gaetjens Lezin July 2008.
Princess & Dragon Part 3: A Knight Comes Riding In—Cameras & Events By Elizabeth Liang under the direction of Professor Susan Rodger Duke University June.
How Tall Are You? Introducing Functions for Alice 3 By Jenna Hayes under the direction of Professor Susan Rodger Duke University July 2008 Updates made.
Getting Started With Alice: The Basics. Step 1: Background Open up Alice, and choose a background for your Alice world. Your world is something you can.
The Essentials of Alice (Bunny)
Getting Started With Alice: The Basics
An Introduction to Alice (Short Version)
Teaching Characters to Walk: Learning Methods, Part 1
Changing Camera Views! Part 1: Set Point of View to By Bella Onwumbiko
Changing Color, Using Text Objects, and Random Selection in Alice
Making Objects Move in Unison: Using Lists
The Essentials of Alice
Making Objects Move in Unison: Using Lists
Objects in Alice: Positioning and Moving Them
Making Objects Move in Unison: Using Lists
Learn a bit about Computer Science Duke Femmes Event with Prof
An Introduction to Alice
How Tall Are You? Introducing Functions
Getting Started With Alice
Professor Susan Rodger
Headshots in Alice Duke University Professor Susan H. Rodger
Getting Started With Alice: The Basics
Alice and Daisies: Positioning and Moving Objects in Alice
Lesson One: Objects in Alice: Positioning and Moving Them
Professor Susan Rodger
Making Objects Move in Unison: Using Lists
Presentation transcript:

The Essentials of Alice By Jenna Hayes under the direction of Professor Susan Rodger Duke University May 2009

This tutorial will teach you how to create a short animation in an Alice world. Follow the steps and use the pictures to help find things on your screen. When you open Alice, the first thing you must do is choose a background for your animation. You have six choices. Select the templates tab to see the background choices. For this tutorial, choose the sand background, and then click Open. Step 1: Choosing a BackgroundStep 2: Adding an Object Next, add an object. The object will be the main character in your Alice animation. Click on the green Add Objects button under your viewing screen.

At the bottom of your screen, a library of objects will appear. Step 2 (continued): Adding an Object A kangaroo will appear in your viewing screen. Your Alice world now contains a kangaroo! Click the green Done button to the right to exit the object-adding screen. Click on Animals, and then scroll to the right and click on Class Kangaroo, and then click Add Instance to World.

To find a list of methods the kangaroo can do, click on the word kangaroo in the object tree, which is the list of objects in your world at the top left of the screen. Below the object tree, click on the methods tab to see a list of methods. Step 3: Finding the methods To control the kangaroo’s actions, we must use commands called methods.

This is called the method editor, and this is where we will put a list of the methods that we want our kangaroo to carry out. Find the Do in order button at the bottom of the method editor, and drag and drop it into the method editor. Now, when we drag and drop methods inside this Do in order, they will be carried out one by one, in the order that they are listed. Step 4: Adding Methods

Let’s make the kangaroo move backwards and then forwards again. Find the move method in the kangaroo’s list of methods, click on it, and drag it over to the Do in order. Release your mouse button to drop it there. Step 4 (continued): Adding Methods

When you drop the move method, you will see a gray drop down menu appear. Slide your mouse to backwards for direction. Then a list of amounts will appear; click on 5 meters. Your method editor should look like this when you’re done. This is your first Alice programming statement telling the kangaroo to move backwards, using the move method. Step 5: Method Specifics

Let’s make the kangaroo move forward to its original position. Right click on the word move in the statement you placed in the editor and click make copy. Now you have the same statement twice. On the lower move statement, click on the small down arrow next to the word backward. A list of directions will drop down. Click on forward to change the direction of the second statement to forward. Step 6: Finishing the Method

Now you can play your world, and your kangaroo will carry out the program in your method editor. Step 7: Playing Your World Find the Play button in the upper left- hand corner of your screen, and watch your kangaroo in action. Click Restart to see the animation again, and click Stop when you are done.

What if you want to get rid of a statement from your method editor? Click on the leftmost part of the statement and drag it up to the trash can in the upper left-hand corner. When the outlines around both the trash can and method are green, drop the method to delete it. Try this on the kangaroo move forward method. Both outlines are green. Step 8: Editing your program

Now how do you get your method back if you decide you want it after all? By clicking on the Undo button in the upper left hand corner of the screen. You can use this button to undo any mistakes you make in Alice. It is very important, and will save you from a lot of frustration. Click on Undo to get back your kangaroo move forward method. Step 8 (continued): Editing your program

You can also make your kangaroo carry out more than one method at once, by using Do together. Let’s make the kangaroo turn its tail and say “Crikey!” at the same time. Find the Do together button at the bottom of your method editor and drag and drop it under your Do in order. Step 9: Doing two methods at once

We want to move only the tail so we need to find that specific part. Click the plus sign to the left of kangaroo in the object tree. A list of the kangaroo’s parts will appear. Click on tail, and a list of the tail’s methods will appear below the object tree. Step 10: Moving a Specific Part

To make the tail turn, drag and drop the tail’s turn method into the Do together. On the drop down menu of directions, choose left, and then for the amount, choose 1 revolution (all the way around). Try playing your world to see what it looks like. Step 10 (continued): Moving a Specific Part

Click on the kangaroo in the object tree to display the kangaroo’s methods again. To make the kangaroo talk, click on the say method and drop it into the Do together under the turn method. On the drop down menu that appears, click on “other…” and then type in “Crikey!”. Then click OK. Step 11: Talking

It seems that the kangaroo says “Crikey!” a little too quickly. To make the speech bubble stay on the screen longer, we can adjust the length of the method’s time. Play your world to see how it looks so far. Step 12: Adjusting the Timing On the kangaroo say Crikey! method, click on the word “more…”. Select duration. You can see that the duration is set at 1 second, so change it to 2 seconds. Then play your world and see the difference in timing.

When you are finished, your program will look like this: These are only the very basics of what you can do with Alice. Try out your kangaroo’s other methods, and see what you can make him do! Step 13: Your Turn!