Lesson 13 Tasks
- A variable is a like a box that holds a changeable thing.
- Variable tiles have a left-pointing white arrow and a value.
- The x variable shows how far from the left a sketch is.
- The y variable shows how far from the bottom a sketch is.
- The heading variable shows how much the sketch is rotated.
- To set a variable in a script, drag its white arrow and drop it.
- Start a sketch from the same place, drag its x, y, and heading to startOver.
- Never put a tile after "pause script" in a startOver script.
- A bug is something that goes wrong in a computer program.
- Most of the answers are in the viewer.
- Hold the pointer over a tile will show balloon help for the tile.
- It's good to explore the viewer and the rest of Etoys.
- The rotation style variable in "graphics" tells a sketch how to bounce.
Make a "hermit crab race" where at least three crabs start at the center of
a circle and each race to be the first to cross the line of the circle.
Make each crab walk in a different direction at a different speed.
Put the starting position and heading for each crab in the crab's
startOver script, so that they always start at the same spot.