Macromedia Flash8 Bible
-
Creating a game is much more than programming. It involves other talents, such as game design, interaction design, and visual and sound design.
-
Scripting a game is asking a series of questions and responding to them appropriately, depending on the user input.
-
Functions are essential to intelligent programming. Writing small, task-focused functions allows for greater flexibility, particularly for complex games.
-
Movie Clips and text fields can be created dynamically. Additionally, text fields' properties can be manipulated via ActionScript. In addition to adding flexibility, it reduces the weight of your movie.
-
The setInterval() action can be used as a timer to call a function over time without having the Playhead move between frames. Here, we are using it to create a delay between rounds.
-
Using the SharedObject class is a great way to save data on the local drive. We are using it to store the user's name as well as the game's score.
Категории