Adding and Manipulating Objects

Slides:



Advertisements
Similar presentations
Space Man Sam: Grammar Mistakes By Aleis Murphy Duke University, Under the direction of Professor Susan Rodger July 2010.
Advertisements

Step-by-Step: Add a Graphical Hyperlink USE the Special Events Final presentation that is still open from the previous exercise. 1.Go to slide 4, and click.
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.
Texture Maps Alice Project 2008 Duke University Professor Susan H. Rodger Gaetjens Lezin July 2008.
Getting Started With Alice By Ruthie Tucker under the direction of Prof. Susan Rodger Duke University, July
Skater World: Part One By Deborah Nelson Duke University Under the direction of Professor Susan Rodger May 29,
Lets Play Catch! Keeping Score in Alice By Francine Wolfe Duke University Professor Susan Rodger May 2010.
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.
Distributing (Fun + Learning): The Distributive Property By: Peggy Li Under the direction of Professor Susan Rodger Duke University, June
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.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 4 1 Microsoft Office FrontPage 2003 Tutorial 4 – Using Shared Borders and Themes.
To download PhotoStory: Go to On the left side under Product Resources, click on Downloads.
3–D Helium Molecule Tutorial Alice Project Duke University Professor Susan H. Rodger Gaetjens Lezin June 2008.
Alice 2.0 Introductory Concepts and Techniques Project 1 Exploring Alice and Object-Oriented Programming.
An Introduction to Alice 3.1
1. Click the arrow beside the SOLIDWORKS symbol 2. Under this arrow click on the “File” button 3. Click on the “Open…” button 4. Find your folder wherever.
An Introduction to Alice (Short Version) – Extras! Yossra Hamid Under the Supervision of Professor Susan Rodger Duke University, June 2014 This is a continuation.
This is what we want to draw Extrude Mirror Round Edges.
Can I get your number? By Melissa Dalis Professor Susan Rodger Duke University June 2011.
Creating a Historical Tour in Alice By Jenna Hayes May 2010.
Balancing the scales: Inequalities By Melissa Dalis Professor Susan Rodger Duke University June 2011.
Create a Halloween Computer Game in Scratch Stephanie Smullen and Dawn Ellis Barb Ericson October 2008.
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,
Skater World: Part Four By Deborah Nelson Duke University Under the direction of Professor Susan Rodger June 1, 2009.
An Introduction to Alice By Jenna Hayes under the direction of Professor Susan Rodger Duke University, June 2009 Updated June 2014 by Ellen Yuan.
Basic Filmmaking. Converting File Formats: First, you have to convert your video files to a different format so the editing software will recognize it.
Illuminating Computer Science CCIT 4-6Sep
Headshots in Alice Duke University Professor Susan H. Rodger Gaetjens Lezin July 2008.
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.
VISIO Getting Started Libby Baker - MS Office Limited Flow Chart Diagram.
Under the direction of Susan Rodger
The Alice Scene Editor.
Creating a UFO Rescue Game in Alice
The Essentials of Alice (Bunny)
Class-Level Variables in Alice
Getting Started With Alice: The Basics
Create a Halloween Computer Game in Scratch
Skater World: Part Four
Professor Susan Rodger
Setting Up the Initial Scene
An Introduction to Alice (Short Version)
Teaching Characters to Walk: Learning Methods, Part 1
Comparing objects and changing color
Getting started in Alice
Changing Camera Views! Part 1: Set Point of View to By Bella Onwumbiko
Making a Timer This is an modification of the July 2008 timer tutorial by Jenna Hayes By Natalie Huffman Under the direction of Susan Rodger Duke University.
Under the direction of Susan Rodger
Changing Color, Using Text Objects, and Random Selection in Alice
Making Objects Move in Unison: Using Lists
Creating a UFO Rescue Game in Alice
MS PowerPoint 2010 Week 2.
1. Open up Windows Live Movie Maker
Programming using Alice 3
Making Objects Move in Unison: Using Lists
Princess & Dragon Part 2: Teaching a Dragon to Fly—Methods & Properties By Elizabeth Liang under the direction of Professor Susan Rodger Duke University.
Learn a bit about Computer Science Duke Femmes Event with Prof
An Introduction to Alice
Northwest School Division #203
Princess & Dragon Part 3: A Knight Comes Riding In—Cameras & Events
Introduction to Object-Oriented Programming in Alice
Getting Started With Alice
Photostory 3.
Learning to Program: Part 3 Camera Control, Invisibility and 3-D Text
Headshots in Alice Duke University Professor Susan H. Rodger
Getting Started With Alice: The Basics
Presentation transcript:

Adding and Manipulating Objects Unit 1: Scene Setup Adding and Manipulating Objects

Starting a New Project When you open Alice 3, you’ll see this window. You will need to either open up a project that you have already created, or start a new project. To start a new project, choose one of the templates (backgrounds)

Starting a New Project This is the main screen for Alice 3. The programming will happen on this screen, but before we get to that we will have to put some objects into the scene. Click on Setup Scene

The Scene Editor At the bottom of this screen is the gallery where all of the possible objects are found. Browse by hierarchy means by if/how an objects moves. Browse by theme and group have collections of objects. You can also search for an object by name or add a shape or text.

