Creating An Animation Program Alice. Recall from last lecture We began the animation creation process We introduced the concept of storyboard We will.

Slides:



Advertisements
Similar presentations
More About Recursion Chapter 8 Section 2. Recall Recursion is a programming technique where a method calls itself. Recursion uses the IF/ELSE control.
Advertisements

Alice.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland Modified by Serita Scott Further modified by Suzy Crowe.
Introduction to Alice Web Design Section 8-2 Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
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.
More About Recursion Alice. A second form of recursion A second form of recursion is used when the solution to a problem depends on the ability to break.
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.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Creating An Animation Program Alice Web Design Section 8-4.
CSE3: Fluency in Information Technology Dr. Beth Simon Computer Science and Engineering CSE B270: Lab Write these down.
Classes, Objects, and World-level Methods
Today’s Agenda 1.Collect Pre-Lab 4 2.Alice Programming Assignment Storyboards 3.Classes 4.Objects 5.Methods 6.Assign pair programming teams and meet upstairs.
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)
Programming Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Programming: Putting Together the Pieces Built-in Functions and Expressions Alice.
Animation Programs: Scenarios and Storyboards Alice.
Creating An Animation Program Part 2 Alice. Method A segment of program code (instructions) that defines how to perform a specific task.
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.
Xin Nov 15, Introduction to Alice Alice A very visible programming language Programming by dragging objects Interface World window The virtual world.
A first program Sept 14, 2010 – Day 3 Object-oriented Programming thru Video Games TIDE 1840 Harry Howard Tulane University.
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.
Storyboarding1 Steve Cooper Barb Ericson August 2009 Storyboarding.
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.
Creating an Animation Program
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,
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.
Animation Programs: Scenarios and Storyboards 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.
Animation Programs: Scenarios and Storyboards
Classes, Objects, and World-level Methods
Animation Programs: Scenarios and Storyboards
Animation Programs: Scenarios and Storyboards
Obj: Introduction to Alice
Classes, Objects, and World-level Methods
Introduction to Events
Introduction to Alice Alice is named in honor of
Classes, Objects, and World-level Methods
Creating an Animation Program
Introduction to Alice Alice is named in honor of
Animation Programs: Scenarios and Storyboards
Chapter 2: Programming in Alice
Programming: Putting Together the Pieces Built-in Functions and Expressions Alice.
Creating an Animation Program
Introduction to Alice Alice is named in honor of
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.
Introduction to Alice Alice is named in honor of
More About Recursion Alice.
Animation Programs: Scenarios and Storyboards
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 Alice

Recall from last lecture We began the animation creation process We introduced the concept of storyboard We will continue using the example presented last lecture

Step 2: Implementation Implementing an animation requires Setting Up the Initial Scene in Alice Writing the Program (Script)

Create Initial Scene

Techniques and Tools Mouse used to set up the initial scene approximately position objects in the scene Camera Navigation is used to set the camera point of view Drop-down menu methods are used to resize objects more precisely position objects in the scene Scene Editor's Layout Manager is used to obtain specific alignments position one object relative to another object

Writing A Program "Writing" a program (script) a list of instructions to have the objects perform certain actions in the animation

Writing the Program Our planned storyboard (to-do list) is: The idea now is to translate the design steps to program instructions. Snowman turns to face snowwoman. Snowman “makes eyes” and calls out to snowwoman. Snowwoman turns around.

Translating the Design Some steps in the storyboard can be written as a single instruction The snowman turns to face the snowwoman Other steps are composite actions that require more than one instruction The snowman tries to catch the snowwoman’s attention is two actions Snowman says “ahem” Snowman raises and lowers his eyes

Actions Sequential Some actions occur one after the other first step (snowman turns to face snowwoman) second step (snowman tries to get snowwoman’s attention) Simultaneous Other actions occur at the same time Snowman says "Ahem" and while simultaneously blinking his eyes

Action Blocks in Alice Sequential Action Block Simultaneous Action Block

Write the Animation Program Will develop in class.

Coding the first 2 steps Things to note: Nesting of DoTogether and DoInOrder blocks Arguments for the move instruction direction distance

Testing An important step in creating a program is to run it – to be sure it does what you expect it to do. We recommend that you use an incremental development process: write a few lines of code and then run it write a few more lines and run it write a few more lines and run it… This process allows you to find any problems and fix them as you go along.

Comments While Alice instructions are easy to understand, it is often desirable to be able to explain (in English) what is going on in a program We use comments to explain to the human reader what a particular section of code does

Notes: 1) Comments appear in green 2) Alice ignores comments. 3) Comments make the program easier to read.

In the previous example, the comment described a large block of program code. Comments also can be used for a small subsection of the program code.

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

Lab Lab 2-2