A Flash Developer Resource Site

Results 1 to 9 of 9

Thread: Hand steady game in flash

  1. #1
    Junior Member
    Join Date
    Sep 2003
    Posts
    5

    [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.

  2. #2
    Senior Member random10122's Avatar
    Join Date
    Mar 2002
    Location
    Sheffield, UK
    Posts
    1,747
    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

  3. #3
    Amiga freak Ironclaw's Avatar
    Join Date
    Jan 2001
    Location
    Sweden
    Posts
    1,651
    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..

  4. #4
    Junior Member
    Join Date
    Sep 2003
    Posts
    5
    I know, but i was akin how to make a game like it.

    Do u know how?

  5. #5
    Senior Member tonypa's Avatar
    Join Date
    Jul 2001
    Location
    Estonia
    Posts
    8,227
    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

  6. #6
    Member
    Join Date
    Dec 2003
    Location
    Here.
    Posts
    48
    o.O odd, dude.... odd.
    Ding.

  7. #7
    Junior Member
    Join Date
    Sep 2003
    Posts
    5
    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.

  8. #8
    Senior Member tonypa's Avatar
    Join Date
    Jul 2001
    Location
    Estonia
    Posts
    8,227
    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.

  9. #9
    Member
    Join Date
    Dec 2003
    Location
    Here.
    Posts
    48
    I can beat all of them except for the notebook
    Ding.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center