
9
Lingo
Lingo
Let’s create a stopwatch that we can start, stop and reset!
We assume that we have the images we need for drawing the clock face.
Lingo
Lingo
We need two global variables:
clockTime – to keep track of the time of the clock.
running – indicates whether the clock is running or not.
We initialize (and implicitly create) these in the movie
script. The startMovie event is invoked when the movie
starts.
To create a movie script, make sure that no sprites or
cast members are chosen, then open the script window
by selecting Window → Script.
Comentários a estes Manuais