I can't find a tutorial for this.

2007-10-23 21:45:06 by supercomputer276

My WarioWare flash game (working title: WarioWare Demo) is coming along fairly nicely. I've managed to create five fully working microgames, but I have a little trouble with the sixth game that I'm hoping someone can help me with.

Microgame description: The scene is the middle of a desert with a small city in the background. An atomic bomb drops, lands on the ground, shakes, and explodes. The player must get the mouse out of the frame before the bomb explodes to win.

The problem: I don't know how to tell the game how to check to see if the mouse is in the frame. I've tried several of the Newgrounds tutorials to no avail and attempting to get the code from games that have such tasks such as the Impossible Quizzes just drives me crazy. So can someone tell me what ActionScript I need to determine whether or not the mouse is in the frame when the bomb explodes?


Comments

You must be logged in to comment on this post.