Chapter 16. Controlling the Game


What You Will Learn

In this lesson you will:

  • Learn how to pick a 3D model with a 2D mouse

  • Create and modify a transform object

  • Use transforms for programmatic animation

  • Use lists to store game information

  • Use one list to retrieve data from another

Approximate Time

This lesson should take you about 1.5 hours to complete.

Lesson Files

Media Files:

None

Starting Files:

memory_start.dir

Completed Files:

memory.dir

This is the second lesson in the fourth project, a 3D version of the classic game, "Memory."

Remember this game?

In this lesson you'll learn how to allow your users to pick 3D models with the mouse, which is a 2D operation. You also be introduced to the transform object and use it to create programmatic animation so the cards will flip over when they are clicked on. You'll also add necessary logic to your code so that the game behaves according to its own rules.



Macromedia Director MX 2004. Training from the Source
Macromedia Director MX 2004: Training from the Source
ISBN: 0321223659
EAN: 2147483647
Year: 2003
Pages: 166
Authors: Dave Mennenoh

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net