• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Adding a Timer

In this section you'll add a timing device to the game, and also be introduced to another Lingo timing mechanism—the timer. The timer has been around for as long as Director and uses what's known as ticks as its unit of time. (There are 60 ticks in a second.) Ticks aren't as precise as milliseconds, but for counting seconds in a game, they will do nicely.

Let's begin by adding a text field to display the timer in the game.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint