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

Chapter 19. Don't Fall! > Game Actions

Game Actions

By now you can probably tell what's coming next. It's time to look at the game movie clip itself. In the game movie clip there are four layers. The Multiplayer Actions layer was discussed in the previous section. Here we will discuss the rest.

As you know, Don't Fall! is a game that's seen in the isometric view. The Iso Object layer contains the ActionScript needed to translate coordinates from 2D to 3D and back to 2D. It also gives us the depth to use for each tile so that we don't have to worry about z-sorting. All of this is done through the isometricAS object found in the Iso Object layer. In Chapter 8, “The Isometric Worldview,” we talk about the isometricAS object and its methods in detail. The isometricAS object used here is exactly the same as the one found in Chapter 8, so we don't need to talk here about how it works. The Game Actions layer contains the ActionScript needed to build the game itself. We will talk about this frame in detail below. But first let's look at the Assets layer.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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