Scratch - College of mjb/scratch/ mjb –March 21, 2020 Computer Graphics

download Scratch - College of mjb/scratch/  mjb –March 21, 2020 Computer Graphics

of 22

  • date post

    18-Jun-2020
  • Category

    Documents

  • view

    2
  • download

    0

Embed Size (px)

Transcript of Scratch - College of mjb/scratch/ mjb –March 21, 2020 Computer Graphics

  • mjb – March 21, 2020 Computer Graphics

    1

    Scratch !

    Mike Bailey mjb@cs.oregonstate.edu

  • mjb – March 21, 2020 Computer Graphics

    2How Can You Get Scratch 3.0 for Free?

    Use the web browser-based version of Scratch 3.0 at:

    https://scratch.mit.edu/projects/editor

    You can also get an installable version of Scratch 3.0 at:

    https://scratch.mit.edu/download

    Thanks to the Massachusetts Institute of Technology for developing Scratch and keeping it free!

  • mjb – March 21, 2020 Computer Graphics

    3You, As A Computer To Be Programmed

    In this exercise, you are a computer and I am the programmer.

    I will give you instructions and you carry them out.

    If I tell you to do it, then you do it.

    If I don’t tell you to do it, then don’t do it.

    Ready? Set. Go.

  • mjb – March 21, 2020 Computer Graphics

    4

    Stand Up Raise Your Left Hand

    Put Your Right Hand on Top of Your Head Turn Around One Circle

    Put Your Hands Down Sit Down Smile !

    Meow Like a Cat Count to 2

    Repeat 3 Times

  • mjb – March 21, 2020 Computer Graphics

    5 What Kind of People Need to Tell the Computer Where to Put Things?

  • mjb – March 21, 2020 Computer Graphics

    6

    X

    Y Left-Right is called “X”

    Bottom-Top is called “Y”

  • mjb – March 21, 2020 Computer Graphics

    7

    X

    Y

    100 200

    100

    X=200, Y=100

  • mjb – March 21, 2020 Computer Graphics

    8

    X

    Y

    100 200

    100

    X=?, Y=?

  • mjb – March 21, 2020 Computer Graphics

    9

    X

    Y

    -100-200

    -100

    X=-200, Y=-100

  • mjb – March 21, 2020 Computer Graphics

    10

    X

    Y

    100 200

    100

    -100-200

    -100

  • mjb – March 21, 2020 Computer Graphics

    11 Scratch Screen Layout

    Script Area

    “Stage” (i.e., the scene)

    Commands in Categories

    Sprite Manipulation

    The Sprite “Locker Room”

    Run your Program!

    New Background Selection

    New Sprite Selection

    Code, Costumes, Sound Tabs

  • mjb – March 21, 2020 Computer Graphics

    12 Drag-and-Drop Puzzle Pieces

  • mjb – March 21, 2020 Computer Graphics

    13 Drag-and-Drop Puzzle Pieces

  • mjb – March 21, 2020 Computer Graphics

    14Make an Animation of Your Own!

  • mjb – March 21, 2020 Computer Graphics

    15Make an Animation of Your Own!

  • mjb – March 21, 2020 Computer Graphics

    16Bring in More Actors!

  • mjb – March 21, 2020 Computer Graphics

    17Bring in a Background!

  • mjb – March 21, 2020 Computer Graphics

    18 Bring in More Sounds!

  • mjb – March 21, 2020 Computer Graphics

    19 Play More Sounds!

  • mjb – March 21, 2020 Computer Graphics

    20 Effects!

  • mjb – March 21, 2020 Computer Graphics

    21 Effects!

  • mjb – March 21, 2020 Computer Graphics

    22 Seven Different Effect Types!