CS320n – Elements of Visual Programming

Slides:



Advertisements
Similar presentations
Alice.
Advertisements

Objects and Properties Alice. Objects in Alice Objects already exist. Hundreds of them.
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.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland Modified by Serita Scott Further modified by Suzy Crowe.
Programming with Alice. Getting Started with Alice Alice is a free programming language – Named in honor of Lewis Carroll – See web page for download.
Introduction to Alice Alice is named in honor of
Functions and Visual Effects Chapter 6 Part 3. Built-in Functions We have been using built-in functions so far 2.
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)
Fall 2009ACS-1805 Ron McFadyen1 ACS-1805 Introduction to Programming using Alice.
Alice: A Visual Introduction to Programming Chapter 1 Part 2.
CS320n –Visual Programming Interactive Programs Mike Scott (Slides 5-1)
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
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.
CSC1401: Introductory Programming Steve Cooper
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Getting Started With Alice. Why Learn about Programming computers. Learning to program a computer does not turn you into a nerd We will use Alice which.
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.
Alice: A Visual Introduction to Programming Chapter 1 Part 2.
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.
Introduction to Alice Web Design Section 8-2 Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
CompSci 4 Starting Alice Jan 15, 2009 Prof. Susan Rodger Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
CompSci 4 Starting Alice Sep 2, 2010 Prof. Susan Rodger Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
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.
Alice in Action with Java Chapter 1 Getting Started with Alice.
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.
The Alice Scene Editor.
Objects in Alice.
Professor Susan Rodger
Setting Up the Initial Scene
An Introduction to Alice (Short Version)
Introduction to Event-Driven Programming
Event-driven programming
Getting started in Alice
Obj: Introduction to Alice
The Alice Interface.
Understand Windows Forms Applications and Console-based Applications
Introduction to Alice Alice is named in honor of
Alice Concepts.
Learning Java with Alice 3.0 Game Design Kathy Bierscheid
Skater World: Part Three
Introduction to Alice Alice is named in honor of
CS320n –Visual Programming
CS320n –Visual Programming
Chapter 2 Adding Web Pages, Links, and Images
Introduction to Programming
Alice in Action with Java
Introduction to Alice Alice is named in honor of
Dimensions and Directions
Alice: Beyond the Basics
Interactive Programming
Introduction to Alice Alice is named in honor of
Working with Symbols and Interactivity
Introduction to Alice Alice is named in honor of
Alice Concepts.
Introduction to Alice Alice is named in honor of
CSC 221: Introduction to Programming Fall 2018
Interactive Programming
Introduction to Alice Alice is named in honor of
Introduction to Alice Alice is named in honor of
Presentation transcript:

CS320n – Elements of Visual Programming Alice Concepts Mike Scott (Slides 1-2)

What We Will Do Today Finish the material in chapter 1 Continue working on the tutorials and appendix 1 material in Alice Visual Programming Alice Concepts

Types of Animation Two kinds of Alice animations Movie Interactive User “watches” animation “machine-centric” Interactive User participates – clicks mouse, controls actions with keys “user centric” Visual Programming Alice Concepts

Events Animations that are “interactive depend on the user’s actions mouse click key press others (head mounted device, dance pad) Actions are events Interactive programs are event driven Event window portion of Alice Visual Programming Alice Concepts

Interactivity in Alice Animation with no interaction Movie DEMO Octopus Ride Animation with interaction DEMO Ice Skater What are the events? What response does the skater make to each event? Visual Programming Alice Concepts

Objects What is an object? What makes an object unique? anything that can uniquely identified from other things What makes an object unique? has a name has properties width, height, color, location, age, id# has a purpose associated actions it can perform tasks it can carry out – things it knows how to do Visual Programming Alice Concepts

Classes Objects are categorized into classes Each objects is an instance of the class All objects in a class have the same properties generally can perform the same tasks Rico Skipper Penguins Private Snoopy Kowalski Dogs Odie Opus Ren Visual Programming Alice Concepts

Objects in a Virtual World In Alice, each 3D model is a class of objects class: penguin objects: penguin, penguin1, penguin2 Visual Programming Alice Concepts

Changing Properties of Obejcts Properties of Object can be changed Location can be changed by clicking and moving object Orientation can be changed in the “Add Objects” View Other properties, such as color, can be changed in the properties window when the object is selected Visual Programming Alice Concepts

Object Parts Objects may be composed of parts which may in turn be composed of parts the whole object may be told to do something or an individual part Visual Programming Alice Concepts

Center of an Object each object has center point usually near center of mass, but really set by graphic artist that created object spin point for object things that sit or stand on ground usually have center between feet things that are held have center at point object would be held Visual Programming Alice Concepts

Distance object’s distance from each other are based on the distance between their center points may look like objects are zero distance away, but actually centers still some positive distance away Visual Programming Alice Concepts

Position in the World The world in an Alice program models a 3D space every object in the world has a position x, y, z, coordinate relative to the center of the world ground starts at center of world axes (green = up, red = right, blue = forward) Visual Programming Alice Concepts

Adding 3D Text Under the “Add Objects” window Creates a 3D Text Object that can be positioned in the scene Like other objects it has a host of behaviors and properties Visual Programming Alice Concepts

Adding “Billboards” Billboards are flat, 2D images in a scene Almost any graphic type can be added. GIF, JPG, TIF, PNG, BMP Select file and image is added to scene Images must be created is some other program Visual Programming Alice Concepts

Visual Programming Alice Concepts

Class Work Continue work on tutorials Appendix A, Part 1 Part 2: Using Pop up menus to create an initial scene. Visual Programming Alice Concepts