User Tag List

Results 1 to 6 of 6

Thread: How would I do this?

  1. #1
    No Products Registered

    Join Date
    Aug 2007
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How would I do this?

    I'm trying to make a game similar to the old school Clock Tower games, ya know, the one with scissor man chasing the girl.

    Anyway, to sum it up, I want the bad guy to chase the character. I want the bad guy to have AI and no in what direction the character is going in. If the player stops, I want the bad guy to continue, so eventually, the bad guy could end up reaching the character, and...well...game over.

    How would I setup such AI?

  2. #2
    Clicker Fusion 2.5 DeveloperSWF Export ModuleInstall Creator Pro

    Join Date
    Jun 2006
    Location
    France
    Posts
    1,266
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How would I do this?

    "ya know, the one with scissor man chasing the girl."
    No, im happy i don't!

    About your question.
    This can be done very easly using the so called "Direction Calculator Object" of which is also an Advanced version.
    Use the Condition "Always" and the action "Turn object towards GIRL"
    Set speed of SICCORMAN to 50.

    Apply the ballmovement.

    This is a VERY basic AI, but you can customize that and toy arround with it. Good luck!

  3. #3
    No Products Registered

    Join Date
    Aug 2007
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How would I do this?

    Thank-you very much Patrick. That was fast :] I'll try this method, and from there try to modify it to see what else I can mold it into. Thanks :]

  4. #4
    No Products Registered

    Join Date
    Aug 2007
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How would I do this?

    Oh, by the way, just making sure, this object is an extension, right?

    Is this it? http://www.clickteam.info/extensions/extview.php?id=185

    ALSO, any other suggestions are welcomed!

  5. #5
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How would I do this?

    Clock Tower is absolutely terrifying. I managed to play it for about five minutes once, got to the scene in the bathroom (where your status icon turns into a giant eye!) and turned it off, never to be played again. But from what I saw of it, it was very clever - like a nightmare, with an enemy that you always knew was after you but couldn't always see.

    The Advanced Direction Object is good for all kinds of things - try also using an alterable value on the object to denote its "state", and switch between them to get it to back off, chase or try and sidestep around you to cut you off.

  6. #6
    No Products Registered

    Join Date
    Oct 2006
    Posts
    139
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How would I do this?

    What if your level has various floors. When you go up to the second floor, the AI character would be left on the first floor trying to go up. Is there any way to fix this?

Posting Permissions

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