Creating and Calling Procedures Alice 3 Beta. A few choices to be made Right window, upper left hand corner start by clicking on Class “MyScene” button.

Slides:



Advertisements
Similar presentations
Getting Started With Alice: The Basics By Jenna Hayes under the direction of Professor Susan Rodger Duke University July
Advertisements

PowerPoint Presentations
GeneMapper 3.7 Tom Devitt 12/6/05.
Getting Started Performance Management System Tutorial for Managers Estimated Completion Time: 5 minutes Navigation instructions Begin the tutorial To.
TITLE Insert a title for your stretch book project by clicking in the Title placeholder and entering text. TITLE Insert a title for your stretch book project.
Parameters and World-level methods Alice. Our Dragon world The dragon must to take off and fly, to carry the princess.
Computer Information Technology – Section 4-3 Some text and examples used with permission from:
BASIC TUTORIAL ON AUTODESK REVIT Created By MHS Architecture Portfolio.
By Ed MacKeen Students will Learn: Objectives: To type a document in Microsoft Word and to save it. Use the Center button to center text. Use the Bold.
Slide Progression Terri Cunningham Kristi Blair Kari Kaufman.
Microsoft Excel Tutorial. Spreadsheet Basics! The Microsoft Excel Window  When you open Microsoft Excel, this screen will appear. Then, if necessary,
Adobe Forms THE FORM ELEMENT PANEL. Creating a form using the Adobe FormsCentral is a quick and easy way to distribute a variety of forms including surveys.
Variables and Functions Chapter Variables Named storage location in computer’s memory Programs may need to store data when running o Stored in.
by Chris Brown under Prof. Susan Rodger Duke University June 2012
Programming with Alice Computing Institute for K-12 Teachers Summer 2011 Workshop.
Checking for Collisions: Alternative Method Erin Taylor Under the Direction of Susan Rodger July 2015 Duke University.
Getting started with Alice Adapted from presentations by Jenna Hayes, Duke University Donna Gavin, UWP Computer Science and Software Engineering.
Alice 2.0 Introductory Concepts and Techniques Project 1 Exploring Alice and Object-Oriented Programming.
The Very Basics of Alice: A Simple Overview 6 th & 7 th Grade Tech Apps.
Click to create a Free Account! OR Login if you have your account.
Random numbers in Alice 3. Create world, add character (“Red” in this example) Dragged walk tile to right onto Run method. Click on “??? “ part of Tile.
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.
Variables & Random Number Generation.  A penguin is playing arctic basketball. The penguin has a basketball and will push the basketball toward.
 Requesting Additional Orders (pgs. 2-9) *Call CEC for assistance  Adding New Students/Registering Students (pgs ) *Call CEC for assistance  Editing.
