This lesson introduces the Etoys viewer as a collection of commands and variables that can be used for each sketch and object. The pen will be introduced to show motion, shapes, and patterns. Students will explore giving various commands such as "forward by" and "turn by" to make sketches move.
SCREENCAST - (en) (ht) (es) (pt) (fr) (de) (ja)
|Unable to render embedded object: File (basic-etoys-05-front.png) not found.||Unable to render embedded object: File (basic-etoys-05-back.png) not found.|
- A viewer lets you look inside of objects and script them.
- To open an object's viewer, open it's halo and click its blue viewer handle.
- Viewers contain tiles, which are the building blocks of scripting.
- There are there kinds of tile: command tiles, variable tiles, control tiles.
- Command tiles tell objects to do something.
- Variable tiles indicate something about an object that can change.
- Click the yellow exclamation point to perform a command once.
- To change a variable, click the up and down green arrows or click the number, type, and hit Enter.
- The forward by command tells your object to move forward step by step.
- The turn by command tells your object to rotate.
- Change the forward direction in the halo by shift-dragging the green arrow.
- Tiles are grouped within the viewer by categories.
- Change the category by clicking the green arrow next to each category name.
- Hold the mouse pointer over the name of a tile to see its balloon help.
- To use the pen, open the pen use category and change the pen down variable to true.
- Change the pen color by clicking the little color box and picking from the palette.
- Click the clear pen trails command to erase all pen drawings on the screen.
- Draw a rectangle by using "forward by 200" and "turn by 90".
- Try to draw a triangle and a circle.
- Find tiles with the search pane by typing some text and hitting Enter.
- Close a viewer pane by clicking the circle button next to it.
- Open up a new search pane by choosing "add search pane" from the menu button.
- Click the viewer's thumbnail to hide and show the viewer without closing it.
- Click the viewer's circle button at the top to close the viewer completely.
PROJECT - (multi)