Creating An Animation Program Part 2 Alice. Method A segment of program code (instructions) that defines how to perform a specific task.

Slides:



Advertisements
Similar presentations
Objects and Properties Alice. Objects in Alice Objects already exist. Hundreds of them.
Advertisements

Class-level Methods Chapter 6. Class-level Method Is specific to a class of objects We can give a class new abilities/methods Only involves this one class.
Review of Chapter 4 Sections 1 and 2 World-level methods involve two or more objects break a large problem into smaller, logical units follow a design.
World-level Methods with Parameters Alice. Larger Programs As you become more skilled in writing programs, you will find that your programs quickly begin.
1 Alice: Beyond the Basics Steve Cooper Michelle Venable-Foster Barbara Ericson May 2007.
1 Alice: Beyond the Basics Steve Cooper Michelle Venable-Foster Barbara Ericson Aug 2009.
Alice: A Visual Introduction to Programming Chapter 1 Part 3.
Programming in Alice Chapter 2. Today’s Agenda Designing a Program Writing Methods Executing Instructions Simultaneously Comments Tips for Setting Up.
Programming: Putting Together the Pieces Built-in Functions and Expressions Alice.
Creating an Animation Program Alice. Step 1: Design Decide on the problem to be solved Design a solution We will use a storyboard design technique, commonly.
Programming in Alice Chapter 2 Part 2. Events Editor Identifies what method is executed (run) when the “Play” button is hit 2.
Classes, Objects, and World-level Methods Alice. Programming in Alice© 2006 Dr. Tim Margush2 Class / Object Class A template describing the characteristics.
Animation Programs Alice. Overview 4-step process for creating animations Step 1: Understand Problem Step 2: Design Step 3: Implementation Step 4: Test.
Creating An Animation Program Alice Web Design Section 8-4.
Classes, Objects, and World-level Methods
Classes, Objects, and World-level Methods Alice. Larger Programs As you become more skilled in writing programs, you will find that programs quickly increase.
CS320n –Visual Programming Introduction to Alice Mike Scott (Slides 2)
Don Slater Wanda Dann Motion and Rotation Copyright 2012 Wanda Dann, Don Slater All rights reserved.
Motion and Rotation. 3 Dimensional Space  An Alice object o Is located in a 3D world, positioned at (x, y, z) o has 3 dimensions o height, width, depth.
Don Slater Wanda Dann Joint Operations Copyright 2012 Wanda Dann, Don Slater All rights reserved.
Alice Tips and Techniques. Tips and Techniques I suggest you read the tips and techniques sections at the ends of the chapters. Tells you how to do things.
CS329e – Elements of Visual Programming Implementing Programs Mike Scott (Slides 2-2)
Animation Programs: Scenarios and Storyboards Alice.
A first program Sept 14, 2010 – Day 3 Object-oriented Programming thru Video Games TIDE 1840 Harry Howard Tulane University.
Alice Program Design and Implementation. Scenarios and storyboards The previous magician example illustrated a simple storyboard which depicts a scenario.
Functions Alice.
Creating An Animation Program Alice. Step 1: Design Decide on the problem to be solved Design a solution We will use a storyboard design technique, commonly.
Creating An Animation Program Alice. Recall We began the animation creation process We introduced the concept of storyboard We will continue using the.
Animation Programs: Scenarios and Storyboards
Animation Programs Alice.
Programming: Putting Together the Pieces Built-in Questions and Expressions Alice.
Functions Sec 8-11 Web Design. Objectives The Student will: Understand what a function is Know the difference between a method and a function Be able.
Storyboarding and Program Design Alice. Step 1: Design Decide on the problem to be solved Design a solution We will use a storyboard design technique,
Review for test! Alice Chapter 1&2 Test is tomorrow! - March 26 th March 25th.
Fall 2007ACS-1805 Ron McFadyen1 Chapter 2 Creating Your First Animation (An Introduction to Programming)
Creating An Animation Program Alice. Recall from last lecture We began the animation creation process We introduced the concept of storyboard We will.
Creating An Animation Program Alice. Recall We began the animation creation process We introduced the concept of storyboard We will continue using the.
Creating an Animation Program Alice. The programming steps.
Joint Motion Copyright 2014 Wanda Dann, Don Slater All rights reserved.
Headshots in Alice Duke University Professor Susan H. Rodger Gaetjens Lezin July 2008.
Creating an Animation Program Alice. Step 1: Design Decide on the problem to be solved Design a solution We will use a storyboard design technique, commonly.
Setting Up the Initial Scene. Problem Solving in Alice Set up the initial scene in a new world The princess example Setting up the initial scene.
1 Quiz Show Programming Terms. 2 Alice - 3D Virtual Programming Vocabulary Quiz Board Chapter 1 Chapter 2a Chapter 2b Chapter 3 Chapter 4 $100 $200 $300.
CS0007: Introductory Programming Rotational Motion.
Programming in Alice Chapter 2.
Classes, Objects, and World-level Methods
Setting Up the Initial Scene
Functions Sec 51 Web Design.
Functions Sec 8-11 Web Design.
Control Structures
World-level Methods with Parameters
Classes, Objects, and World-level Methods
Creating an Animation Program
Alice: Beyond the Basics
Chapter 2: Programming in Alice
Programming: Putting Together the Pieces Built-in Functions and Expressions Alice.
Design and Implementation
Creating an Animation Program
Programming: Putting Together the Pieces Built-in Functions and Expressions Alice.
Programming: Putting Together the Pieces Built-in Functions and Expressions Alice.
Functions Alice.
Programming: Putting Together the Pieces Built-in Functions and Expressions Alice.
Functions Alice.
Classes, Objects, and World-level Methods
Creating An Animation Program
Programming: Putting Together the Pieces Built-in Functions and Expressions Alice.
Functions Alice.
Programming: Putting Together the Pieces Built-in Functions and Expressions Alice.
Functions Alice.
Programming: Putting Together the Pieces Built-in Functions and Expressions Alice.
Presentation transcript:

