From Test-Scratch-Wiki

(Redirected from Eng:Scratch Morph)

Scratch Morphs are what the visible objects in Squeak Smalltalk are called. The term comes from the graphics system used called Morphic. Morphs are like sprites in a way; in fact, at some level of abstraction, a sprite is an instance of a SpriteMorph. Many morphs have their own unique Alt-Click Options.

This is the complete list of morphs (in the world menu) by category, which also explains each morph. It will also give the list of options exclusive to morphs when the morph is alt clicked/right clicked and "Menu for me" (the red circle) is selected.

Basic

  • Alignment Morph: Brings up a light green rectangle.
    • Alt-Click Options:
      • Open/close dragNdrop

— Toggles to ability to move the morph around

  • Bordered Morph: Brings up a dark blue square with a black border around it
    • Alt-Click Options: None that are exclusive to morphs.
  • Curve Morph: Brings up a rounded orange triangle with a pink border.
    • Alt-Click Options:
      • Show/hide handles

— Allows the shape of the morph to be changed

      • Open/close polygon

— Removes the inside an takes away half the border when polygon is open

      • Quick/proper fill

— Changes the style of filling

  • Ellipse Morph: Brings up a yellow oval with a black border.
    • Alt-Click Options: None that are exclusive to morphs.
  • Image Morph: Brings up a red square with yellow shading in the middle of it.
    • Alt-Click Options: None that are exclusive to morphs.
  • Paste Up Morph: Brings up a light green rectangle.
    • Alt-Click Options:
      • Clear pen trails

— Clears all pen trails

      • Play field options:
        • Start/stop being a parts bin

— Toggles whether dragging an object from the interior should produce a copy of the object

        • Start/stop being open to drag and drop

— Toggles whether objects can be dropped into and dragged out of the morph

  • Polygon Morph: Brings up an orange scalene triangle with a pink border.
    • Alt-Click Options:
      • Show/hide handles

— Allows the shape of the morph to be changed

      • Open/close polygon

— Removes the inside an takes away half the border when polygon is open

      • Quick/proper fill

— Changes the style of filling

  • Rectangle Morph: Brings up a grey rectangle with a black border.
    • Alt-Click Options: None that are exclusive to morphs.
  • Sketch Morph: Brings up a red square with yellow shading in the middle of it.
    • Alt-Click Options:
      • Grab from screen

— Changes the morph into an image from the screen

      • Read from file

— Changes the morph into an image from your computer

      • Save as BMP

— Saves the morph to your computer as a bitmap file

      • Save as GIF

— Saves the morph to your computer as a graphics interchange format

      • Save as JPEG

— Saves the morph to your computer as a Joint Photographic Experts Group file

      • Set rotation center

— Does not work and brings up an error message

      • Set rotation style

— Sets the Rotation Style

      • Erase pixels of color

— Deletes pixels of a certain color

      • Recolor of pixels of color

— Changes pixels of a specific color to a different color

  • String Morph: Brings up some text which says "StringMorph."
    • Alt-Click Options:
      • Center title

— Does not work properly and deletes the morph

      • Left align and space similar strings

— Does not work properly and does what "Center title" should do, it centers the text

      • Set font

— Sets the font and font size of the text

  • Text Morph: Brings up a blocks of text that says "Text for Editing." Clicking on the morph allows the text to be edited.
    • Alt-Click Options:
      • Add predecessor

— Adds a small, light pink rectangle to the screen

      • Add successor

— Adds a large, light pink rectangle to the screen

      • Fill owner's shape

— Sends to the top left corner of the offline Scratch player

      • Avoid/ignore occlusions

— Function unknown

Demo

Bouncing Atoms Morph

Brings up a large, light green rectangle, with small blue squares bouncing around inside it.

Alt-Click Options

  • Start infection

— Adds two small red squares to the green rectangle, when these squares touch blue squares, the blue squares become red, once all squares are red, it all stops moving

  • Set atom count

— Allows the user to change the number of small blue squares

  • Show infection history

— Shows a graph about the history of infections

Flasher Morph

Brings up a red circle with a black border that continuously flashes.

Alt-Click Options

None that are exclusive to morphs.

Frame Rate Morph

Brings up a Frames Per Second (FPS) counter.

Alt-Click Options

  • Center title

— Does not work properly and deletes the morph

  • Left align and space similar strings

— Does not work properly and does what "Center title" should do, it centers the text

  • Set font

— Sets the font and font size of the text

Joystick Morph

Brings up a virtual joystick which can be used instead of connecting a real joystick to use with Scratch.

Alt-Click Options

  • Grab from screen

— Changes the morph into an image from the screen

  • Read from file

— Changes the morph into an image from your computer

  • Save as BMP

— Saves the morph to your computer as a bitmap file

  • Save as GIF

— Saves the morph to your computer as a graphics interchange format

  • Save as JPEG

— Saves the morph to your computer as a Joint Photographic Experts Group file

  • Set rotation center

— Does not work and brings up an error message

  • Set rotation style

