MACROMEDIA DIRECTOR MX-USING DIRECTOR MX Instrukcja Użytkownika Strona 13

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 16
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 12
13
Changing sprite properties
Changing sprite properties
The next step is to create a behavior script for the sprite where
we check if it’s time to blink. If so, we change the sprite’s cast
member to the appropriate image and set the next blink time.
We also update the time.
Custom sprite properties
Custom sprite properties
It would be nice if we could store the
It would be nice if we could store the
timing, blink status and blink time in the
timing, blink status and blink time in the
sprite rather than as global variables.
sprite rather than as global variables.
That would allow us to have more than one
That would allow us to have more than one
blinking tomato on the screen at once!
blinking tomato on the screen at once!
It is possible to add custom
It is possible to add custom
properties
properties
to
to
sprites.
sprites.
Przeglądanie stron 12
1 2 ... 8 9 10 11 12 13 14 15 16

Komentarze do niniejszej Instrukcji

Brak uwag