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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 15
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 1
Starmaking Machinery, Part 2
1. Click the green flag and click on the stage again, but this time move your mouse after you click. What happened? Do you know
why this happened?
2. The problem is that the script moves the starting point back to (mouse x, mouse y). This is fine if the mouse doesn’t move, but a
big problem if it does. To solve this problem, we will save the coordinates of the mouse and use these instead.
3. Click Data and click Make a variable. Enter center x and click OK. Make a second variable named center y.
4. Add a set center x to block after the set pen color to block. Set the value to mouse x. Add blocks to set the center y variable to
mouse y.
5. Inside the repeat 12 block, change the go to x: y: block to use center x and center y instead of mouse x and mouse y.
6. Click the green flag, click the stage, and move your mouse. What happened? Why?
7. Save your project.
Przeglądanie stron 1
1 2 3 4 5 6 7 ... 14 15

Komentarze do niniejszej Instrukcji

Brak uwag