Getting Started With Alice: The Basics By Jenna Hayes under the direction of Professor Susan Rodger Duke University July 2008 www.cs.duke.edu/csed/alice/aliceInSchools.

Slides:



Advertisements
Similar presentations
Visual Lists By Chris Brown under Prof. Susan Rodger Duke University July 2012.
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.
Using “AsSeenBy” In Alice By 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.
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.
Class-Level Variables in Alice By Jenna Hayes Under the direction of Professor Rodger Duke University, July 2008.
Wizard Game: Class-Level Variables in Alice By Jenna Hayes Under the direction of Professor Susan Rodger Duke University, July
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.
Working with Numbers in Alice - Converting to integers and to strings - Rounding numbers. - Truncating Numbers Samantha Huerta under the direction of Professor.
Getting Started With Alice By Ruthie Tucker under the direction of Prof. Susan Rodger Duke University, July
Code Club Session 2 Dance Party. What will we learn ?  How to change the background  How to create animations  How to make objects talk to each other.
Skater World: Part Two By Deborah Nelson Duke University Under the direction of Professor Susan Rodger June
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.
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.
Making a Timer in Alice By Jenna Hayes under the direction of Professor Susan Rodger Duke University July
Skater World: Part Two By Deborah Nelson Duke University Under the direction of Professor Susan Rodger June 1,
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
Balancing the scales: Inequalities By Melissa Dalis Professor Susan Rodger Duke University June 2011.
The Essentials of Alice Mrs. Jayne Slease SBMS CTE Computer Science and Animation Credit to Duke Students under the direction of Professor Susan Rodger.
Tutorial for Arrays and Lists. Description This presentation will cover the basics of using Arrays and Lists in an Alice world It uses a set of chickens.
Creating a 3D Interactive Story Prof. Susan Rodger Duke University July 19, 2007.
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
Using Placeholders to Simplify your Methods: Learning Methods, Part 2 By Deborah Nelson Duke University Professor Susan Rodger June 16, 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.
The Essentials of Alice By Jenna Hayes under the direction of Professor Susan Rodger Duke University May 2009.
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)
Changing Color, Using Text Objects, and Random Selection in Alice
The Essentials of Alice
Objects in Alice: Positioning and Moving Them
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
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
Presentation transcript:

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

Step 1: Background Open up Alice, and choose a background for your Alice world. Your world is something you can put objects in and make them do things. There are six different background options. For this example, choose grass. Step 2:Object Library Add an object to your Alice world. Alice is full of different kinds of objects to add to your world to make it interesting. Click on the Add Objects button: Click on the animals folder of objects:

Step 3: Add Object Find the bunny among the types of objects and click on it. Then click Add Instance to World. This is how you add an object to your Alice world. The bunny object will appear in your world. Click the green Done arrow on the right hand side of the screen to begin working with your new bunny. Step 4: Finding Methods On your Alice screen, you should see your method editor. This is the area where you will be telling your bunny what to do. It looks like this: A method is a command you can tell to your bunny. Your bunny already knows certain commands. Find the object tree that lists the objects in your world, in the left hand corner of your screen, and click on bunny:

Step 5: Adding Methods Below the object tree, the methods, or commands, that your bunny already knows will pop up: We are going to make your bunny jump, by using the move method to tell it to go up and then back down again. Before we can do that, we need to find the Do in order button under the method editor, click it, and drag and drop it into the method editor: When we drop methods into this new Do in order command, this will make the bunny, guess what, do them in order!

Step 6: Adding Methods cont. Click on the move method in the list of methods under the object tree, drag it across to the method editor, and drop it on top of your Do in order command: When you release the move method, you should see some options for your method: what direction you want the bunny to move in, and how far you want it to move. Step 7: Method Specifics Since we want to make the bunny move up first, move your mouse over the up direction, and then click on 1 meter: Your first command to your bunny is now complete.

Step 8: Finishing the Command To make your bunny move back down from its jump, right click on your move command and select copy. Your move command will be copied right beneath where you dropped it. Click on the small down arrow next to the second up change it to down. Your method editor should look like this: Find the play button in the upper left hand corner of your screen, and click it to watch your bunny jump!

Now youll learn how to get rid of methods you dont want anymore. Lets say you dont want the bunny to move down anymore. Click on the word move on your bunny move down command and drag the command up to the trash can in the upper left part of your window. When the outline around the trash can and the command turns green, you can drop the command in the trash can to delete it. Step 8 (cont) - Deleting a Method

Step 8 cont - Using the Undo Button If you have deleted something or done something wrong, and you want to erase what you have just done, you can click the Undo button in the upper left hand corner of your screen. This button is a lifesaver in many situations. Try clicking it to get back the bunny move command you just deleted.

Step 9: Doing Two Methods at Once If you want to make your bunny do more than one thing at once, you use the Do Together button. Lets say we want to make the bunny wag its ears and say I love Alice! at the same time. Drag the Do Together button into your method editor, and drop it under the Do In Order thats already there. To make the bunny wag its ears, well use the turn method, and tell the ears to turn. To command just the bunnys ears to move, click the plus sign next to bunny on the object tree. You should see more parts of the bunny. Then click on the plus sign next to upperBody, and then again next to head. Now you should see the bunnys ears.

Step 9 cont. To see the methods that the bunnys ears know, click on rightEar and theyll show up in the bottom left corner of your screen. Choose the turn method, and drag it into your Do Together command in the method editor. To make the ear turn out, select left for the direction, and then select 1/4 Revolution to make the ear turn ¼ of a complete circle to the left. Now click on the leftEar, and repeat the process, except instead of asking the ear to turn left, ask it to turn right. Your method editor should now look like this:

Step 10: Make the Bunny Talk Now that your bunny has proper ear wagging action, make it talk. Click on bunny in the object tree to display the bunnys methods. Then click on bunny Say and drag it into your Do Together command under your other methods. This small menu will appear: Click on other to enter in your own text. In the text box that pops up, type I love Alice! Press the play button to see what your world looks like now.

Step 11: Adjusting Method Timing You may have noticed when you played your world that the bunnys speech bubble appears and then disappears very quickly, almost too quickly to read. There is a way to fix this! Look at the line in your method editor that commands your bunny to speak. On that line, click the word more… next to the command. Click duration on the small menu that appears. You can see that 1 second is already selected, which is how long the speech bubble appears for. We want to make it longer, so click on other, and then enter in 3 on the calculator that appears.

Now play your Alice world. You can actually read the speech bubble now! Congratulations on finishing your first Alice world!