User Tag List

Page 5 of 5 FirstFirst ... 3 4 5
Results 41 to 45 of 45

Thread: Enemy AI

  1. #41
    Clicker Multimedia Fusion 2

    Join Date
    Feb 2012
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok awesome that works I can see when he is chasing me but seemingly he will constantly change direction and move up the screen constantly changing direction and doesn't really follow the player. He will just change direction once he chases and then I am no longer in view. I've tried altering the radius but it doesn't seem to change much maybe I am not doing this correctly. I'm not sure if this is because I only have 4 directions of movement? perhaps if I added 8 it would work better?

  2. #42
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The number of animation direction does not matter at all.
    ...
    I think i know what is the problem, i will try to help you find the problem.

    Doubble click 'Advanced Direction Object 360', and set the 'number of directions' to 360
    Doubble click 'Advanced Direction Object 32', and set the 'number of directions' to 32

    ( I am from here and down refering to my lates example "EnemyChaseAndRetreat32.mfa" )
    There are two Advanced Direction Objects used in this example.

    From the event editor there are refferances to Advanced Direction Objects in conditions 5 and 7 ( theese give the enemy intelligence about it its surroundings ), 16 and 20 ( theese rotate the enemy )
    - All actions in conditions 5 and 7 should be reffering to the 'Advanced Direction Object 360'
    - All actions in conditions 16 and 20 should be reffering to the 'Advanced Direction Object 32'
    ...
    Make sure everything in your app is as i have mentioned above, and it should work. If not let med know

    EDIT: Oh, and also make sure the '# of angles ' in the 'bouncing ball movement' for the enemies are set to 32

  3. #43
    Clicker Multimedia Fusion 2

    Join Date
    Feb 2012
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Aha! that seems to be the problem, I forgot to check in your one what the second advanced object was set to. Changed it to 32 and it seems to be working fine. I need to figure out what the radius should be in order for it to work perfectly and I think that is the only issue.

    Thanks a lot you have been so helpful through out this, I am so pleased with how it is turning out. I will try and correct the radius tomorrow and I will let you know how it is

  4. #44
    Clicker Multimedia Fusion 2

    Join Date
    Feb 2012
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Changed the radius to 400 and it seems to be working great just need to have collisions in there and all should be good. Quick question, if I were to implement the same method to another enemy with a different sprite would I need another Advanced Direction object? or could I use the same ones?

  5. #45
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can use the same ones, no problem.

    Well Lucien, Im happy everything worked out and that i could be of help
    Best of luck to you and your project!

Page 5 of 5 FirstFirst ... 3 4 5

Similar Threads

  1. Strange thing: If Enemy Alterable Value A = Enemy Alterable Value B
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 26th March 2012, 05:29 PM
  2. Enemy
    By Taceo in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 26th July 2010, 09:47 AM
  3. Enemy Help Please!
    By Gate001 in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 6th June 2010, 01:54 AM
  4. Enemy HP
    By FlinkGigitty in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 22nd January 2010, 08:09 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
  •