Animation Programs Alice. Overview 4-step process for creating animations Step 1: Understand Problem Step 2: Design Step 3: Implementation Step 4: Test.

Slides:



Advertisements
Similar presentations
Alice.
Advertisements

Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland Modified by Serita Scott Further modified by Suzy Crowe.
Alice and Media Computation August 2009 Animation Storyboard  Code Steve Cooper Barbara Ericson.
World-level Methods with Parameters Alice. Larger Programs As you become more skilled in writing programs, you will find that your programs quickly begin.
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Alice: A Visual Introduction to Programming Third Edition.
Alice Programming Step 1:Design Copyright 2011 Wanda Dann, Don Slater, Steve Cooper.
Programming in Alice Chapter 2. Today’s Agenda Designing a Program Writing Methods Executing Instructions Simultaneously Comments Tips for Setting Up.
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.
Copyright 2011 Wanda Dann, Steve Cooper, Don Slater Alice Workshop Problem Solving with Alice 2 & Friends.
Classes, Objects, and World-level Methods Alice. Programming in Alice© 2006 Dr. Tim Margush2 Class / Object Class A template describing the characteristics.
Copyright 2011 Wanda Dann, Steve Cooper, Don Slater Alice Workshop Implementation Algorithm  Code World.my first method Control blocks Statements (methods,
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.
Animation Programs: Scenarios and Storyboards Alice Web Design Section 8-3.
CS320n –Visual Programming Introduction to Alice Mike Scott (Slides 2)
Storyboards in Alice Summer 2010 Prof. Susan Rodger.
Animation Programs: Scenarios and Storyboards Alice.
Alice Programming Step 1:Design Copyright 2011 Wanda Dann, Don Slater, Steve Cooper.
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.
Alice Program Design and Implementation. Scenarios and storyboards The previous magician example illustrated a simple storyboard which depicts a scenario.
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
CS320n –Visual Programming Classes, Objects, and World- Level Methods Mike Scott (Slides 4-1)
Fall 2009ACS-1805 Ron McFadyen1 Chapter 2 Program Design & Implementation.
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,
Learning to Program with Alice September 22, 2009.
Creating a 3D Interactive Story Prof. Susan Rodger Duke University July 19, 2007.
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.
Animation Programs: Scenarios and Storyboards Alice.
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.
Designing a Solution in Alice To create a design, we borrow the idea of storyboards from professional animators at Disney, Pixar, etc.
Problem Solving.  Similar to Solving Math Word Problem  Read the Problem  Decide how to go about Solving the Problem  Solve the Problem  Test the.
Unit 2 Programming in Alice & Java 1. Day 1: Learning to Program  Objective: Understand the need for step-by-step logic; Basic working of a computer.
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.
Alice Development Environment. Which area contains our “program” (set of instructions)? D AB C.
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
Creating Animations in Alice
Classes, Objects, and World-level Methods
Introduction to Events
World-level Methods with Parameters
Alice and Media Computation August 2009
Classes, Objects, and World-level Methods
Creating an Animation Program
Alice in Action with Java
Animation Programs: Scenarios and Storyboards
Chapter 2: Programming in Alice
Creating an Animation Program
Animation Programs: Scenarios and Storyboards
Classes, Objects, and World-level Methods
Creating An Animation Program
Presentation transcript:

Animation Programs Alice

Overview 4-step process for creating animations Step 1: Understand Problem Step 2: Design Step 3: Implementation Step 4: Test

Programming Methodology Understand the problem and think about a strategy for a solution Create an algorithm to solve the problem Storyboards are helpful for problems involving animation Implement the algorithm Test and refine

Step 1 & 2: The Problem Decide on the problem to be solved Often the problem to be solved is given to you by your instructor, team leader, etc. Other times, you get to make it up! We will practice both Design a solution We will use a storyboard design

An example problem (scenario) The scenario is: Several snow-people are outdoors, on a snow- covered landscape. A snowman is trying to meet a snowwoman who is talking with a group of her friends (other snowwomen.) He says “Ahem" and blinks his eyes, trying to get her attention. The problem is: How can we create this animation?

Designing a solution First decide on the objects that will be in the scene. Then, create a storyboard. A "storyboard" is a representation of what actions are going to take place in the animation A storyboard can take two forms sketches textual "to do" lists

Sketch Objects: A snowman and a snowwoman (and possibly other snowpeople) Opening Scene: a snowy scene A quick sketch:

A Storyboard Initial scene Snowman tries to catch snowwoman’s attention Snowwoman looks around

Storyboard in Text Form Animation Artists (for example, at Disney or Pixar Studios) sketch their storyboards You might not have such expertise, so here is a textual form that can be used: This is like a "to-do" list. Snowman turns to face snowwoman. Snowman “makes eyes” and calls out to snowwoman. Snowwoman turns around.

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

Create Initial Scene

Techniques and Tools Mouse is 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 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 Control Structures Signals a change in the flow of the program examples DO IN ORDER and DO TOGETHER Specifies if the actions are to be performed in order, or simultaneously

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 1.Understand the problem 2.Plan an algorithm 3.Implement your plan 4.Test you program

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

Step 4: 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

Elements of Visual Programming Animation Programs23 Comments Notes: 1) Comments appear in green 2) Alice ignores comments. 3) Comments make the program easier to read.

Assignment Read Chapter 2 sections 1 and 2 Scenarios and Storyboards A First Program Read Tips & Techniques 2 Orientation and Movement Instructions

Lab 02 Exercises from 2-1 and 2-2