Getting Started with Java Using Alice. 1 Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Similar documents
Telling a Story Visually. Copyright 2012, Oracle. All rights reserved.

Introduction to Events

Getting Started with Java Using Alice. 1 Copyright 2013, Oracle and/or its affiliates. All rights reserved.

potions. The troll doubles in size.

Introduction to Alice. Computer Science for High School (CS4HS)

Appendix A Reference: Built-in Methods

Events (Alice In Ac.on, Ch 6)

CLASS 9 Chapter 9 Presentation Tool: OpenOffice Impress

The Alice Scene Editor

Name Introduction to Computer Science. 1. A sequence of instructions that tell the computer what to do is known as a?

Events (Alice In Action, Ch 6)

Lesson 1 Python: Interactive Fiction

Getting to Know PowerPoint. Use IT+

Chapter 9 Slide Shows

1.1 Considering for Choosing Layout in SmartArt Graphics

Part 1. Module 3 MODULE OVERVIEW. Microsoft Office Suite Pt 3. Objectives. MS PowerPoint Screen. Microsoft PowerPoint

PC4G - University of Waterloo December 8, 2017

Exit: These control how the object exits the slide. For example, with the Fade animation the object will simply fade away.

USING POWERPOINT IN THE CLASSROOM LESSON 1 POWERPOINT BASICS

Transition and Animation Effects

In this lesson you will learn: To use various tools of Paint activity. (See the level I lesson on paint for a revision.)

Chapter 0. Getting Started. Objectives

PowerPoint 2016: Part 1

Chapter 9 Slide Shows

PowerPoint Introduction

Repetition everywhere comparing while in a method and as an event. Comparison

Low fidelity: omits details High fidelity: more like finished product. Breadth: % of features covered. Depth: degree of functionality

Starting-Up Fast with Speech-Over Professional

Downloaded from

Karlen Communications Add Accessible PowerPoint Placeholders. Karen McCall, M.Ed.

Computing Long Term Plan

Activity using Paint. Lesson6. In this lesson you will learn: To use various tools of Paint activity.

Duration 30 minutes Notes This tutorial was built using Alice

LAB # 2 3D Modeling, Properties Commands & Attributes

Making ecards Can Be Fun!

IM 8 Ch How Can I Move A Shape On A Grid (continued) November 15, 2014

PowerPoint 2010 Quick Start

Creating and Triggering Animations

The playhead, shown as a vertical red beam, passes each frame when a movie plays back, much like movie fi lm passing in front of a projector bulb.

Scratch Programming for Primary School Teachers Quiz Game

PRACTICE EXERCISES. Student Success SCRATCH

B.Sc. VI SEM (CS+BIO)

MICROSOFT POWERPOINT 2016 Quick Reference Guide

KEY APPDC Lesson 4 WORKSHEET

Center for Faculty Development and Support Creating Powerful and Accessible Presentation

TE Teacher s Edition PE Pupil Edition Page 1

In this lesson, you ll learn how to:

Setting Accessibility Options in Windows 7

The Whyline. An Interrogative Debugging Interface for Asking Questions About Program Behavior. Andrew J. Ko and Brad A. Myers

Transitions and Photos

Introduction to MS Office Somy Kuriakose Principal Scientist, FRAD, CMFRI

Digital Storytelling. By Alyssa Miller January 14, 2014

Creating a Presentation

College Board. AP CS A Labs Magpie, Elevens, and Picture Lab. New York: College Entrance Examination Board, 2013.

Lesson 22 Enhancing Presentations with Multimedia Effects

Creating Java Programs with Greenfoot

Beginning Programming (Two Semesters) Semester One. Module One: Intro to Beginning Programming. Module Two: Computer Careers

Chapter 9 Slide Shows

Alice 3 Workshop. CS & IT Irvine, CA July 9, Copyright 2012 Wanda Dann, Don Slater, Steve Cooper

Microsoft PowerPoint Tutorial

Name: Date: Hour: PowToon Short Movie

LmÉPï C Á npï À ƵÀ ïì itech Analytic Solutions

Contents Microsoft PowerPoint Lesson 1: The PowerPoint Window...2 The Quick Access Toolbar...3 The Title Bar...3 Rulers...

Audacity. Audacity. Getting Started. Index. Audacity allows you the ability to record voice, edit and create podcasts.

How to Locate and Start PowerPoint 2007? Click on Start Click on All Programs Click on Microsoft Office Folder

Week 1 INTRODUCTION TO WEB DESIGN

MS PowerPoint Intermediate

Introduction. Slide Basics. PowerPoint 2010 Slide Basics. Video: Slide Basics in PowerPoint About Slides. Page 1

