http://img157.images..ge=mousething7rb.swf
You ever wanted to make a mouse avoider game?
Well here is the script
First put a stop(); action in every frame.
Make a cursor (you can let the old one, but it looks better). Convert it into a movieclip, give it the instance name cursor and the folowing script :
onClipEvent (load)
{startDrag("_root.CURSOR", true);
Mouse.hide();
}
Then the walls (I made it so that you are going into the previous frame if you are touching the walls) : Draw them (use thick lines for Mouse Lag Cheater) and convert them into a button and give them the following script :
on (rollOver) {
prevFrame();
}
And now the moving objects :
Draw the objects and convert them into movieclips
on (rollOver) {
_root.prevFrame();
}
Now, let's go to the buttons which you must touch to start and go out of the level. I used a 2 Frame System. In one Frame is nothing except Background and Start Button in the second frame are walls and enemies. The Start button is in the nothing-frame and the next button is in the game frame.
Put the start button in the nothing-frame (the next frame is the game frame) and give it the following script :
on(rollOver) {
nextFrame();
}
If you want to press the button until the game starts replace the rollOver with the thing you like (press or release). Give the next-button the same script but do it in the game frame.
I didn't add some graphical stuff but you can do it. Add blends, backgrounds etc.
I hope this helped