Timer and game over
The last thing I am going to explain is the creation of a toolbar to show various information such as a timer and the game over message.
The idea: We need to create a dynamic text in which we'll display various messages according to game events. Also, a timer is needed.
The development: Create a new Movie Clip symbol called
toolbar_mc and set it as exportable for ActionScript. Leave all other settings at their default values, just as you are used to. Draw anything you want, just remember to place a dynamic text called
message_text and embed Uppercase, Lowercase, Numerals, and Punctuation. You can also use "Basic Latin", but try to embed as few characters as possible while being able to write anything you want. This is the ...