Chapter 1: Introduction to Alice and Objects

Slides:



Advertisements
Similar presentations
Alice.
Advertisements

Objects and Properties Alice. Objects in Alice Objects already exist. Hundreds of them.
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Alice: A Visual Introduction to Programming Third Edition.
Alice: A Visual Introduction to Programming Chapter 1 Part 3.
Introduction to Alice Web Design Section 8-2 Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
CS320n – Elements of Visual Programming Introduction to Alice Mike Scott (Slides 1-1)
What is Alice? Graphical Programming Environment and Language Learn object oriented programming using 3 dimensional objects and a story telling approach.
Learn Alice Basic and Storyboard
Fall 2009ACS-1805 Ron McFadyen1 ACS-1805 Introduction to Programming using Alice.
Alice: A Visual Introduction to Programming Chapter 1 Part 2.
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.
Creating a 3D Interactive Story Prof. Susan Rodger Duke University Feb. 24, 2007.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Princess & Dragon Part 4: Breathing Fire—Adding Effects to Alice By Elizabeth Liang under the direction of Professor Susan Rodger Duke University June.
Animated Charting Using the Alice Bar Chart Template World By Elizabeth Liang under the direction of Professor Susan Rodger Duke University December 2010.
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Alice: A Visual Introduction to Programming Third Edition.
Don Slater Wanda Dann Motion and Rotation Copyright 2012 Wanda Dann, Don Slater All rights reserved.
Programming Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Using Alice to Introduce Programming Concepts Mr. Craig Ham Technology Coordinator Westminster Schools of Augusta Augusta, GA.
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.
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.
Xin Nov 15, Introduction to Alice Alice A very visible programming language Programming by dragging objects Interface World window The virtual world.
Alice Tutorial: Overview and Concepts Wayne Summers Columbus State U. 11/17/06.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Obj: Introduction to Alice HW: Read handout and answer questions. Alice is named in honor of Lewis Carroll’s Alice in Wonderland Day 5.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Review for test! Alice Chapter 1&2 Test is tomorrow! - March 26 th March 25th.
Creating a 3D Interactive Story Prof. Susan Rodger Duke University July 19, 2007.
Introduction to Alice Web Design Section 8-2 Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Chapter 1: Introduction to Alice and Objects
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.
Headshots in Alice Duke University Professor Susan H. Rodger Gaetjens Lezin July 2008.
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:
Alice in Action with Java Chapter 1 Getting Started with Alice.
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.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Alice: A Visual Introduction to Programming Chapter 1:
Creating a UFO Rescue Game in Alice
Setting Up the Initial Scene
An Introduction to Alice (Short Version)
Getting started in Alice
Obj: Introduction to Alice
The Alice Interface.
Introduction to Alice Alice is named in honor of
Programming Logic Alice.
Creating a UFO Rescue Game in Alice
Learning Java with Alice 3.0 Game Design Kathy Bierscheid
Introduction to Alice Alice is named in honor of
Introduction to Programming
Adding and Manipulating Objects
Classes, Objects, and World-level Methods
Introducing Alice.
Alice in Action with Java
Alice in Action with Java
Introduction to Alice Alice is named in honor of
Making Procedural Methods
Dimensions and Directions
Alice: Beyond the Basics
Chapter 2: Programming in Alice
Introduction to Alice Alice is named in honor of
Princess & Dragon Part 3: A Knight Comes Riding In—Cameras & Events
An Introduction to Programming Using Alice 2.2, Second Edition
Introduction to Alice Alice is named in honor of
Headshots in Alice Duke University Professor Susan H. Rodger
Functions.
Minecraft Flipped Task
Presentation transcript:

Chapter 1: Introduction to Alice and Objects Starting Out with Alice: A Visual Introduction to Programming Third Edition

Learning to Program with Alice 1.3 Learning to Program with Alice Alice uses objects Tent Soldier Princess Objects perform actions Turn Move Fly Wave

1.3 The Alice System

1.3 PLAY

The Alice Environment 1.3 World View Toolbar Object Tree Details Panel Events Editor World View Toolbar Object Tree Details Panel Method Editor

1.4 Object Properties Object Selected Change Properties

Methods Set of programming statements executed by object. 1.4 Methods Set of programming statements executed by object. Methods commonly result in object performing action. My first method

NOTE: how objects are named! This is called “camel case” 1.4 Methods Objects made of other objects Snowman made of: head topHat leftEye rightEye carrotNose mouth leftArm rightArm bottom NOTE: how objects are named! This is called “camel case”

Methods Each object can also be manipulated with methods. 1.4 Methods Each object can also be manipulated with methods. Objects and “sub” objects can Move Turn Roll Say…

The World is My…object? Contains all other objects 1.4 The World is My…object? Contains all other objects Also has its own properties Atmosphere color Lighting Fog

Alice has Class(es)! Objects are created from classes. 1.5 Alice has Class(es)! Objects are created from classes. Class set of specifications that describe a particular “type” of object. Each item found in the Gallery is a class. Each time the class is used, it is an instance of that class. Gallery is a collection of different object types (animals, beach, people, etc.). Two galleries are used: Local gallery (stored on computer) Web gallery (maintained by creators of Alice)

Class Instance in Alice 1.5 Class Instance in Alice Class: Chicken Instance: Chicken1 Chicken2 Each instance has its own properties, methods, functions

Tasks Compete the following Ch1 Tutorials …. See the scanned Textbook files on Mr. Smith’s website for pages needed for each task. Tutorial 1-2 – Creating a world and adding objects pages 19-30 Tutorial 1-3 – Moving the camera in 3d space, pages 34-35

3D Objects and the Camera 1.6 3D Objects and the Camera Alice world and objects are three-dimensional Height Width } These dimensions are part of 2D objects Depth

1.6 3D Movement Forward is perceived as the object getting larger as it gets closer to us. Backward is perceived as the object getting smaller as it gets farther away from us. Motion is based on OBJECT’s perspective…our left is the Coach’s right

Tasks Compete the following Ch1 Tutorials …. See the scanned Textbook files on Mr. Smith’s website for pages needed for each task. Tutorial 1-4 – Manipulating objects in 3d space, pages 40-43 Tutorial 1-5 – Manipulating subpart objects, pages 43-46

End Of Chapter Programs… Access the scanned textbook pages or get a textbook from the cabinet. Go to pages 54-56 Complete 5 of the exercise from 1-7 and 4 exercises from #8-#13 to showcase chapter 1 skills in Alice.

End Of Chapter Program Design Use one of the templates for your ground color and setting(grass, sand, etc) Create an accident scene that promotes “Don’t Text and Drive” Use the 3-D Text object-scroll to the far right of gallery to enter the text “Don’t Text and Drive” Include a police car, fire truck, people and other objects to create your scene.