Basic Etoys 08

Skip to end of metadata
Go to start of metadata

(Previous | Menu | Glossary | Next ) — (en) (ht) (es) (pt) (fr) (de) (ja)

Basic Etoys 08 - TESTS

This lesson introduces the concept of a test. Students will learn how to add test blocks to their scripts, along with conditions such as "overlaps" and "color over color". They will then add "yes" and "no" commands, such as "make sound" and "change X". The lesson's activity will be to make various sounds or movements when sketches touch other sketches.

SCREENCAST - (en) (ht) (es) (pt) (fr) (de) (ja)

HANDOUT - ([en]) (ht) (es) (pt) (fr) (de) (ja)

Unable to render embedded object: File (basic-etoys-08-front.png) not found. Unable to render embedded object: File (basic-etoys-08-back.png) not found.

OUTLINE - ([en]) (ht) (es) (pt) (fr) (de) (ja)

  1. A test is like a question followed by some action.
  2. Make a test by dragging a test block to your script.
  3. A test block has three pieces: Test part, Yes part, No Part
  4. Drag test tiles into the Test part, such as overlaps.
  5. Use the tile handle to make a tile for an object.
  6. Replace dot with an object's tile.
  7. Drag commands to the Yes part if you want them to happen when the test question is true.
  8. Drag them to the No part if you want them to happen when the question is not true.
  9. Tests are checked every loop through your script.
  10. Move an object in a test by changing its X and Y in the Yes part.
  11. Use the colors sees color to check one color against another color.
  12. Make sensors in your sketch with special colors for color tests.
  13. Use is under mouse to test whether the mouse pointer is touching your object.
  14. Use is over color to test if any part of your sketch is over a color.
  15. Pause your scripts to stop tests from happening.
  1. A test is like a question followed by some action.
  2. Make a test by dragging a test block to your script.
  3. A test block has three pieces: Test part, Yes part, No Part
  4. Drag test tiles into the Test part, such as overlaps.
  5. Use the tile handle to make a tile for an object.
  6. Replace dot with an object's tile.
  7. Drag commands to the Yes part if you want them to happen when the test question is true.
  8. Drag them to the No part if you want them to happen when the question is not true.
  9. Tests are checked every loop through your script.
  10. Move an object in a test by changing its X and Y in the Yes part.
  11. Use the colors sees color to check one color against another color.
  12. Make sensors in your sketch with special colors for color tests.
  13. Use is under mouse to test whether the mouse pointer is touching your object.
  14. Use is over color to test if any part of your sketch is over a color.
  15. Pause your scripts to stop tests from happening.

PROJECT - (multi)

Unable to render embedded object: File (basic-etoys-08-shot.png) not found.



Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.