-
[Help) Hand steady game in flash
First the button to do [ backwards doesn't work so thats why its a )
Anywayz, does anyone know eghow to mak a hand stady game like the one on this site?
Play the first level of this n u will see
Last edited by Wassow; 12-13-2003 at 07:37 AM.
-
Senior Member
Hey, welcome to the boards (yay - i got to welcome someone!) Please have a look at this thread...
http://www.flashkit.com/board/showth...hreadid=513006
And explain what a 'hand steady' game is and what exactly you are trying to achieve, aswell as how much experience you have
thanks
fracture2 - the sequel
fracture - retro shooter
blog - games, design and the rest
"2D is a format, not a limitation" -Luis Barriga
-
Amiga freak
Lol. just putted my cursor on the start area and the time started. then I moved the mouse cursor outside the game and on the finish area and just activated the last sheep effect and won..
-
I know, but i was akin how to make a game like it.
Do u know how?
-
Senior Member
The game is not very hard to make. You will need to read coordinates of the mouse, using: _xmouse/_ymouse. Then you draw the path area, make it movie clip and hitTest path against mouse coordinates.
I have attached the example fla, all the code (5 lines) is on the controller movie.
Enjoy
-
-
i didnt get it, baisicly cos i have no idea on action scripting.
Could u make it realy simple 4 me? I would apreciate it alot if u could.
-
Senior Member
I dont know how to make it more simple
Download the fla I attached in my last post, open it. There is red circle outside the stage, called controller and it has code on it.
code:
onClipEvent (enterFrame) {
if (_root.path.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.message = "LOOKING GOOD!";
} else {
_root.message = "YOU ARE OUT!";
}
}
This code checks if the mouse is over the red path in the movie clip "path". If you want different path, just draw it in the inside path movie clip.
If you want to do something different depending on the state of mouse, replace the lines with _root.message.
-
I can beat all of them except for the notebook
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|