Creating An Animation Program Part 2 Alice

Method A segment of program code (instructions) that defines how to perform a specific task.

Do In Order Do a set of instructions in sequential order

Do Together Two or more things to occur at the same time

Nesting One program statement is written inside another program statement.

Bugs Error in computer programs. (The object doesn’t do what you told it to do.) Once the BUGS are removed, you have successfully DEBUGGED the program

Property Change an aspect of an object or world

Open “Snowpeople Scenario” Make the snowwoman’s head turn red as if she is blushing after the snowman comes over to the group.

Comments Are not instructions that cause some action to take place. The program will ignore comments when it is running USEFUL When someone else want to read your code

Assignment Read Chapter 2, Section 2 A First Program Read Tips & Techniques 2, Orientation and Movement Instructions

MOVE Is called a TRANSITIONAL move Left Right Up Down Forward Backward Egocentric – Object move is relative to its own orientation

Turn Rotational motion Left Right Forward Backward Rotational motion Left Right Roll Add an AXES (shapes) to an object and make the axes a “Vehicle to” the other object

Subpart Rotation When a subpart is selected, the turn or roll is at the PIVOT point. Which is usually the joint.

Orient To When 2 objects MUST move together. The orientation of the 2 objects must be synchronized. They will have the same sense of UP, DOWN, LEFT, RIGHT, FORWARD, BACKWARD

Vehicle Method Another way to synchronize the movements of 2 objects. Under PROPERTIES Choose VEHICLE

Arguments: Duration, Style, asSeenBy Duration – An amount of time (seconds) “0” – instantaneous movement Negatives are not used Style – How one movement BLENDS into next asSeenBy – Uses the orientation of one object to guide the movement of another object

Turn to Face & Point At Turn to Face – Causes one object to pivot around until its front is facing some other object Point At – Aligns two objects from the center of one of the center of another onlyAffectYaw (true) – Object points at another object without tipping

Move Moving an object in relation to the location of another object Moves an object to a specific location in the world

Lab Chapter 2 Lab Exercises