|
Want to thank me for making this book available for free? Just buy Special Edition Using Macromedia Director MX
Advanced Lingo For Games
| |
| Putting It All Together
Creating the game from this script is the easiest part of this chapter. First, just create a little box bitmap. I made mine in the CD-ROM example movie 9 pixels square, which leaves a white line between boxes because they are spaced 10 pixels apart. Then, drop this sprite in the Score in sprite channel 11. Use the arrow keys to move it up off the Stage. Then, copy and paste the sprite into channels 12 through 318. Now, drop the behavior script onto the frame script channel. One additional touch would be to draw a rectangle shape around the playing area. You might have to run the game a few times and adjust this rectangle to get it to fit just right. Again, see the example movie if this is not clear. | |