Welcome to the PowerPoint on how to use PowerPoint 2007 Neil Hecht Instructional Technology Facilitator Onslow County Schools.
This is what we want to draw Extrude Mirror Round Edges.
Using PowerPoint. HOW TO INSERT A SHAPE  Find the task bar click on insert.  Click on shapes.  Find the shape you want and click on it.  A cross should.
The Essentials of Alice (Bunny) By Jenna Hayes under the direction of Professor Susan Rodger Duke University July 2008.
Illuminating Computer Science CCIT 4-6Sep
Fall 2003Sylnovie Merchant, Ph.D. ACCESS Tutorial Note: The purpose of this tutorial is to provide an introduction to some of the functions of ACCESS in.
How to Add Animations and Narration to Your PowerPoint Presentation Ms. Chen North Shore High School AP Biology.
The Essentials of Alice Mrs. Jayne Slease SBMS CTE Computer Science and Animation Credit to Duke Students under the direction of Professor Susan Rodger.
To view this in “presentation” mode, go to Slide Show  View Show (the toolbar at the top of the page) Use the “Enter” key to advance to the next slide.
Accessing Your Blog Access: csraresa.net. Click on tab, drop down to Your Blog & Locate the Welcome Paragraph/Read instructions for blogging here.
Step 1: add the new XML report Drop the 1098_1099Pro_Report.xml into your EncompassData/Data/Reports This file is available at
CSC 230 (Blum)1 Visual Basic 2005 Hello World Fall 2005 T. Blum.
Accessing Your Blog Access: Click on “Blogs” tab, drop down to your Blog.
If you don’t have Google Earth downloaded already, you can go to to get it.
Learning the Basics of ArcMap 3.3 Updated 4/27/2010 Using Arc/View pt. 1 1.
How to add Word-Art to a Word Document Purpose: To learn how to add WordArt to a Word Document.
The Essentials of Alice By Jenna Hayes under the direction of Professor Susan Rodger Duke University May 2009.
An Introduction to Programming Using Alice 2.2, Second Edition Chapter 7 Recursive Algorithms.
Texas Skyward User Group Conference Helpful Hints Jennifer Speulda.
Getting Started With Alice: The Basics. Step 1: Background Open up Alice, and choose a background for your Alice world. Your world is something you can.
Levitra 20 mg Getting started with Firefox New to Firefox? Well you’ve come to the right place. This article covers all the basics and will get you up.
Go to to register a new accountwww.weebly.com Put in your full name Use your Iona address Use a password that you will easily remember.
Locator Map Instructions A Blank Locator Map is located on page 3 below. You are welcome to make a locator map in any program. To make one in Powerpoint:
Setting up Solver Add-in for Excel
PowerPoint Grades 3-5.
The Essentials of Alice (Bunny)
Contract Compliance: Reporting
Getting Started With Alice: The Basics
Installing Analysis Tool Pak
An introduction to programming Created by Dr. Randy Pausch
Career Cruising: School Selector
Creating an Internet Site Shortcut
Programming using Alice 3
Learning PowerPoint Just the basics.
Parameters and World-level methods
Installing Analysis Tool Pak
Checking for Collisions: Using Functions in Alice
Using Parameters
Ways to make a nice looking PowerPoint!
Professor Susan Rodger
Getting Started With Alice: The Basics
Professor Susan Rodger
Navigating Excel.
An Introduction to Designing and Executing Workflows with Taverna
Two methods to observe tutorial
Presentation transcript:

Creating and Calling Procedures Alice 3 Beta

A few choices to be made Right window, upper left hand corner start by clicking on Class “MyScene” button 1.Click “class” 2 Click MyScene 3 Click Procedures 4 Click Declare Procedure

After requesting to create a procedure, Name it (any legal name)

New Tab appears named with your new method name

This example will use a parameter to be passed into method when the method is called Click on Add Parameter button Next click on Value Type arrow

This example will use an integer Many other types are available

This example “howHigh” keyed in as name of integer parameter Any legal name OK, name should relate to purpose of parameter

Continue by clicking “OK” button

New Button “howHigh” appears and “Add Parameter” button may be used to create other parameters as needed “howHigh” Add Parameter

Many tiles can be dragged to the right in this example a Princess “move” was chosen This example chose “UP” Princess “Move”

A number (an integer) place holder is picked 1.0 in this example

Result of last 1 integer choice (1.0 is really just 1 an integer) Example Princess will move up 1 meter

Integer “howHigh” button dragged toward the 1.0 placeholder Target for howHigh parameter

“howHigh” dropped off on top of 1.0 replacing it

Click on “run X” tab Then click on This a.k.a. Scene Find the method you want to call “princessMethod” in this example drag the tile to the right window

Choose an integer “meters Princess will move UP” in this example “3” chosen as demonstration

Result tile on right below an existing instruction. Call to princessMethod passing 3 “howHigh” parameter

Next run program

Result: Princess moves UP too far

Call adjusted to “2” meters UP re-run program

Princess now completely in frame

Example has worked Method called correctly, adjusted when necessary The method may be called many times and passed the same parameter (argument) or a different one each call.