Lines of Symmetry. Grade 3. Amy Hahn. Education 334: MW 8 9:20 a.m.

Creating a Presentation

Microsoft PowerPoint Tutorial

Introduction. Using Shapes. Word 2010 Working with Shapes. Video: Working with Shapes in Word To Insert a Shape: Page 1

Application Development in ios 7

Lesson 7 Software Fundamentals

In this lesson you will learn: How to capture the input from the user. How to write programs using variables and lists. Athletics Swimming Gymnastics

SMK SEKSYEN 5,WANGSAMAJU KUALA LUMPUR FORM

Oracle Application Express Workshop I Ed 2

Start PowerPoint Create a Title Page Using WordArt Editing WordArt Inserting Text Boxes Adding A Background To Your Slide Adding Transitions

Autodesk Navisworks Freedom Quick Reference Guide

Keynote 08 Basics Website:

Choose the best answer from each of the following; answer A for True, B for False for any T/F questions.

What Is a Program? Pre-Quiz

Frame Editor 2 Manual

Game keystrokes or Calculates how fast and moves a cartoon Joystick movements how far to move a cartoon figure on screen figure on screen

2. Click the From Beginning command in the Start Slide Show group to start the slide show with the first slide.

Using PowerPoint - 1

Introduction. Rehearse and Record Slide Shows. Advanced Presentation Options. Rehearsing Slide Show Timings. Page 1

Year 7 Autumn A Autumn B Spring C Spring D Summer E and Summer F

Solo 4.6 Release Notes

Assignment 1 What is a Computer?

Keynote Basics Website:

Office Wo Office W r o d r 2007 Revi i ng and R d Refifini ng a D Document

2.02B Methods and Uses of Animation Develop Computer Animations

IT Introduction to Programming for I.T. Midterm Exam #1 - Prof. Reed Spring 2008

Teach Yourself Microsoft Word Topic 12 - Multipage Document Features Part 1

Microsoft PowerPoint 2007 Beginning

Tracking Handle Menu Lloyd K. Konneker Jan. 29, Abstract

MS PowerPoint. Module 6

Connecting the ICT Standards with Grade 4 Literacy

Want to Create Engaging Screencasts? 57 Tips to Create a Great Screencast

Transcription:

Getting Started with Java Using Alice Develop a Complete Animation 1 Copyright 2013, Oracle and/or its affiliates. All rights

Objectives This lesson covers the following objectives: Use functional decomposition to write a scenario and storyboard Complete an animation Test an animation Reposition objects at run-time Plan the presentation of a completed animation project 2 Copyright 2013, Oracle and/or its affiliates. All rights

Animations An animation is a sequence of actions that simulate movement. Use Alice 3 to construct the scene and write the sequence of actions for your animation, and Alice 3 will render the animation for you. Rendering is a process where the software program converts your code into the animation that you see. Alice 3 renders the animation based on the instructions provided by the programmer. 3 Copyright 2013, Oracle and/or its affiliates. All rights

Animations Require Planning Animations can be complex to plan and develop. To simplify and organize this complex task, you can: Use a methodical process to identify and solve the problems that arise along the way. Break down the development into manageable steps. Functional decomposition is the methodical process of identifying a complex problem and breaking it down into smaller steps that are easier to manage. 4 Copyright 2013, Oracle and/or its affiliates. All rights

Functional Decomposition Example Examine this high-level process: Consider a math concept that requires many steps. Identify the high-level h l steps for the math concept. Further refine and define the low-level tasks needed for each high-level step. 5 Copyright 2013, Oracle and/or its affiliates. All rights

Animation Development Process The process to develop an animation is similar to the problemsolving process. Compare the two processes below. Problem-Solving Process Step 1: Step 2: Step 3: Step 4: Identify the Develop a Solution Implement the Test and Revise Problem Solution the Solution Animation Development Process Step 1: Define the Scenario Step 2: Design a Storyboard Step 3: Program the Animation Step 4: Run the Animation 6 Copyright 2013, Oracle and/or its affiliates. All rights

Step 1: Define the Scenario Professional animators begin by developing a scenario or story that gives the animation a purpose. Examples: A story that presents a conflict and resolution. A lesson that teaches a math concept. A simulation that demonstrates a process. A game that entertains or trains. 7 Copyright 2013, Oracle and/or its affiliates. All rights

Scenario and Animation Examples Scenario Type Scenario Animation Problem and a solution. A cat needs help to get down from a tree. A firefighter climbs up the tree to save the cat. Teach a concept. Simulate or demonstrate a process. Play a game. Memorizing chemistry symbols is difficult. A car has a flat tire. An airplane must avoid objects in its path as it flies through the sky. A timed game matches chemistry symbols with their definitions. A demonstration shows how to change a tire on a virtual car. An interactive game maneuvers an airplane around objects in the sky. 8 Copyright 2013, Oracle and/or its affiliates. All rights

