Getting started in Alice

Slides:



Advertisements
Similar presentations
Objects in Alice: Positioning and Moving Them By Jenna Hayes under the direction of Professor Susan Rodger Duke University July
Advertisements

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.
Alice.
Objects and Properties Alice. Objects in Alice Objects already exist. Hundreds of them.
Getting Started With Alice By Ruthie Tucker under the direction of Prof. Susan Rodger Duke University, July
Lights Camera Action! Part 3: BDE Events By Deborah Nelson under the direction of Professor Susan Rodger Duke University July 2008.
What is Alice? Graphical Programming Environment and Language Learn object oriented programming using 3 dimensional objects and a story telling approach.
Fall 2009ACS-1805 Ron McFadyen1 ACS-1805 Introduction to Programming using Alice.
Alice: A Visual Introduction to Programming Chapter 1 Part 2.
Copyright 2011 Wanda Dann, Steve Cooper, Don Slater Alice Workshop Problem Solving with Alice 2 & Friends.
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.
Programming Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Getting Started With Alice By Ruthie Tucker under the direction of Prof. Susan Rodger Duke University, July
Programming with Alice Computing Institute for K-12 Teachers Summer 2011 Workshop.
Alice Learning to program: Part Three Camera Control, Invisibility, and 3-D Text By Ruthie Tucker and Jenna Hayes, Under the direction of Professor Rodger.
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.
Alice 2.0 Introductory Concepts and Techniques Project 1 Exploring Alice and Object-Oriented Programming.
Copyright © 2015 Curt Hill Models and Textures Making your entity interesting.
CS329e – Elements of Visual Programming Implementing Programs Mike Scott (Slides 2-2)
Teaching a character to walk in more than one world: Parameters and Inheritance. By Lana Dyck under the direction of Professor Susan Rodger Duke University.
Alice: A Visual Introduction to Programming Chapter 1 Part 2.
Alice Tutorial: Overview and Concepts Wayne Summers Columbus State U. 11/17/06.
Bunny Eat Broccoli Repetition – Simple loops and Conditional loops Susan Rodger Duke University July 2011.
The Essentials of Alice Mrs. Jayne Slease SBMS CTE Computer Science and Animation Credit to Duke Students under the direction of Professor Susan Rodger.
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,
Copyright © 2015 Curt Hill Building a Simple Level No UnrealScript but several editors.
An Introduction to Alice By Jenna Hayes under the direction of Professor Susan Rodger Duke University, June 2009 Updated June 2014 by Ellen Yuan.
Programming in Alice IT-IDT-9 Design, develop, test and implement programs using visual programming. 9.1 Utilize drag and drop software to develop programs.
Illuminating Computer Science CCIT 4-6Sep
Princess & Dragon Part 3: A Knight Comes Riding In—Cameras & Events By Elizabeth Liang under the direction of Professor Susan Rodger Duke University June.
Presenter: Carol Liss Timberlane Regional Middle School 6 th and 7 th grade Tech. Educator Co presenters:
The Essentials of Alice By Jenna Hayes under the direction of Professor Susan Rodger Duke University May 2009.
Making Billboards By Deborah Nelson Duke University, Under the direction of Professor Susan Rodger, July 14, 2008.
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.
Beginning Animation. Storyboard An Invitation to Dinner 1.Marlin and Dory (two small fish) are swimming and talking. 2.A shark (Bruce) swims up behind.
The Alice Scene Editor.
Professor Susan Rodger
Setting Up the Initial Scene
Alice Learning to program: Part Three Camera Control, Invisibility, and 3-D Text By Ruthie Tucker and Jenna Hayes, Under the direction of Professor Rodger.
An Introduction to Alice (Short Version)
Setting Up the world Madeleine Schep Columbia College.
Putting Objects in Motion
Changing Camera Views! Part 1: Set Point of View to By Bella Onwumbiko
The Alice Interface.
Bunny Eat Broccoli Repetition – Simple loops and Conditional loops
Making Objects Move in Unison: Using Lists
Introduction to Events
© Paradigm Publishing, Inc.
Organizing common actions
Programming using Alice 3
Introduction to.
Refining our Animations
Adding and Manipulating Objects
Classes, Objects, and World-level Methods
Making Objects Move in Unison: Using Lists
Making Procedural Methods
Objects in Alice: Positioning and Moving Them
Learn a bit about Computer Science Duke Femmes Event with Prof
An Introduction to Alice
Princess & Dragon Part 3: A Knight Comes Riding In—Cameras & Events
Alice 2.2 Introduction.
Getting Started With Alice
Building a Simple Level
Learning to Program: Part 3 Camera Control, Invisibility and 3-D Text
Professor Susan Rodger
Alice and Daisies: Positioning and Moving Objects in Alice
Lesson One: Objects in Alice: Positioning and Moving Them
Professor Susan Rodger
Presentation transcript:

Getting started in Alice Creating the World Getting started in Alice Copyright © 2005-2017 Curt Hill