— Sets the Rotation Style

  • Erase pixels of color

— Deletes pixels of a certain color

  • Recolor of pixels of color

— Changes pixels of a specific color to a different color

  • Set X range

— Sets how far the joystick can move horizontally

  • Set Y range

— Sets how far the joystick can move vertically

  • Turn auto center off/on

— Toggles the joystick snapping back to the center when not in use

Ruler Morph

Brings up a square with dimensions, when the alt-click option "grow me" is used, the dimensions change.

Alt-Click Options

None that are exclusive to morphs.

Tiny Paint

Brings up a grey rectangle, which works as a miniature paint editor. Click and drag to draw.

Alt-Click Options

  • Grab from screen

— Changes the morph into an image from the screen

  • Read from file

— Changes the morph into an image from your computer

  • Save as BMP

— Saves the morph to your computer as a bitmap file

  • Save as GIF

— Saves the morph to your computer as a graphics interchange format

  • Save as JPEG

— Saves the morph to your computer as a Joint Photographic Experts Group file

  • Set rotation center

— Does not work and brings up an error message

  • Set rotation style

— Sets the style of rotation

  • Erase pixels of color

— Deletes pixels of a certain color

  • Recolor of pixels of color

— Changes pixels of a specific color to a different color

  • Clear

— Changes it to a blank screen again

  • Pen color

— Changes the color of the pen

  • Pen size

— Changes the size of the pen

  • Fill

— Starts the fill tool, click anywhere to fill an object with the current pen color

Watch Morph

Brings up a green clock, which tells the time according to the user's computer.

Alt-Click Options

  • Use Roman/Latin numerals

— Changes the number style

Movies

Movie Player Morph

Main article: ScratchMoviePlayerMorph


Scratch-UI-Support

Multiline String Morph

Brings up a small rectangle, in which text can be entered.

Alt-Click Options

  • Set font

— Sets the font and font size of the text

Sound-Interface

Graph Morph

Brings up a graph which displays audio files.

Alt-Click Options

  • Open wave editor

— Opens the Simple Wave Editor Morph

  • Read file

— Opens an audio file in the graph

Piano Keyboard Morph

Opens up a keyboard which allows the user to play.

Alt-Click Options

  • Transpose

— Changes the order of the notes

  • Bigger keyboard

— Makes the keyboard bigger

  • Smaller keyboard

— Makes the keyboard smaller

  • Play via built in synth/MIDI

— Changes the instrument to a synthesizer or uses the traditional MIDI sounds

  • Set midi instrument

— Changes the instrument

  • New midi controller

— Adds a midi controller

Recording Controls Morph

Opens a simple recording morph, that allows songs played on the Piano Keyboard Morph to be recorded.

Alt-Click Options

None that are exclusive to morphs.

Simple Wave Editor Morph

Opens a simple wave editor than allows the user to edit audio files.

Alt-Click Options

None that are exclusive to morphs.

Spectrum Analyzer Morph

Opens a simple Spectrum Analyzer which measures the pitch of sound playing in Scratch.

Alt-Click Options

None that are exclusive to morphs.

Tetris

The Tetris morph

Tetris Morph

A simple game of Tetris that one can play in Scratch. It is fully functional, however there is a lot of blank space left on the morph.

Alt-Click Options

None that are exclusive to morphs.

Text Support

Scrolling String Morph

A text box that allows the user to enter text, when the text reaches further than the bottom, it allows one to scroll down.

Alt-Click Options

  • Set font

— Sets the font and font size of the text

Widgets

Color Picker Morph

Opens a color picker.

Alt-Click Options

  • Grab from screen

— Changes the morph into an image from the screen

  • Read from file

— Changes the morph into an image from your computer

  • Save as BMP

— Saves the morph to your computer as a bitmap file

  • Save as GIF

— Saves the morph to your computer as a graphics interchange format

  • Save as JPEG

— Saves the morph to your computer as a Joint Photographic Experts Group file

  • Set rotation center

— Does not work and brings up an error message

  • Set rotation style

— Sets the style of rotation

  • Erase pixels of color

— Deletes pixels of a certain color

  • Recolor of pixels of color

— Changes pixels of a specific color to a different color

Simple Button Morph

Brings up a button with some text in it, which can be pressed.

Alt-Click Options

  • Change label

— Changes the text on the button

  • Change action selector

— Changes what the button does

  • Change when to act

— Changes when the above option happens

Simple Slider Morph

Brings up a slider.

Alt-Click Options

  • Set action selector

— Changes what the slider does

  • Set minimum value

— Sets the minimum value

  • Set maximum value

— Sets the maximum value

  • Switch to ascending/descending

— No visible function

  • Turn on/off truncation

— No known function

Simple Switch Morph

Very similar to the Simple Button Morph. It is a switch.

Alt-Click Options

  • Change label

— Changes the text on the switch

  • Change action selector

— Changes what the switch does

  • Change when to act

— Changes when the above option happens

See Also

Cookies help us deliver our services. By using our services, you agree to our use of cookies.