Step 2: Design a Storyboard Two types of storyboards are often used to plan an animation: Visual: A series of illustrated images that represent the main scenes of the animation. Textual: A detailed, ordered list of actions that each object performs within each scene of the animation. 9 Copyright 2013, Oracle and/or its affiliates. All rights

Storyboard Formats Develop your visual and textual storyboards using a variety of formats. Examples: Draw them on paper with a pencil. Create them using digital tools such as a word processor, drawing software, or presentation program. Write a textual storyboard within Alice 3 in the Code editor using comments to organize the steps in your program. 10 Copyright 2013, Oracle and/or its affiliates. All rights

Visual Storyboards The visual storyboard helps a reader understand: The scene components. How the initial iti scene will be set up. The moving and non-moving objects in a scene. The actions that will take place. The user interactions that occur during the animation execution. 11 Copyright 2013, Oracle and/or its affiliates. All rights

Visual Storyboard Example Boy and girl sit on a park bench. The boy walks away, leaving his phone behind. Girl notices the mobile phone. She thinks, Hey! That boy forgot his phone! Girl says out loud, Hey! You forgot your phone! Boy turns around and walks back to bench. He says, Oh! thank you! 12 Copyright 2013, Oracle and/or its affiliates. All rights

Textual Storyboards A textual storyboard helps the reader understand the actions that will take place during the animation. The moving and non-moving objects can be easily identified within the action statements, but a more detailed description may be necessary if multiple programmers are involved in implementing any scene. In computing, a textual storyboard is called an algorithm: a list of actions to perform a task or solve a problem. 13 Copyright 2013, Oracle and/or its affiliates. All rights

Textual Storyboard Example 1 Program the following actions in order: Boy and girl sit on a park bench. Boy stands up and walks away, leaving his phone on the park bench. Girl turns to look at the phone. Girl thinks, Hey! That boy forgot his phone! Girl says out loud, Hey! You forgot your phone! Boy stops and turns around. Boy walks back to the park bench and says, Oh! Thank you! 14 Copyright 2013, Oracle and/or its affiliates. All rights

Textual Storyboard Example 2 This example shows how you can develop your storyboard by first writing comments in the Code editor of your program. Afterwards, you can start to develop the animation directly from the storyboard. 15 Copyright 2013, Oracle and/or its affiliates. All rights

Storyboard Components Textual storyboards should contain the components listed in the table below to support the program development of the animation. Component Definition Examples Scene Objects Actions User Interactions Design Specifications The place (or world in Alice 3) where your story occurs. Moving or non-moving characters that you program to move and act. Instructions for how each object should act in the scene. Ways in which the user viewing the animation can manipulate the objects in the animation. How the objects and scenery should look in the animation. Park, library, school, home Animals, cars, people, trees Walk 2 meters, turn left, say Hello! Keyboard commands or mouse clicks to make objects move Size, position, location, color 16 Copyright 2013, Oracle and/or its affiliates. All rights

Storyboard Process Flow Flowcharting a storyboard helps you organize the flow of actions and conditions within an animation. True Boy leaves phone on bench False Girl says, Hey you forgot phone Girl does nothing Boy stops, turns around, comes back to bench, says Thank you Boy keeps walking End 17 Copyright 2013, Oracle and/or its affiliates. All rights

How Storyboards are Helpful There are several ways that storyboards aid in program development: Textual storyboards can be used to generate program comment statements and organize program development. Storyboards can also help programmers identify repetitive actions, or actions that may be performed by more than one object. 18 Copyright 2013, Oracle and/or its affiliates. All rights

Step 3: Program the Animation After completing the storyboard, the next step is to program the animation in Alice 3. As you program the animation, refer to your storyboard for the animation s design specifications. The code written in Alice 3 provides the instructions for the animation s look at run-time. 19 Copyright 2013, Oracle and/or its affiliates. All rights

Animation Checklist During the animation development process, use this checklist to ensure that your animation meets all animation principles. 20 Copyright 2013, Oracle and/or its affiliates. All rights

Create a Complete Animation Creating a complete animation requires a thorough understanding and application of all of the components that you have learned so far. Completed scene of multiple objects from multiple classes, including props and shapes Declared procedures Movement procedures Object rotation and object sub-part rotation procedures Simultaneous movement with the Do Together control structure Variables Vehicle riding with the setvehicle procedure Functions IF and WHILE control structures Random numbers Math expressions Keyboard controls 21 Copyright 2013, Oracle and/or its affiliates. All rights