The Programming Process is Usually Like this: Analyze the problem Understand how to solve it Code the solution Test the solution Document the program Maintain the program Any programmer may not always do all of these Systems analysts often do the first step, this step often involves substantial interaction with the ones who will benefit from the program - these are often somewhat ignorant of computers None of these are easy as they might appear Most of us hate the documenting phase Maintenance is revising a program once a bug is found or after some outside change forces a change in the program Consider maintenance programmers etc. Copyright © 2005-2017 Curt Hill

Programming Process in Alice Somewhat different than the previous More like movie making Come up with an idea for a story Design storyboards that illustrate the idea Code the storyboards Test the scene Try it out on friends and family Notice this has only the code and test in common with the normal process Copyright © 2005-2017 Curt Hill

Alice Programming Quite different than most In Java the programmer types in instructions that the computer will execute There is some drag and drop for form design In Alice we mostly use a mouse to: Arrange the scenery Choose the actors Move the figures in the scene There is very little typing and most of the mistakes of normal programming cannot occur Copyright © 2005-2017 Curt Hill

Virtual World An Alice program is a movie that occurs within a virtual world This is a three dimensional space The viewpoint of the camera as well as the actors can independently move in three dimensions A template is the starting point of building this virtual world The standard templates usually have a sky and ground, such as grass or snow Copyright © 2005-2017 Curt Hill

Template A template is the painted background of the movie set It looks three dimensional In fact it is a plane of next to no thickness ObjectS that move behind or under it disappear If the camera moves behind it we get lost Copyright © 2005-2017 Curt Hill

Objects A template only is rather boring The world needs to be populated with objects Birds, trees, buildings and actors Alice contains a gallery with a large number of 3D objects to choose from Each object has a variety of actions that can be performed Copyright © 2005-2017 Curt Hill

Objects Alice objects and Java objects have a number of commonalities All Alice objects are Java objects as well They both have properties, methods and events A property is a value that somehow describes the object, such as a position in 3 dimensional space A method is an action that the object may perform, such as move An event is an action that occurs, to which an object may react Copyright © 2005-2017 Curt Hill

Object Actions Simple objects have little that they can do A cone may be sized and moved A person model should move somewhat like normal Arms and legs may be raised and lowered Arms and legs only bend at joints As director you make your actors do exactly what you want Copyright © 2005-2017 Curt Hill

Object Dimensions An object must have three dimensions: Width, height and depth They can move in six directions, two for each dimension Up, down, left, right, forward, and backward Each object must also have a center and a location Copyright © 2005-2017 Curt Hill

Centers Most objects have a center based upon their bounding box The midpoint of their three dimensions The location of an object is the 3D position of their center People objects have their center between their feet, so they are zero meters above surface The distance between two objects is the distance from their centers Copyright © 2005-2017 Curt Hill

Creating a New World Inside Alice use the File menu and choose New World The default when Alice is started This will show that initial dialog box again This time the template tab will be showing It will look like the following: Copyright © 2005-2017 Curt Hill

Copyright © 2005-2017 Curt Hill

Copyright © 2005-2017 Curt Hill

A New World The previous screen shows the world after the sea and sky template has been chosen There are no objects except the camera, light and background The Method Editor is also blank Objects are added by clicking on the Add Object button When you do that you see something like this: Copyright © 2005-2017 Curt Hill

Copyright © 2005-2017 Curt Hill

Scene Editor The Alice scene editor appears when Add objects button is clicked This will allow us to add objects to our scene These are both the props and the actors It will also allow us to rearrange the initial positions and orientation of the characters Here we add a fish to a scene Copyright © 2005-2017 Curt Hill

Copyright © 2005-2017 Curt Hill

Copyright © 2005-2017 Curt Hill

Copyright © 2005-2017 Curt Hill

Aspect and orientation We may control the size and orientation of the each object Select an object from the gallery It then appears in the scene Use the arrows on the right to select the means to manipulate it Then drag the arrow on the object needed to be reoriented Copyright © 2005-2017 Curt Hill

Copyright © 2005-2017 Curt Hill

Copyright © 2005-2017 Curt Hill

Bottom Arrows The bottom arrows reorient the original camera position This gives a different perspective on the whole scene Copyright © 2005-2017 Curt Hill

Copyright © 2005-2017 Curt Hill

Copyright © 2005-2017 Curt Hill

Actor Selection Copyright © 2005-2017 Curt Hill

If this were an art class we would pay special attention to: The story line in the animation The natural motions of characters Believability Dialog and sounds These will be dealt with more closely once the fundamentals of creating the movie are accomplished This is a programming introduction, not theater! Copyright © 2005-2017 Curt Hill

Saving the World Once there some work has been done we should save the world as a file on disk Click on File menu Then on Save As Consider the next couple of screens Copyright © 2005-2017 Curt Hill

File Menu Copyright © 2005-2017 Curt Hill

Save As Dialog Copyright © 2005-2017 Curt Hill

Reminder Copyright © 2005-2017 Curt Hill

Exercises The exercises from here on have a goal: show important features of Alice The exercises also build on one another The starting point for one is the ending point of a previous There is enough flexibility that each project will turn out different Copyright © 2005-2017 Curt Hill

Scene Exercise In this exercise we will create a simple scene We will create a background We will add actors to it We will give them an initial orientation We will save the world We will see what happens when the camera is moved Copyright © 2005-2017 Curt Hill