E-Pen InMotion E-Pen Instrukcja Użytkownika Strona 3

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 15
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 2
Banana Splat, Part 1
1. Create three sprites: a stick figure named Thrower, a banana named Banana, and a bird named Bird. Make two costumes for the
banana -- one normal and one that is splatted. The man should be about 70 units tall.
2. Create two scripts for the man:
When the green flag is clicked, go to (0, -170) and broadcast the message “Fly”.
When the space key is pressed, broadcast the message “ThrowBanana”.
3. Create three scripts for the banana:
When the green flag is clicked, set the rotation style (Motion) to “don’t rotate” and point in direction 0.
When it receives the message “Fly”, switch to costume1 and go to a place that looks like it is in the man’s hand.
When it receives the message “ThrowBanana”, repeat moving 10 steps until it touches the edge or the bird. After the
repeating stops, switch to costume2.
4. Create two scripts for the bird:
When the green flag is clicked, set the rotation style to “don’t rotate” and the direction to -90.
When it receives the message “Fly”, go to (200, 100) and repeatedly move 10 steps and wait .05 seconds until it either
touches the edge or touches the banana. After it stops repeating, broadcast the message “Fly”
5. Click the green flag and press the space bar to try to hit the bird with a banana.
6. Name your project Banana Splat and save it.
Przeglądanie stron 2
1 2 3 4 5 6 7 8 ... 14 15

Komentarze do niniejszej Instrukcji

Brak uwag