Step 4: Run the Animation Run the animation to test that it functions properly and executes the actions planned in the storyboard. This process is often referred to as testing and debugging the software. Programs can be tested by entering an unintended value in the argument field of a method in an effort to try and break the code. When something is broken or doesn't work as you intended in a software program, it is often referred to as a bug. Debugging is the process of finding and eliminating bugs in a software program. 22 Copyright 2013, Oracle and/or its affiliates. All rights

Debugging Tasks Test and debug the animation frequently as it is being developed. Use some of the following debugging techniques: Adjust the direction, distance, and duration that objects move. Adjust math calculations that help refine the distance or duration that objects move. Refine instructions in the code that do not work as intended. Resolve e errors created ed by the programmer. 23 Copyright 2013, Oracle and/or its affiliates. All rights

Test Elements of Your Animation Test every element to prove that it works without error. Math expressions calculate as expected. Objects move with smooth timing. i Control structures operate as expected. Event listeners trigger the correct responses. Insure that your code includes comments that clearly identify the purpose or the functionality of blocks of statements in your program. Referring to the comments will help you test and debug your program. 24 Copyright 2013, Oracle and/or its affiliates. All rights

User Input to Reposition Objects at Run-Time To create an interactive program, a Listener object must be added to the scene. The adddefaultmodelmanipulation procedure creates a Listener object that targets a mouse-click on any object in the scene and responds by allowing the user to drag that object around the scene while the animation is running. 25 Copyright 2013, Oracle and/or its affiliates. All rights

Steps to Add the adddefaultmodelmanipulation Procedure 1. Go to the Scene tab. 2. Click the edit button next to initializeeventlisteners. 3. Drag the adddefaultmodelmanipulation procedure (Scene class) into the initalizeeventlisteners Code editor. 26 Copyright 2013, Oracle and/or its affiliates. All rights

Using the adddefaultmodelmanipulation Procedure This procedure allows you to reposition objects at runtime: Click and drag the object with your cursor to move it around the scene. Press the Control (Ctrl) key, and then click and drag the object with your cursor to turn it right and left. Press the Shift key, and then click and drag the object to move it up and down. 27 Copyright 2013, Oracle and/or its affiliates. All rights

Present Your Animation Project It s time to present your complete animation project. Here are some steps to follow when organizing your animation project presentation: Make sure your presentation is thoroughly tested and complete. Plan to demonstrate how you used each of the concepts learned in this course. Find out how much time you will have for your presentation. If it is a group presentation, plan who will do which parts of the presentation. 28 Copyright 2013, Oracle and/or its affiliates. All rights

Prepare a Presentation Outline Create a presentation outline to plan your complete animation project presentation. The following slides show an example presentation outline. 29 Copyright 2013, Oracle and/or its affiliates. All rights

Presentation Outline: Section 1 Section 1: Introduction Gain your listeners attention. Introduce the theme of the animation project. Preview your animation. Establish your credibility as a speaker. Give the audience a reason to listen to the presentation. 30 Copyright 2013, Oracle and/or its affiliates. All rights

Presentation Outline: Section 2 Section 2: Presentation of animation project Organize the presentation in a logical flow. Show all capabilities of your animation project. Demonstrate how each course concept was used in the animation project. Time visual aids to support the spoken presentation. Include helpful transitions between ideas. 31 Copyright 2013, Oracle and/or its affiliates. All rights

Presentation Outline: Section 3 Section 3: Conclusion Summarize the animation in a memorable way. Motivate t the audience to respond. Provide closure. 32 Copyright 2013, Oracle and/or its affiliates. All rights

Practicing Your Presentation When rehearsing your presentation: Rehearse aloud. Time your speech; if it is too long or short, revise it. Rehearse standing up. Rehearse in front of someone. Tape-record or videotape your speech. If you do not have access to recording equipment, practice in front of a mirror. Rehearse using visual aids and technology. 33 Copyright 2013, Oracle and/or its affiliates. All rights

Group Presentations If you will be making your presentation with a group, here are some steps your group can follow to make sure all group members have a part in preparing and delivering the presentation. Include all group members in all steps of the presentation planning. Divide presentation tasks equally among group members. Practice the presentation as a group, and give one another constructive feedback immediately following. 34 Copyright 2013, Oracle and/or its affiliates. All rights

Summary In this lesson, you should have learned how to: Use functional decomposition to write a scenario and storyboard Complete an animation Test an animation Reposition objects at run-time Plan the presentation of a completed animation project 35 Copyright 2013, Oracle and/or its affiliates. All rights