• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 25. Storyboarding to Finished Pr... > Scoring and Multiple-Game Controls

Scoring and Multiple-Game Controls

To display each player’s score, I created a score movie clip. In it, I created a new dynamic text field and named it number. (See Figure 25.12.) I placed an instance of the score movie clip inside the player1 and player2 movie clips. The dynamic text field gets updated by the bomb movie clip when it calculates that one of the tanks is hit.

Figure 25.12. The dynamic text field contains the value of 0 when the game is started, and it is incremented throughout the game.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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