Objects in Alice: Positioning and. Moving Them July 2008

Similar documents
Alice and Daisies: Posi/oning and Moving Objects in Alice. By Jenna Hayes under the direc/on of Professor Susan Rodger Duke University July 2008

The Basics. By Jenna Hayes under the direction of Professor Susan Rodger Duke University July

How Tall Are You? Introducing Functions

The Essen(als of Alice (Bunny) By Jenna Hayes under the direc(on of Professor Susan Rodger Duke University July 2008

Alice Learning to program: Part Two by Ruthie Tucker and Jenna Hayes Under the direction of Professor Susan Rodger Duke University, July 2008

Learning to Program: Part 2 Wri0ng Methods and Events

How Tall Are You? Introducing Func6ons

Once you have chosen the water world this is how your screen should look.

Part II Coding the Animation

Begin at the beginning," the King said, very gravely, "and go on till you come to the end

CS Problem Solving and Structured Programming Lab 1 - Introduction to Programming in Alice designed by Barb Lerner Due: February 9/10

Princess & Dragon Version 2

Alice. our characters it would be nice to be able to. This can simplify the story and sometimes add. Zoom in on our first character when she talks

Demo. Getting Started with Alice Demo

Session 3: Getting to Know Photoshop Elements. Keep in mind that there are many others ways of solving the problems.

Alice: A Visual Introduction to Programming. Chapter 1 Part 2

ALICE TUTORIAL. Introduction to Alice 3

Sketch-Up Project Gear by Mark Slagle

Basic Tutorials Series: Import A Photograph. RenoWorks Support Team Document #HWPRO0003

MAKING THE FAN HOUSING

How to create a cove for cove lighting in DIALux In this tutorial you will learn how to make a cove similar to the one in the following image

ILLUSTRATOR BASICS FOR SCULPTURE STUDENTS. Vector Drawing for Planning, Patterns, CNC Milling, Laser Cutting, etc.

Princess & Dragon Part 3: A Knight Comes Riding In Cameras & Events

Creating a Historical Tour in Alice

Alright! I can feel my limbs again! Magic star web! The Dark Wizard? Who are you again? Nice work! You ve broken the Dark Wizard s spell!

Unit 3.11 Introduction to Absolute & Polar Coordinates in AutoCAD Ardrey Kell High School Charlotte, NC Date: 11/18/13 (Revision II)

Getting Started. Before You Begin, make sure you customized the following settings:

AUDACITY TABLE OF CONTENTS

2809 CAD TRAINING: Part 1 Sketching and Making 3D Parts. Contents

Unit 6.5 Text Adventures

Tutorial 1 getting started with the CNCSimulator Pro

Princess & Dragon Part 2: Teaching a Dragon to Fly Methods & Proper:es

Challenge 1: Tami s World

Use Linear Regression to Find the Best Line on a Graphing Calculator

uiulearn TUTORIAL INTEGRATIONS> HOW TO USE PANOPTO (STUDENT)

Overview. Scene Changes. Camera Markers in Alice 3. Open a new Alice world

Kodu Game Programming

Getting Started. 1. Double click on the eye con. 2. Single click on File, then new, then OK. Click here.

Assignment 5 CAD Mechanical Part 1

Photoshop CS6 automatically places a crop box and handles around the image. Click and drag the handles to resize the crop box.

User Manual of Alpha 1s for Mac

Constructing a Wedge Die

PHOTOSHOP YOURSELF GREEN SCREEN TUTORIAL

Basic image edits with GIMP: Getting photos ready for competition requirements Dirk Pons, New Zealand

Let's Race! Typing on the Home Row

QUICKSTART COURSE - MODULE 1 PART 2

1. Creating geometry based on sketches 2. Using sketch lines as reference 3. Using sketches to drive changes in geometry

The Basic RAW Image Processing Workflow In PSE 2018

Solidworks Tutorial Pencil

Rendering a perspective drawing using Adobe Photoshop

Tutorial Building the Nave Arcade

SolidWorks Tutorial 1. Axis

Using the Ruler Tool to Keep Your Tracks Straight Revised November 2008

Okay, that s enough talking. Let s get things started. Here s the photo I m going to be using in this tutorial: The original photo.

Photoshop Elements Hints by Steve Miller

Step 1: Create A New Photoshop Document

INTERMEDIATE PHOTOSHOP: FAMILY PHOTOS

1 of 29. Lesson 1: HOW TO MAKE A SIMPLE HOUSE, Step by Step (and how to make it usable for Trainz) [PART 1 - Gmax]

User s handbook Last updated in December 2017

Step 1: Open A Photo To Place Inside Your Text

Photoshop: Manipulating Photos

Veco User Guides. Property Photos & Images

University Libraries ScanPro 3000 Microfilm Scanner

1 Best Practices Course Week 12 Part 2 copyright 2012 by Eric Bobrow. BEST PRACTICES COURSE WEEK 12 PART 2 Program Planning Areas and Lists of Spaces

12. Creating a Product Mockup in Perspective

SAVING, LOADING AND REUSING LAYER STYLES

Managing images with NewZapp

The original image. Let s get started! The final light rays effect. Photoshop adds a new layer named Layer 1 above the Background layer.

Ornamental Pro 2004 Instruction Manual (Drawing Basics)

The original image. Let s get started! The final result.

Creating Stitched Panoramas

BORDERS AND FRAMES - DROP SHADOW

Appendix B: Autocad Booklet YR 9 REFERENCE BOOKLET ORTHOGRAPHIC PROJECTION

iphoto Objective Course Outline

Creo Revolve Tutorial

Photo Effects & Corrections with PhotoFiltre

In the following sections, if you are using a Mac, then in the instructions below, replace the words Ctrl Key with the Command (Cmd) Key.

CSCI Lab 6. Part I: Simple Image Editing with Paint. Introduction to Personal Computing University of Georgia. Multimedia/Image Processing

KODAK DIGITAL ROC Professional Plug-In 2.1

ADDING RAIN TO A PHOTO

Photoshop 1. click Create.

Let s start by making a pencil that can be used to draw on the stage.

Extending the Dynamic Range of Film

Photoshop Elements 3 First Steps

Volume of Revolution Investigation

Vectorworks / MiniCAD Tutorials

Land use in my neighborhood Part I.

An Introduction to Alice

AUDACITY TABLE OF CONTENTS

Adobe Photoshop CC 2018 Tutorial

Stone Creek Textiles. Layers! part 1

The horse image used for this tutorial comes from Capgros at the Stock Exchange. The rest are mine.

Superhero. Here s the image I ll be using for this Photoshop tutorial:

Lesson 16 Text, Layer Effects, & Filters

Congratulations on your decision to purchase the Triquetra Auto Zero Touch Plate for All Three Axis.

Contents What s New?... 2 Chart Page... 3 System Page... 9 Project Settings... 10

To solve a problem (perform a task) in a virtual world, we must accomplish the following:

Stitching panorama photographs with Hugin software Dirk Pons, New Zealand

BEST PRACTICES COURSE WEEK 14 PART 2 Advanced Mouse Constraints and the Control Box

Transcription:

Objects in Alice: Positioning and By Jenna Hayes under the direction of Professor Susan Rodger Duke University July 2008 Moving Them July 2008 www.cs.duke.edu/csed/alice/aliceinschools

Download the Alice World that goes along with this tutorial. You will be learning about the objects in Alice, how they are positioned in the space of the Alice world, and how to move them around the way you want to. The most basic thing to know about the movement of an object in Alice is that each object can move in six different directions: up, down, left, right, forward, and backward. Always remember that these directions are from the object s point of view. For example, if you tell Alice to move left, she will move to HER left, not YOUR left. Alice s RIGHT FORWARD UP DOWN BACKWARD Alice s LEFT Side note: Individual pieces of objects, like Alice s arm for example, can move in these directions on their own too, if you command them to.

Step 1: Moving Alice Around So you can see the directions that objects can move in, use a Do in Order and tell Alice to move in each possible direction one meter. Your method editor should look something like this: Play your world to get an idea of how movement looks in each direction.

There is one more very important thing to know to understand movement in the Alice world. Each object in Alice has a center. This is the point on an Alice object that determines where it is in the world, and aroundwhich the objectwill rotate if commanded. Every object s center is different. center center center Side note: Not all human characters in Alice have their centers at their feet. It varies in position.

Step 2: Finding Alice s Center Your method editor will now look like this: Let s find Alice s center so we know what she ll look like when we tell her to turn or roll. Select the turn command from Alice s method list, and drop it in your method editor. Tllh Tell her to turn forward one revolution. This will make her do one full rotation around her center. Play your world to see where Alice s center is. You should notice that her center is somewhere between her feet, because when she rotates, she disappears into the ground!

Step 3: Placing your Objects When placing your objects in your world, it s hard to tell exactly where they are just by looking at the screen. Two objects that look like they re right next to each other might actually be very far apart, and if you want them to interact t with each other, you might have problems. That s why there is something in Alice called quad view. To find quad view, click on the add objects button under your world viewing screen. In the upper right hand corner of the screen that appears, you should see single view and quad view. Select quad view.

Step 3 cont. A screen like this should pop up in your Alice viewer: Your quad view should now look like this: As you can see, the quad viewer allows you to see your scene not only from the front as usual, but also from the top and the side. From the front, it looks like Alice and the flowers are in line with each other, when they are actually scattered all over the place. Click on the flowers to move them around the screen, and position them so that they are all in a line with Alice.

Step 4: Using the Undo button If you are working with Alice, and you do something that you wish you hadn t done, and you want to go back a step, there is a very useful button for you. It is the Undo button. It is located in the upper left corner of your screen: When you press the Undo button, whatever you last did in Alice will go back to the way it was before you did it. If you press Undo, but then you decide you actually want to keep the change you made, it s not too late! There is a Redo button right next to the Undo button!

Step 5: Experimenting with Zoom What if, when you are using the quad view, you can t find one of your objects? This is when you use the zoom button. It looks like this: While you re still in quad view, move one of your flowers far enough to the right so you can t see it anymore. Then click on the zoom button. Click on your top right quad viewing screen with the little magnifying glass, and drag your mouse in different directions to see which way the camera will zoom. Find your flower again, and line it up with the others. You can also use the button next to the zoom button You can also use the button next to the zoom button that looks like a little hand. When you click on that button and then click on your quad viewing screen and drag it in different directions, the camera will move in whichever direction you drag.

Step 6: Putting Alice Between the Flowers Nowwe re we going to explore a few methods that position or move your object in relation to other objects. We are going to tell Alice to turn to the flowers, and move until she is standing in between the last two flowers. If you want one object to face another, you use the turn to face method. Get out of the quad viewing screen. Click on the name of each flower in your object tree to find out which flowers are which. When you click the name of an object, a yellow cube will appear around it in your Alice viewer. Side note: If you are using a Mac, the cube will not appear. Tell Alice to turn to face whichever flower is closest to her by dropping a turn to face method in the method editor. When the menu shows you different parts of the flower to turn to, click the entire flower.

Step 6 cont. Now to make Alice move in between the flowers. Figure out which flower on your object tree is furthest to the right. Now, using the move toward method in your method editor, tell Alice to move toward the flower. Try out different lengths for her to move until she is standing in between the farthest two flowers. If you play your world, Alice will look like this: Now we want Alice to face forward again. Using the turn to face method in your method editor, make Alice turn to face the camera. She should now look like this:

Step 7: Syncing the Objects Orientation The last thing we want to do is make Alice and the flower on the end move backwards together. Use a Do together statement to make Alice and the flower move backwards at the same time. You may notice that Alice and the flower move in slightly different directions when they move backwards. Depending on how you positioned the flowers earlier in the tutorial, the flower may move slightly to the right or left, while Alice just moves straight back. We want them both to move straight back.

Step 7 cont. Since we can t tell which way the flower is facing, because it looks basically the same from all angles, we can t tell which direction is backwards for it. One way to make sure that the flower s backwards is the same as Alice s backwards is to use the orient to method. This method will position the flower so that it s directions matchup with Alice s directions. So select the flower on the object tree, and tell it to orient to Alice in your method editor. Select Alice from this menu that pops up: Place the orient to method in your method editor right above your Do Together.

Play your world, and Alice and the flower should move perfectly in sync with each other. Congratulations! Now you know how objects in Alice are positioned, and how to manipulate their positions and movements.