Alice: A Visual Introduction to Programming - PowerPoint PPT Presentation

1 / 11
About This Presentation
Title:

Alice: A Visual Introduction to Programming

Description:

Alice: A Visual Introduction to Programming Chapter 1 Part 3 Modifying Objects 1-* Use Mouse Mode Buttons Modify Objects 1-* Move Freely Move Up and Down Turn Left ... – PowerPoint PPT presentation

Number of Views:155
Avg rating:3.0/5.0
Slides: 12
Provided by: Anthon182
Category:

less

Transcript and Presenter's Notes

Title: Alice: A Visual Introduction to Programming


1
Alice A Visual Introduction to Programming
  • Chapter 1 Part 3

2
Modifying Objects
Use Mouse Mode Buttons
3
Modify Objects
Move Up and Down
Turn Left and Right
Tumble
Move Freely
Copy
Resize
When checked can modify subparts
Turn Forward and Backward
4
Center of an object
  • Provides pivot or spin reference
  • Object spins around center
  • At the center of mass
  • Where it stands on the ground
  • Where it is held

5
Orientation
  • When you click on an object and rotate it you
    will notice arrows
  • Green points to up from the objects perspective
  • Red points to where object thinks its right is
  • Blue is forward to the object

6
Scene Editor Viewing Modes
  • Single View
  • Viewing scene from World View angle
  • Quad view
  • View scene from four views
  • World View
  • From top
  • From right
  • From front
  • Allows you to position one object in relation to
    another object

Scroll
Zoom
Quad view
7
Relational Positioning in Quad View
  • Notice how rabbit is positioned in relation to
    chicken

From the top
World view
Zoom
Scroll view
From the right
From the front
8
Using Coordinates
  • Axes are measured in meters
  • Point (0,0,0) is at center of the world
  • Usually when an object is added to world by
    clicking on class then clicking on add instance
    the object is placed at (0,0,0)
  • Can see position of an object in pointOfView
    property

X axis
9
Coordinate System
10
Homework
  • Read chapter 1
  • Do tutorials
  • Tutorials 1-4, p. 40
  • Tutorials 1-5, p. 43
  • Do lab assignments after handing in answered
    questions
  • Answer questions in handout
  • Do not do in class unless finished with lab
  • Due one week after assigned

11
Lab
  • Lab exercises require you to demonstrate your
    program to the professor
  • When you write code you must explain to professor
    what each line of code does and why.
  • Professor will sign lab sheet after you do that
  • You only get full credit for lab exercise if
    professor signs lab sheet
  • If you hand in lab without explaining code then
    you will lose half credit
Write a Comment
User Comments (0)
About PowerShow.com