User Tag List

Page 2 of 4 FirstFirst 1 2 3 4 LastLast
Results 11 to 20 of 36

Thread: (Complex?) AI?

  1. #11
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Location
    Hampshire, UK
    Posts
    963
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: (Complex?) AI?

    Edit: What he said ^ (lol)

    As far as i can see loops will only be required for the movement of the objects, but maybe thats just how i'm thinking about it. MMF2 should surely be able to handle loops pretty well.

  2. #12
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Location
    Hampshire, UK
    Posts
    963
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: (Complex?) AI?

    Edit: What he said ^ (lol)

    As far as i can see loops will only be required for the movement of the objects, but maybe thats just how i'm thinking about it. MMF2 should surely be able to handle loops pretty well.

  3. #13
    No Products Registered

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

    Re: (Complex?) AI?

    Forgot one thing :P.

    On loop "Bad" you will need to compare Alterable A of both teams to the respective loop indexs like "Alterable value A of Good Guys=LoopIndex("Good")", before the distance comparison.

    You have to do this becuase of the way MMF selects objects, basically compare two general values doesn't select the objects that match said condition, so if you just do the comparison, then it will affect all objects (Which isn't what you want).

  4. #14
    No Products Registered

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

    Re: (Complex?) AI?

    Forgot one thing :P.

    On loop "Bad" you will need to compare Alterable A of both teams to the respective loop indexs like "Alterable value A of Good Guys=LoopIndex("Good")", before the distance comparison.

    You have to do this becuase of the way MMF selects objects, basically compare two general values doesn't select the objects that match said condition, so if you just do the comparison, then it will affect all objects (Which isn't what you want).

  5. #15
    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: (Complex?) AI?

    Surely a finite state machine is just an abstract concept... while it's not exactly neat to code it in MMF, it's certainly possible by using a value to store the state of an object, and writing events to deal with each possible state (including those that would move it to surrounding states).

    Or were you talking about something more solid?

  6. #16
    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: (Complex?) AI?

    Surely a finite state machine is just an abstract concept... while it's not exactly neat to code it in MMF, it's certainly possible by using a value to store the state of an object, and writing events to deal with each possible state (including those that would move it to surrounding states).

    Or were you talking about something more solid?

  7. #17
    No Products Registered

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

    Re: (Complex?) AI?


  8. #18
    No Products Registered

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

    Re: (Complex?) AI?


  9. #19
    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: (Complex?) AI?

    I know, I had to do a semester's worth of them in third year computer science :P

    I'm just saying that I think saying that it's not possible in MMF is a bit misleading - I think that emulating one would be a relatively simple thing to do (although if you write events like me it'd quickly become a nightmare). Couldn't most objects in MMF be said to be finite state machines anyway?

  10. #20
    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: (Complex?) AI?

    I know, I had to do a semester's worth of them in third year computer science :P

    I'm just saying that I think saying that it's not possible in MMF is a bit misleading - I think that emulating one would be a relatively simple thing to do (although if you write events like me it'd quickly become a nightmare). Couldn't most objects in MMF be said to be finite state machines anyway?

Page 2 of 4 FirstFirst 1 2 3 4 LastLast

Similar Threads

  1. How complex can games be?
    By Snubs0952 in forum The Games Factory 2 - Technical Support
    Replies: 7
    Last Post: 16th May 2012, 06:43 PM
  2. Complex Shader and how to use it
    By ffomega in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 8th December 2010, 06:26 AM
  3. Expression too complex?
    By Tiles in forum Multimedia Fusion 2 - Technical Support
    Replies: 27
    Last Post: 11th January 2008, 04:52 PM
  4. Expression Too Complex
    By Sphax in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 28th July 2006, 01:08 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
  •