| Games: Amoebas Description This sample demonstrates how you can use Macromedia Flash to create complex games. It includes ActionScript that enables you to move your craft and shoot at the paramecium and enemy amoeba. The amoeba is programmed to have rudimentary artificial intelligence. It knows where your craft is and always shoots directly at it. When the amoeba is blown apart, its nucleus will seek out and follow your craft until one of the two is destroyed. The game will become more difficult the longer you play it. This sample also demonstrates how you can make your files computationally scalable. With all the options toggled "on" in this game, it may run slowly on slower computers. By allowing the user to change some options that affect how much processing power is required, you can make your files accessible to a wider audience. Key features and ActionScript elements Functions, collision detection (hitTest), shape tween, conditions (if...), loops (for...), key object, Math object, Sound object Instructions Your fighter craft has been shrunk to microscopic size and is trapped inside a drop of water. The microbes within are now deadly opponents. Click the Start button to begin. Press the Left and Right Arrow keys to rotate the craft. Press the Up Arrow key to thrust the craft in the direction it is facing. Press the Spacebar repeatedly to fire. Shoot at, and avoid colliding with, the paramecium and enemy amoeba. You will gain a bonus life for every 3000 points scored. When the game ends, click the Game Over button to begin again. If the game plays too slowly, toggle some of the options with the buttons in the lower left corner. The source file for this movie (Amoebas.fla) can be found on the Flash MX CD in the Goodies/Samples/FLA folder.