Game Development Reference
In-Depth Information
Figure 12-2. The library for Tunnel Panic and its preloader
Creating the timeline
The timeline for our FLA file will consist of three frames and two layers. The first frame will
contain nothing other than a stop(); command in the Actions panel. The second frame will contain
an instance of the soundHolder clip that we will create in the next section. The third frame, much
like the first, will contain a stop(); command in the Actions panel. Figure 12-3 is an example of
this structure.
There are also two layers: code and assets. The code layer will contain the stop commands for
frames 1 and 3. The assets layer will contain a MovieClip with all of the assets for the game on
frame 2. Figure 12-3 shows our timeline.
Figure 12-3. The timeline for Tunnel Panic and its preloader
Search WWH ::




Custom Search