User Tag List

Results 1 to 5 of 5

Thread: Baddies

  1. #1
    No Products Registered

    Join Date
    Feb 2007
    Location
    Sydney, Australia
    Posts
    1,654
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Baddies

    how do i make the bad guys have AI(Artificial intelligence)so that when the player comes near it or attacks it the monster starts to follow the player?

    also how do i make a game so that you can buy different clothes?

  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    Tiles's Avatar
    Join Date
    Jun 2006
    Posts
    1,359
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Baddies

    Easy, you simply write code for it

    Just kidding :P

    An AI is a highly complex thing. With lots of different problems. You cannot solve them all together at once.

    The art of gamemaking is to define the problems and track them down to a single piece that can be solved by a code snippet. How do i let attack the enemie is not the problem. But a short description of your goal.

    Start thinking in values and involved objects. Track it down into its smallest pieces. And then solve it one by one.

    Example for downtracking. You want an enemie that invades your hero when it comes close. That's the goal. So what is needed here? You need to detect distance. And you need something to start your enemie then when he is in reach. Plus you need something that the enemie follows your hero when he is in reach. That's three problems for just this single goal. And an AI is made out of lots of such parts.

    Now grab let's say the distance problem. Build a testapp, and just tinker around with this problem. When solved, go on with the next problem, and so on ...


  3. #3
    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: Baddies

    That's a good post, Tiles - it's very valuable to be able to learn to think like this.

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export Module
    Tiny's Avatar
    Join Date
    Jul 2006
    Location
    Sweden
    Posts
    598
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Baddies

    There are some example files somewhere showing the 'bad-guy-follow-good-guy'. Could it be Tigs examples?

    Anyone remember?

  5. #5
    No Products Registered

    Join Date
    Nov 2006
    Posts
    199
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Baddies

    Oh, here's a tutorial from the Clickteam website: http://www.clickteam.com/eng/resources/GTM/GTM10.htm. It's one of those "Getting the most of..." tutorials. This one is about Artificial Intelligence.

Similar Threads

  1. making `baddies` follow your hero character
    By brad in forum Multimedia Fusion 2 - Technical Support
    Replies: 19
    Last Post: 4th January 2009, 01:33 PM

Posting Permissions

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