Adding Objects Two ways to add objects: Click on the object The object will be added to the middle of the scene. Drag and drop the object where you want it. Name the object – either use the default or rename, but be careful not to use the same name twice!

Manipulating Objects Every object in Alice is 3-D Width, height, and depth The different handle styles let you move, rotate, and resize objects. Try each of them to see what they do!

Manipulating Objects The objects have body parts that can be manipulated as well. Use the drop down menu to choose the body part. Use the handles to turn, bend, or resize the body part.

Exercise 1 – Witch’s Cauldron Go to File-New to create a new project. Choose the Dirt template as a background. Click on Setup Scene to enter the Scene Editor Find the Cauldron (either by hierarchy-prop or by search) in the gallery and click to add it to the scene. Leave the default name.

Exercise 1 – Witch’s Cauldron 5. Change the color of the cauldron to blue by using the drop-down next to Paint.

Exercise 1 – Witch’s Cauldron 6. Move the cauldron to the left side of the scene by using the Translate handle. 7. Add the cauldron lid to the scene by using the search. Leave its name as the default.

Exercise 1 – Witch’s Cauldron 8. Move the cauldron lid onto the cauldron: Right click on this.cauldronLid in the object tree. Choose procedures, place, above, and cauldron.

Exercise 1 – Witch’s Cauldron 9. Make the cauldron lid move with the cauldron. Make sure the lid is selected. Change the vehicle property to cauldron.

Exercise 1 – Witch’s Cauldron Find the witch in the gallery and add her to the scene. Resize her to make her bigger. Rotate the witch to make her face the cauldron. Save the file to your OneDrive. Make a folder for Computer Programming and a folder within it called Unit 1. Name the file “Witch Cauldron”.

Exercise 2 – Card Game Setup We will now set up a new scene that will eventually become a card game. In this setup we will practice using the position and size boxes and adding text and shapes to the scene.

Exercise 2 – Card Game Setup The problem: create a trimmed version of a card game. 2 Players will each be dealt a card, and the player with the highest card wins. Right now we are setting the scene. We need text that displays the score for each player, and cones to set the locations for the cards to be dealt to.

Exercise 2 – Card Game Setup Start a new file with the grass template. File - Save As – “CardGame” in Unit 1 of your Computer Science OneDrive Folder. Go to the scene setup and browse by theme in the gallery. Click on fantasy, then castle, then new CastleWall. Choose the first choice to add to the scene.

Exercise 2 – Card Game Setup Choose the same castle wall again to add a second wall. (It will be placed right on top of the first.) Move this piece using the position. Change the x location to be 5.20 and press ENTER. The wall should move to the left.

Exercise 2 – Card Game Setup Choose the Shapes/Text tab and select new TextModel and drag it into the scene. Name the text model as player1Sign. Change the value of the text by choosing custom textString and then typing “Player 1”.

Exercise 2 – Card Game Setup We will resize and move the sign using the right side of the screen. Change the width to be 1 and press ENTER. Change x to 1.5, y to 1.5, and z to -3.0, pressing ENTER after each.

Exercise 2 – Card Game Setup Repeat the process in steps #6-10 to add the following TextModels at the following locations: player2Sign – “Player 2” – x: -1.5, y: 1.5, z: -3.0, width: 1 player1Win – “WIN!!” – x: 1.5, y: 1.0, z: -3.0, width: 1 player2Win – “WIN!!” – x: -1.5, y: 1.0, z: -3.0, width: 1 player1Score – “Score: 0” – x: 1.5, y: 0.5, z: -3.0, width: 1 player2Score – “Score: 0” – x: -1.5. y: 0.5. z: -3.0, width: 1

Exercise 2 – Card Game Setup Two placement cones will be needed as markers for the playing cards. Find cones in the Shape gallery. cone1 - x: 0.5, y: 0.0, z: -3.0, width: 0.25 cone2 - x: -0.5, y: 0.0, z: -3.0, width: 0.25

Exercise 2 – Card Game Setup We need to place another cone far off the scene. Since the camera will be moving, it will help to place a camera marker to remember this position. Click on the triangle beside Camera Markers, then Add Camera Marker. Name this marker as originalCamera and make it RED.

Exercise 2 – Card Game Setup Click on the first camera arrow at the bottom of the scene. Choose the LEFT arrow to scroll to the left, far enough to place a cone to the left of the wall. coneOutside – x: 8.0, y: 0.0, z: -3.0, width 0.25

Exercise 2 – Card Game Setup Now we need to place the cards at this position. Browse the gallery by hierarchy and choose Biped. Find PlayingCard, and scroll to the right for PlayingCard(ONE 1). Name it playingCard1. Change the width to be 0.5. Click on one shots drop down, choose procedures, then moveTo, and then coneOutside.

Exercise 2 – Card Game Setup Repeat this procedure to place nine more cards (from PlayingCard (TWO2) to PlayingCard (TEN10)). Be sure to change the widths to 0.5 and move each card to the coneOutside.

Exercise 2 – Card Game Setup To return to the original camera view, change the object to camera, then choose one shots, procedures, moveTo, and originalCamera. Be sure to save this final version of CardGame. We will return to it later to make the game run.